There are still 4 test failures:
* rspec ./spec/fpm/package/rpm_spec.rb:297 # FPM::Package::RPM#output package attributes should have the correct 'after_target_uninstall' trigger script
* rspec ./spec/fpm/package/rpm_spec.rb:288 # FPM::Package::RPM#output package attributes should have the correct 'before_uninstall' trigger script
* rspec ./spec/fpm/package/rpm_spec.rb:279 # FPM::Package::RPM#output package attributes should have the correct 'after_install' trigger script
* rspec ./spec/fpm/package/rpm_spec.rb:270 # FPM::Package::RPM#output package attributes should have the correct 'before_install' trigger script
lintian in Ubuntu 14.04 now errors when a file
/usr/share/NAME/changelog.Debian.gz doesn't exist.
In the spirit of respecting lintian's meaningful errors, this commit
fixes that error.
The new behavior is that a changelog file is *always* provided. If the
--deb-changelog flag is not given, then fpm will produce a default one
based on the package being built in hope that it satisfies lintian.
With this commit, the lintian rspec test passes on Ubuntu 14.04.
Fixes#784
Added test coverage to ensure a broken symlink doesn't throw a ENOENT
error. The test was written first, and failed, but now passes with the
fix to the dir package.
Fixes#658
Supported log levels: error, warn, info, debug.
--verbose is the same as --log=info
--debug is the same as --log=debug
--log=warn is the default
Requested by mattgreenrocks on irc.
Allow removal of Vendor field for deb
This can be done in the CLI by setting --vendor to an empty string. For example `--vendor ""`
The default behavior "Vendor: none" still remains.
This PR includes two significant changes:
* If this version of the code is already in current:
* If not forced, do not install the code
* If forced, rename the old directory and write out a new one
* Ignore functions in environment when saving .install-metadata, due to an issue with FPM 1.25.29-31 and Bash 4.3.27
If path is a symbolic link and target doesn't exist, we may incorrectly through
file not found exception. This changes fixes the issue by using File.lstat to
stat the path.
For example, if cpan_perl_lib_path is set to "/usr/share/perl5", all
packages created with fpm will contain this file:
/usr/share/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod
The current code only works if cpan_perl_lib_path is undefined.
Also see #443 and #510.
```
--no-depends Do not list any dependencies in this package (default: false)
--no-auto-depends Do not list any dependencies in thispackage automatically (default: false)
```