Commit Graph

808 Commits

Author SHA1 Message Date
Jordan Sissel 8796a0859a - bump version 2012-10-05 15:20:32 -07:00
Jordan Sissel ebd133a32d - python: only specify --install-{scripts,lib,data} if the
attributes/flags are set in fpm.

  This should fix #273 without breaking prior behavior.
2012-10-05 15:18:18 -07:00
Jordan Sissel 32edfef452 Merge pull request #272 from UnifiedPost/feature/rubygem_include_version
Add the version of the gem to the provides
2012-10-04 10:36:24 -07:00
Jordan Sissel fbb9f4b6d3 Merge pull request #271 from UnifiedPost/feature/keep_tempfiles_after
When running in debug mode, do not remove temp files created
2012-10-04 10:35:21 -07:00
Jan Vansteenkiste c3fcb8132c Add the version of the gem to the provides so we can set dependencies on the gem version in other rpms 2012-10-04 11:34:08 +02:00
Jan Vansteenkiste ef109721b9 When running in debug mode, do not remove temp files created 2012-10-04 11:14:03 +02:00
Jordan Sissel 7842a6c192 Merge pull request #270 from jcopenha/master
Support 'prefix' in deb templates
2012-10-02 16:36:19 -07:00
Jason Copenhaver c3e5a0c907 Support 'prefix' in deb templates 2012-10-01 10:09:42 -03:00
Jordan Sissel 7bf937b16c update changelog/version 2012-09-26 00:38:37 -07:00
Jordan Sissel 0ed0021ecd Merge pull request #266 from jwittkoski/spec_file_percents
Replace % with [%] to make rpm not expand macros in file names
2012-09-26 00:34:33 -07:00
Jordan Sissel b27efde44b fix failling test due to 'epoch' being private 2012-09-25 13:59:29 -07:00
Jordan Sissel 2a27467e39 - prep for release 2012-09-25 13:51:49 -07:00
Jordan Sissel d8f2ac7cb6 - write specs to ensure the default epoch and release are always '1'
This ensures future regressions are caught before fpm releases.

- rpm: if epoch is nil, default to 1. This fixes a regression where fpm
  0.4.3 generated rpms with an epoch of '1' and the fpm 0.4.17 (or
  somewhere in between) started generating rpms with no epoch value.
  This caused version comparisions of '15' and '10' to show '10' as
  newer if you built the version 10 one in older fpms.
2012-09-25 13:48:33 -07:00
John Wittkoski c7bb5052e5 Escape percents in filenames in %install section 2012-09-25 12:19:35 -04:00
John Wittkoski e0472f3945 Replace % with [%] to make rpm not expand macros 2012-09-25 10:43:07 -04:00
Jordan Sissel 85241b6d1c - Add --workdir flag for specifying a place other than the system /tmp
directory to do work. (Idea by Ryan Petrello)
2012-09-12 13:39:06 -07:00
Jordan Sissel 7c6534208e update changelist 2012-09-12 13:08:57 -07:00
Jordan Sissel fca568ff1c version bump 2012-09-12 13:08:16 -07:00
Jordan Sissel 9a9bdf3c33 Remove a pointless warning 2012-09-12 13:07:00 -07:00
Jordan Sissel 37fc96637c - bump version to 0.4.16
- note fix for ruby 1.8.7
2012-09-06 21:13:29 -07:00
Jordan Sissel 7c8fbee0fb Fix compatibility with ruby 1.8 2012-09-06 21:00:20 -07:00
Jordan Sissel 101347629e Fix changelog for 0.4.15 2012-09-06 20:03:20 -07:00
Jordan Sissel d6199594d5 - bump version with completed changelist. 2012-09-06 20:00:29 -07:00
Jordan Sissel 96c134435c Update changelist 2012-09-06 19:57:22 -07:00
Jordan Sissel b088335049 Reject dependencies with commas (#253) and offer alternatives 2012-09-06 19:56:33 -07:00
Jordan Sissel dc3c7e815a Fix typo 2012-09-06 19:51:11 -07:00
Jordan Sissel b85f30f54b update changelist for release 2012-09-06 19:47:24 -07:00
Jordan Sissel e4ff0e0599 improve flag doc 2012-09-06 19:44:20 -07:00
Jordan Sissel f923360114 - Add --template-value flag for passing arbitrary things into your
template scripts.

  Test:
    % rm *deb
    % ruby bin/fpm -s dir -t deb -n fizzle --template-value foo=bar --after-install =(echo '<%= foo %>') /etc/motd
    Created deb package {"path":"fizzle_1.0_amd64.deb"}
    % ar p fizzle_1.0_amd64.deb control.tar.gz | tar -zx ./postinst
    % cat postinst
    bar
    % rm postinst
2012-09-06 19:36:57 -07:00
Jordan Sissel cc01ef15f1 - fix bad test 2012-09-06 19:26:58 -07:00
Jordan Sissel 5e67ec8531 Skip rpm regression tests since they require rpmbuild 2012-09-06 19:20:28 -07:00
Jordan Sissel 0ea8c73b18 Merge pull request #255 from zllak/feature/python/install_data
python: customize the --install-data option for setup.py
2012-09-06 19:11:35 -07:00
Jordan Sissel 649b47cbf3 Merge pull request #253 from JacekLach/rescue-eperm-while-linking
EPERM on hardlinking files is not rescued when packaging a dir
2012-09-06 19:07:45 -07:00
Jordan Sissel 700db07aaf Remove lie about recursing in directories (#171) 2012-09-06 13:20:07 -07:00
Jordan Sissel 5ddfdd7ec2 - add user/group ownership settings for deb packages 2012-09-05 23:12:31 -07:00
Thomas Meson ad7f395842 python: customize the --install-data option for setup.py
Give the possibility to specify from command line where to install the
data. Data were installed in the 'lib' directory, which is still the
default setting if not explicitely changed, for backward compatibility.
A more "normal" data directory would be /usr or /usr/share, also
depending on the target OS.
2012-08-30 16:36:06 +02:00
Jacek Lach cdee7ae02b Try copying file when linking fails with EPERM
Thus files that are owned by different users but can be copied will not
break packaging.
2012-08-29 12:46:33 +01:00
Jordan Sissel f3bf4afa96 Force default package to_s when name given is nil (#241) 2012-08-25 11:23:05 -07:00
Jordan Sissel a2a9ae9631 Add note about --deb-priority 2012-08-25 01:22:48 -07:00
Jordan Sissel 910b676373 Add spec coverage for deb priority 2012-08-25 01:22:37 -07:00
Jordan Sissel 6617425576 - Add --deb-priority (#232) 2012-08-25 04:10:51 -04:00
Jordan Sissel f1894c4cfc update changelist 2012-08-25 03:59:17 -04:00
Jordan Sissel 3831a4bd9f Fix up the specs and output checks 2012-08-25 03:59:03 -04:00
Jordan Sissel e1f29462fe - Abort and notify the user if the package is to be written to a
location (parent directory) that does not exist. (#244)
2012-08-25 00:18:11 -07:00
Jordan Sissel 872183b4b7 update changelist 2012-08-25 00:05:07 -07:00
Jordan Sissel f9ed3dd83f - Make custom channels work with pear (#207)
- add --pear-channel-update flag to force 'pear channel-update' prior to
  installation.
2012-08-24 23:56:29 -07:00
Jordan Sissel 3d10f65d7f improve error messages 2012-08-24 23:56:14 -07:00
Jordan Sissel 0d3321717a - Got closer to channel support working. When I do it manually, it
works, but through fpm it does not. Probably something silly.
  (progress on #207)
2012-08-24 20:17:50 -04:00
Jordan Sissel e869313a9a Start hacking on pear channel support (#207) 2012-08-24 16:58:23 -07:00
Jordan Sissel abbeecc085 regen gemfile.lock 2012-08-24 15:56:22 -07:00