Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
512 lines (458 sloc) 25.3 KB
1.1.0 (April 23, 2014)
- New package type: zip, for converting to and from zip files (Jordan Sissel)
- New package type: sh, a self-extracting package installation shell archive. (#651, Chris Gerber)
- 'fpm --version' will now emit the version of fpm.
- rpm: supports packaging fifo files (Adam Stephens)
- deb: Add --deb-use-file-permissions (Adam Stephens)
- cpan: Improve how fpm tries to find cpan artifacts for download (#614, Tim Nicholas)
- gem: Add --gem-disable-dependency for removing one or more specific rubygem
dependencies from the automatically-generated list (#598, Derek Olsen)
- python: Add --python-scripts-executable for setting a custom interpreter to
use for the hashbang line at the top of may python package scripts.
(#628, Vladimir Rutsky)
- Allow absolute paths with --directories even when --prefix is used (Vladimir Rutsky)
- dir: Now correctly identifies hardlinked files and creates a package correctly
with that knowledge (#365, #623, #659; Vladimir Rutsky)
- rpm: Add --rpm-auto-add-exclude-directories for excluding directories
from the --rpm-auto-add-directories behavior (#640, Vladimir Rutsky)
- general: --config-files now accepts directories and will recursively mark any
files within as config files inside the package (#642, Vladimir Rutsky)
- general: If you specify a --config-files path that doesn't exist, you will
now get an error. (#654, Alan Franzoni)
- python: Support --python-pypi when using --python-pip (#652, David Lindquist)
- deb: Tests now try to make packages ensure we don't upset lintian (#648, Sam Crang)
- rpm: Fix architecture targeting (#676, Rob Kinyon)
- rpm: Allow --rpm-user and --rpm-group to override the user/group even if
--rpm-use-file-permissions is enabled. (#679, Jordan Sissel)
- gem: Add --gem-version-bins for appending the gem version to the file name
of executable scripts a rubygem may install. (Jan Vansteenkiste)
- python: Attempt to provide better error messages for known issues in python
environments (#664, Jordan Sissel)
1.0.2 (January 10, 2013)
- rpm: No longer converts - to _ in dependency strings (#603, Bulat
- Handle Darwin/OSX tar invocations (now tries 'gnutar' and 'gtar'). (Jordan
- Process $HOME/.fpm, and $PWD/.fpm in the correct order and allow CLI flags
to override fpm config file settings. (#615, Jordan Sissel)
- Don't leave empty gem bin paths in packages that don't need them (#612,
Jordan Sissel)
- deb: Make --deb-compression=gz work correctly (#616, #617; Evan Krall,
Jason Yan)
1.0.1 (December 7, 2013)
- deb: Correctly handle --config-files given with a leading / (Jordan Sissel)
1.0.0 (December 5, 2013)
- Config file of flags is now supported. Searches for $HOME/.fpm and
$PWD/.fpm. If both exist, $HOME is loaded first so $PWD can override.
(Pranay Kanwar)
- pkgin: Basic support for SmartOS/pkgsrc's pkgin format. (#567, Brian Akins)
- cpan: catch more cases of perllocal.pod and delete them
(#510, Jordan Sissel)
- cpan: Correctly support module version selection (#518, Matt Sharpe)
- cpan: include builddeps in PERL5LIB when running cpan tests
(#500, Matt Sharpe)
- cpan: Avoid old system perl modules when doing module builds
(#442, #513; Matt Sharpe)
- python: safer gathering of python module dependencies.
- python: better handling of unicode strings in python package metadata
(#575, Bruno Renié)
- cpan: Support 'http_proxy' env var. (#491, Patrick Cable)
- deb: --deb-user and --deb-group both default to 'root' now
(#504, Pranay Kanwar)
- deb: convert '>' to '>>' in deb version constraints
(#503, #439, Pranay Kanwar)
- deb: Warn if epoch is set. Just so you know what's going on, since
the default filename doesn't include the epoch. (#502, Pranay Kanwar)
- deb,rpm: --config-files is now recursive if you give it a directory.
This seems to be the most expected behavior by users.
(#171, #506; Pranay Kanwar)
- dir: Respect -C when using path mapping (#498, #507; Pranay Kanwar)
- rpm: Add --rpm-ignore-iteration-in-dependencies to let you to depend
on any release (aka iteration) of the same version of a package.
(#364, #508; Pranay Kanwar)
- dir: Handle copying of special files when possible
(#347, #511, #539, #561; Pranay Kanwar)
- rpm: Don't mistake symlinks as actual directories (#521, Nathan Huff)
- npm: Choose an alternate npm registry with --npm-registry (#445, #524;
Matt Sharpe)
- cpan: Choose an alternate cpan server with --cpan-mirror. Additionally, you
can use --cpan-mirror-only to only use this mirror for metadata queries.
(#524, Matt Sharpe)
- deb: Fix broken --deb-changelog flag (#543, #544; Tray Torrance)
- deb: When --deb-upstart is given, automatically create an upstart-sysv
symlink /etc/init.d/<name> to /lib/init/upstart-job (#545, Igor Galić)
- rpm: Fix bug when generating spec file listings on files with strange
characters in the names. (#547, Chris Chandler)
- dir: Fix bug where the new directory mapping feature would cause you not
to be able to select files with '=' in the name for packaging.
(#556, #554; Pranay Kanwar)
- python: Fix some unicode string issues in package metadata
(#575, Bruno Renié)
- gem-rpm: Now respects the --gem-package-name-prefix when generating the
'rubygem(name)' provides statement (#585, Stepan Stipl)
- deb: Downcase and replace underscores with dashes in 'provides' list.
(#591, Eric Connell)
- deb: Fix a lintian complaint about md5sums permissions (#593, Sam Crang)
- cpan: Modules with 'MYMETA' files are now supported (#573, Michael Donlon)
0.4.42 (July 23, 2013)
- dir: make source=destination mappings behave the same way 'rsync -a' does
with respect to source and destination paths.
0.4.41 (July 17, 2013)
- cpan: handle cases where modules don't specify a license
- deb: support multiple init scripts (#487, patch by Kristian Glass)
0.4.40 (July 12, 2013)
- dir: supports mapping one path to another.
You set mappings by using 'source=destination' syntax. For example:
% fpm -s dir -t deb -n example /home/jls/.zshrc=/etc/skel/
The key above is the '=' symbol. The result of the above will be a package
containing only /etc/skel/.zshrc
For more, see
- python: the default scripts location is now chosen by python itself. The
previous default was "/usr/bin" and was not a good default. (#480)
- rpm: config files should have attributes (#484, patch by adamcstephens)
- python: correctly log the python exit code (#481, patch by Derek
0.4.39 (June 27, 2013)
- cpan: support more complex dependency specifications (reported by Mabi
0.4.38 (June 24, 2013)
- cpan: fpm's cpan code now works under ruby 1.8.7
- python: fix a bug in dependency handling (#461, Pranay Kanwar)
- pear: Added --pear-data-dir flag (#465, Zsolt Takács)
- cpan: fix a bug with some clean up on certain 64bit systems
- gem: improve detection of the gem bin install path (#476, Tray Torrance)
- rpm: fix bug when calling using --rpm-use-file-permissions
(#464, Rich Horwood)
0.4.37 (May 30, 2013)
- deb: fix creation failures on OS X (#450, patch by Anthony Scalisi and
Matthew M. Boedicker)
- deb: you can now set --deb-build-depends. This is generally for extremely
rare use cases. (#451, patch by torrancew)
- perl: add --cpan-perl-lib-path for a custom perl library installation path
(#447, patch by Brett Gailey)
0.4.36 (May 15, 2013)
- pear: only do channel-discover if necessary (#438, patch by Hatt)
- cpan: now supports cpan modules that use Module::Build
- cpan: --no-cpan-test now skips tests for build/configure dependencies
- rpm: Add --rpm-defattrfile and --rpm-defattrdir flags (#428, patch
by phrawzty)
0.4.35 -- was not announced
0.4.34 (May 7, 2013)
- Now supports CPAN - Perl mongers rejoice! For example:
'fpm -s cpan -t deb DBI'
- deb: fixed some additional complaints by lintian (#420, patch by Pranay
- rpm: add flags --rpm-autoreqprov, --rpm-autoreq, and --rpm-autoprov
to tell rpm to enable that feature in the rpm spec. (#416, patch by Adam
0.4.33 (April 9, 2013)
- Now supports npm, the node package manager. For example:
'fpm -s npm -t deb express'
0.4.32 (April 9, 2013)
- COMPATIBILITY WARNING: rpm: The default epoch is now nothing because this
aligns more closely with typical rpm packages in the real world. This
decision was reached in #381. If you need the previous behavior, you
must now specify '--epoch 1' (#388, patch by Pranay Kanwar)
- python: new flag --python-obey-requirements-txt which makes a
requirements.txt file from the python package used for the package
dependencies instead of the usual dependencies. The default
behavior without this flag is to respect (#384)
- deb: new flag --deb-shlibs to specify the content of the 'shlibs' file
in the debian package (#405, patch by Aman Gupta)
- deb: fixed a few lintian errors (empty conffiles, md5sums on symlinks, etc)
- Add '-f' / '--force' flag to force overwriting an existing package output
path (#385, Timothy Sutton)
- New flag: --no-auto-depends flag to skip any automatic dependencies
that would normally be added by gem, python, deb, and rpms input packages.
(#386, #374; patch by Pranay Kanwar)
- gem: Use 'gem' command to download gems and read gem package information.
(#389, #394, #378, #233; patches by Pranay Kanwar and Chris Roberts)
- rpm: dashes are now replaced with underscores in rpm version strings
(#395, #393, #399; patches by Jeff Terrace and Richard Guest)
- python: Only use the first line of a license; some python packages (like
'requests') embed their full license copy into the license field. For
the sake of sanity and function with most packaging systems, fpm only
uses the first line of that license.
- rpm: Add new 'none' option to --rpm-compression to disable compression
entirely. (#398, patch by Richard Guest)
- deb: Make dependencies using the '!=' operator represented as "Breaks"
in the deb package (previously used "Conflicts"). (#400)
- deb: Add md5sums to the debian packages which improves correctness
of the package. (#403, #401; patch by Pranay Kanwar)
- rpm: Convert all '!=' dependency operators to 'Conflicts'. Previously,
this only applied to packages converting from python to rpm.
(#404, #396; patch by Pranay Kanwar)
0.4.31 (March 21, 2013)
- rpm: new flag --rpm-use-file-permissions which try to create an rpm
that has file ownership/modes that exactly mirror how they are on
the filesystem at package time. (#377, patch by Paul Rhodes)
- general: remove empty directories only when they match the exclude
pattern (#323, patch by Pranay Kanwar)
0.4.30 (March 21, 2013)
- Solaris: --solaris-user and --solaris-group flags to specify
the owner of files in a package. (#342, patch by Derek Olsen)
- rpm: (bug fix) epoch of 0 is permitted now (#343, patch by Ben Hughes)
- pear: add flags --pear-bin-dir --pear-php-bin --pear-php-dir (#358, patch
by Zsolt Takács)
- New 'source' type: empty. Allows you to create packages without any files
in them (sometimes called 'meta packages'). Useful when you want to have
one package be simply dependencies or when you want to spoof a package
you don't want installed, etc. (#359, 349; patch by Pranay Kanwar)
- solaris: Add --solaris-user and --solaris-group flags (#342, Patch by Derek
- gem: new flag --env-shebang; default true (disable with --no-env-shebang).
Lets you disable #! (shebang) mangling done by gem installation. (#363,
patch by Grier Johnson)
- deb: fix bug on changelog handling (#376, patch by mbakke)
- rpm: fix --rpm-rpmbuild-define (#383, patch by Eric Merritt)
0.4.29 (January 22, 2013)
- Copy links literally, not what they point at (#337, patch by Dane Knecht)
0.4.28 (January 21, 2013)
- Fix a dependency on the 'cabin' gem. (#344, reported by Jay Buffington)
0.4.27 (January 16, 2013)
- Make all fpm output go through the logger (#329; patch by jaybuff)
- New package type: osxpkg, for building packages installable on OS X. (#332,
patch by Timothy Sutton)
- Fix crash bug when converting rpms to something else (#316, #325; patch by
- deb: Add --deb-field for setting a custom field in the control file.
For more information on this setting, see section 5.7 "User-defined fields"
of the debian policy manual:
- deb: Add --deb-recommends and --deb-suggests (#285, #310; patch by Pranay
- python to rpm: convert "!=" dependency operators in python to "Conflicts"
in rpm. (#263, #312; patch by Pranay Kanwar)
- python: fix bug - ignore blank lines in requirements.txt (#312, patch by
Pranay Kanwar)
0.4.26 (December 27, 2012)
- rpm: add --rpm-sign flag to sign packages using the 'rpmbuild --sign' flag.
(#311, Patch by Pranay Kanwar)
- rpm: fix flag ordering when calling rpmbuild (#309, #315, patch by Trotter
- deb: re-enable "Predepends" support (#319, #320, patch by Pranay Kanwar)
- rpm: fix default 'rpm os' value (#321, 314, 309)
0.4.25 (December 7, 2012)
- Added --deb-changelog and --rpm-changelog support flags. Both take a path to
a changelog file. Both must be valid changelog formats for their respective
package types. (#300, patch by Pranay Kanwar)
- deb: Multiple "provides" are now supported. (#301, patch by Pranay Kanwar)
- rpm: Added --rpm-os flag to set the OS target for the rpm. This lets you build
rpms for linux on OS X and other platforms (with --rpm-os linux). (#309)
- rpm: Avoid platform-dependent commands in the %install phase (#309, fixes
'cp -d' on OSX)
- python: ignore comments in requirements.txt (#304, patch by Pranay Kanwar)
- Fixed warning 'already initialized constant' (#274)
0.4.24 (November 30, 2012)
- Don't include an empty url in rpm spec (#296, #276; patch by Pranay Kanwar)
- Don't require extra parameters if you use --inputs (#278, #297; Patch by
Pranay Kanwar)
- python: supports requirements.txt now for dependency information.
- python: supports pip now. Use '--python-pip path/to/pip' to have fpm use
it instead of easy_install.
- solaris: package building works again (#216, #299, patch by Pierre-Yves
0.4.23 (November 26, 2012)
- The --directories flag is now recursive when the output package is rpm.
This makes all directories under a given path as owned by the package
so they'll be removed when the package is uninstalled (#245, #293, #294,
patch by Justin Ellison)
- Add fpm version info to '--help' output (#281)
- gem to rpm: Use 'rubygem(gemname)' for dependencies (#284, patch by
Jan Vansteenkiste)
- Fix a bug in gem version mangling (#292, #291; patch by Pranay Kanwar)
- Fix compatibility with Python 2.5 (#279, patch by Denis Bilenko)
0.4.22 (November 15, 2012)
- Add --no-depends flag for creating packages with no dependencies listed
(#289, patch by Brett Gailey)
- Fix a bug where blank lines were present in a debian control file.
(#288, patch by Andrew Bunday)
0.4.21 (November 8, 2012)
- gem: remove restriction on expected gem names (#287)
- add --directory flag; lets you mark a directory as being owned by a
package. (#260, #245, patch by ajf8)
- deb: don't include a version in the Provides field (#280)
- gem: if the version is '1.1' make it imply '1.1.0' (#269, patch by
Radim Marek)
0.4.20 (October 5, 2012)
- python: only specify --install-{scripts,lib,data} flags to if
they were given on the command line to fpm. Fixes #273.
0.4.19 (September 26, 2012)
- Escape '%' characters in file names (#266, #222. Patch by John Wittkoski)
0.4.18 (September 25, 2012)
- Fix regression in rpm building where the epoch in was missing in the rpm,
but prior fpm versions defaulted it to 1. This caused rpms built with newer
fpms to appear "older" than older rpms. Tests added to ensure this regression
is caught prior to future releases! (Reported by eliklein)
0.4.17 (September 12, 2012)
- Remove accidental JSON warning when using '-s python'
0.4.16 (September 6, 2012)
- Fix compatibility with Ruby 1.8.7 (broken in 0.4.15)
0.4.15 (September 6, 2012)
- pear: support custom channels with --pear-channel <channel> (#207)
Example: fpm -s pear -t deb --pear-channel drush
- permit literal '\n' in --description, fpm will replace with a newline
character. Example: fpm --description "line one\nline two" (#251)
- improve error messaging when trying to output a package to a directory that
doesn't exist (#244)
- deb: convert '>' and '<' dependency operators to the correct '>>' and '<<'
debian version operators (#250, patch by Thomas Meson).
- deb: add --deb-priority flag (#232) for setting the debian 'priority'
value for your package.
- add --template-value. Used to expose arbitrary values to script templates.
If you do --template-value hello=world, in your template you can do
<%= hello %> to get 'world' to show up in your maintainer scripts.
- python: add --python-install-data flag to set the --install-data option to (#255, patch by Thomas Meson)
- Reject bad dependency flags (ones containing commas) and offer alternative.
- Try to copy a file if hardlinking fails with permission problems (#253,
patch by Jacek Lach)
- Make --exclude, if a directory, include itself and any children, recursive.
0.4.14 (August 24, 2012)
- rpm: Replace newlines with space in any license setting. (#252)
0.4.13 (August 14, 2012)
- Make --exclude accept path prefixes as well. If you have a files in
'usr/share/man' in your package, you can now exclude all of a subdir
by doing '--exclude usr/share/man'
0.4.12 (August 10, 2012)
- Fix a major bug introduced in 0.4.11 that caused all deb packages to
contain empty maintainer scripts if not otherwise specified, which made
apt/dpkg quite unhappy
0.4.11 (August 7, 2012)
- Fix some symlink handling to prevent links from being followed during
cleanup (#228, patch by sbuss)
- rpm: 'vendor' in rpm spec is now omitted if empty or nil. This fixes a bug
where rpmbuild fails due to empty 'Vendor' tag if you convert rpm to rpm.
- internal: remove empty directories marked by --exclude (#205, patch by
- dir: don't try to set utime on symlinks (#234, #240, patch by ctgswallow)
- rpm: relocatable rpms now supported when using the '--prefix' flag.
Example: fpm -s dir -t rpm --prefix /usr/local -n example /etc/motd
(patch by jkoppe)
- deb: --deb-compression flag: Support different compression methods.
Default continues to be gzip.
- new flag: --template-scripts. This lets you write script templates for
--after-install, etc. Templates are ERB, so you can do things like
'<%= name %>' to get the package name in the script, etc.
- warn on command invocations that appear to have stray flags to try and
help users who have complex command lines that are failling.
0.4.10 (May 25, 2012)
- Fix python package support for python3 (#212, patch by Slezhuk Evgeniy)
- Preserve file metadata (time, owner, etc) when copying with the dir
package. (#217, patch by Marshall T. Vandegrift)
- Missing executables will now error more readably in fpm.
- Fix gem and python 'version' selection (#215, #204)
- Dependencies using '!=' will now map to 'Conflicts' in deb packages. (#221,
patch by Sven Fischer)
- Allow setting default user/group for files in rpm packages (#208, patch by
Jason Rogers). Note: This adds --user and --group flags to effect this.
These flags may go away in the future, but if they do, they will be
- In python packages set 'install-data' correctly. (#223, patch by Jamie
0.4.9 (April 25, 2012)
- Fix --prefix support when building gems (#213, patch by Jan Vansteenkiste)
0.4.8 (April 25, 2012)
- RPM: use 'noreplace' option for config files (#194, patch by Steve Lum)
- Python: Fix bug around exact dependency versions (#206, patch by Lars van
de Kerkhof)
- Gem->RPM: Make 'provides' "rubygem(thegemname)" instead of "rubygem-thegemname"
- Fix oddity where Ruby would complain about constant redefinition (#198,
patch by Marcus Vinicius Ferreira)
0.4.7 skipped.
0.4.6 (April 10, 2012)
- Work around more problems in RPM with respect to file listing (#202)
0.4.5 (April 3, 2012)
- Fix gem->rpm conversion where the '~>' rubygem version operator (#193,
patch by antoncohen)
- Escape filenames RPM install process (permits files with spaces, dollar signs, etc)
(#196, reported by pspiertz)
0.4.4 (March 30, 2012)
- Fix a bug in gem bin_dir handling (Calen Pennington)
- The --config-files flag should work again (Brian Akins)
- Fix syntax error when using --deb-pre-depends (Andrew Bennett)
- Make --exclude work again (#185, #186) (Calen Pennington)
- Fix file listing so that rpm packages don't declare ownership on / and
/usr, etc.
- make --deb-custom-control to work again (Tor Arne Vestbø)
- Add --rpm-digest flag to allow selection of the rpm 'file name' digest
algorithm. Default is 'md5' since it works on the most rpm systems.
- Reimplement old behavior assuming "." as the input when using '-s dir' and
also setting -C (#187)
- Set BuildRoot on rpm to work around an rpmbuild bug(?) on CentOS 5 (#191)
- Add --rpm-compression flag to allow selection of the rpm payload
compression. Default is 'gzip' since it works on the most rpm systems
- Specs now pass on ubuntu/32bit systems (found by's test runner)
- Improve default values of iteration and epoch (#190)
- Make FPM::Package#files list only 'leaf' nodes (files, empty directories,
symlinks, etc).
0.4.3 (March 21, 2012)
- Fix bug in python packaging when invoked with a relative path to a
(Reported by Thomas Meson,
0.4.2 (March 21, 2012)
- Set default temporary directory to /tmp
- Improve symlink handling (patch by Aleix Conchillo Flaqué, pull/177))
- Python package support changes (thanks to input by Luke Macken):
* New flag: --python-install-bin. Sets the location for python package
scripts (default: /usr/bin)
* New flag: --python-install-lib. Sets the location for the python
package to install libs to, default varies by system. Usually something
like /usr/lib/python2.7/site-packages.
* Fix up --prefix support
* Improve staged package installation
0.4.1 (March 19, 2012)
- Fix fpm so it works in ruby 1.8 again.
Tests run, and passing:
rvm 1.8.7,1.9.2,1.9.3 do bundle exec rspec
0.4.0 (March 18, 2012)
- Complete rewrite of pretty much everything.
* Otherwise, the 'fpm' command functionality should be the same
* Please let me know if something broke!
- Now has an API (see examples/api directory)
- Also has a proper test suite
- Updated the rpm spec generator to disable all the ways I've found rpmbuild
to molest packages. This means that fpm-generated rpms will no longer
strip libraries, move files around, randomly mutate jar files, etc.
- Add --license and --vendor settings (via Pieter Loubser)
- python support: try to name python packages sanely. Some pypi packages
are literally called 'python-foo' so make sure we generate packages named
'python-foo' and not 'python-python-foo' (via Thomas Meson)
- rpm support: Add --rpm-rpmbuild-define for passing a --define flag to rpmbuild
(via Naresh V)
- PHP pear source support (fpm -s pear ...) (via Andrew Gaffney)
0.3.10 (Oct 10, 2011)
- Allow taking a list of files/inputs on stdin with '-' or with the --inputs
flag. (Matt Patterson)
- (python) pass -U to easy_install (Khalid Goudeaux)
- (debian) quote paths in md5sum calls (Matt Patterson)
- (debian) quiet stderr from dpkg --print-architecture
0.3.9 (Sep 8, 2011)
- Fix bug in 'dir' source that breaks full paths
- Added a bunch of tests (yaay)
0.3.8 and earlier: I have not kept this file up to date very well... Sorry :(
0.2.29 (May 20, 2011)
- Add 'tar' source support. Useful for binary releases to repackage as rpms
and debs. Example:
fpm -s tar -t rpm -n firefox -v 4.0.1 \
--prefix /opt/firefox/4.0.1 firefox-4.0.1.tar.bz2
0.2.28 (May 18, 2011)
- Use --replaces as "Obsoletes" in rpms.
0.2.27 (May 18, 2011)
- If present, DEBEMAIL and DEBFULLNAME environment variables will be used as
the default maintainer. Previously the default was simply <$user@$hostname>
- Add '--replaces' flag for specifying packages replaced by the one you are
building. This only functions in .deb packages now until I find a suitable
synonym in RPM.
- Add --python-bin and --python-easyinstall flags. This lets you choose specific
python and easy_install tools to use when building. Default is simply
'python' and 'easy_install' respectively.
- Add support for ~/.fpmrc - The format of this file is the same as the flags.
One flag per line.
0.2.26 and earlier
No changelist tracked. My bad, yo.
Jump to Line
Something went wrong with that request. Please try again.