Commit Graph

2034 Commits

Author SHA1 Message Date
Marc Fournier 8b5466c03e Make deb output filename compliant with debian policy. 2011-03-17 07:49:28 +01:00
Jordan Sissel dd1c2b1eda - Fail if no source and target packages are chosen
- On usage failure, output options help.

  Fixes #issue/8
2011-03-09 12:10:41 -08:00
Jordan Sissel 2b4497d62e - Add notes about my committment to fixing blocker bugs. 2011-03-07 17:39:45 -08:00
Jordan Sissel fe19baad07 - version bump for some centos5/ruby 1.8.6/rpmbuild fixes 2011-03-07 10:10:38 -08:00
root 1a91db513f - Kernel.system() doesn't return exit code, use $? 2011-03-07 13:10:14 -05:00
root 817cba2b45 - make sure all the necessary rpmbuild directories exist
- on failure, emit exit code.
2011-03-07 13:07:02 -05:00
root 586b9c89fb - Don't use .start_with? (not available in ruby 1.8.6 or older)
Reported by Chris Macleod
2011-03-07 12:35:24 -05:00
Jordan Sissel 0ed6ee0f89 - Create the rpm correctly targeted at the output path (usually $PWD as
of fpm invocation)
  The prior behavior would make an rpm similar to this:
  $PWD/name-version.x86_64.rpm/x86_64/the-actual-rpm.rpm
- Version bump
2011-03-01 22:53:33 -08:00
Jordan Sissel 9519976d27 - Use '>>' version compare since '>' is deprecated in newer versions of dpkg 2011-02-22 10:26:25 -08:00
Jordan Sissel 72a0cb13b0 Fix arch 2011-02-16 12:38:21 -08:00
Jordan Sissel ff36423e8c Fix dependency spec 2011-02-16 12:32:36 -08:00
Jordan Sissel 873458e531 - Add jruby build example 2011-02-16 12:26:41 -08:00
Jordan Sissel 6f047154bc - Properly prefix file paths if --prefix is given. 2011-02-14 17:06:34 -08:00
Jordan Sissel f56536e7c7 Merge branch 'master' of https://github.com/jordansissel/fpm 2011-02-10 18:56:00 -08:00
Jordan Sissel a81149135d I'm bad at markdown. 2011-02-10 14:39:12 -08:00
Jordan Sissel ea403f7fad - Update link in readme 2011-02-10 14:38:42 -08:00
Jordan Sissel f603822df4 Add clarification that we can create policy-friendly packages if desired 2011-02-07 23:27:34 -08:00
Jordan Sissel ccbdea4bb2 - Make the 'dir' source accept files sanely. Previously a plain file
input would make a directory but now it does not.
2011-02-07 23:25:28 -08:00
Jordan Sissel 9fafb17c92 fix syntax post-merge 2011-02-07 23:25:12 -08:00
Jordan Sissel 1558279025 Merge branch 'feature/exclude-files'
Conflicts:
	lib/fpm/builder.rb
2011-02-07 23:16:17 -08:00
Jordan Sissel 27fd1350f6 Merge branch 'feature/exclude-files'
Conflicts:
	lib/fpm/builder.rb
2011-02-07 23:13:28 -08:00
Jordan Sissel 11bac308bc Merge branch 'feature/exclude-files'
(also includes jay's -e (edit spec) branch)

Conflicts:
	lib/fpm/builder.rb
2011-02-07 18:40:43 -08:00
Jordan Sissel 76d3be7a97 - fpm --exclude now works decently. Relies on tar(1)'s --exclude flag. 2011-02-07 18:33:15 -08:00
Jordan Sissel bb91dd9949 - Start working on file exclusion 2011-02-07 17:38:18 -08:00
Jordan Sissel 182dfdd349 - Version bump for pull/6 2011-02-07 11:23:34 -08:00
Jordan Sissel aa933f65b3 - If iteration is nil, default to '1' for RPM
- Style cleanup
2011-02-07 10:52:06 -08:00
Jordan Sissel d666e07fa7 Merge branch 'master' of https://github.com/anthezium/fpm into pull/6 2011-02-07 10:43:18 -08:00
Jordan Sissel 6d660c7633 - version bump for pyr's -S patch (pull/7) 2011-02-07 10:31:59 -08:00
Pierre-Yves Ritschard 776941e964 Support for suffixes in gems. This allows building the same gems
for differents rubies (1.8, 1.9.2, ...).
2011-02-07 18:38:21 +01:00
anthezium ab1d71cc4a remove default iteration of 1, allowing it to be nil
updated default_output to properly handle nil iteration
2011-02-04 07:17:27 -08:00
anthezium 04c19be215 make iteration optional 2011-02-04 07:12:30 -08:00
anthezium 743c32c297 don't include hyphen after version if iteration is nil 2011-02-04 07:10:15 -08:00
Jeanine Adkisson 0fd0c0db38 option to edit the specfile before build 2011-02-02 10:05:43 -08:00
Jordan Sissel 28a6aabc38 - update docs
- bump version to match release
2011-02-01 10:01:12 -08:00
Jordan Sissel 36cbe52ecb - Disable AutoReqProv. it makes bad decisions too often. 2011-01-22 12:51:27 -08:00
Jordan Sissel 5ff5c24606 - Version bump 2011-01-22 10:56:33 -08:00
Jordan Sissel 6cce352951 - Add proper 'arch' support for rpm. 2011-01-22 10:56:15 -08:00
Jordan Sissel c0b48e3a19 - Version bump 2011-01-22 00:57:43 -08:00
Jordan Sissel 7e11b8380b - Fix gem tar building to include only the gem install dir
- Abort if rpmbuild fails so we can debug it.
- Fix dependency conversion for rpm
- Fix path prefixing so rpm accepts our list of files (rpm requires
  paths in %files section start with '/'
2011-01-22 00:55:53 -08:00
Jordan Sissel 343d8e08cf Merge branch 'master' of https://github.com/pyro/fpm into pull/3 2011-01-21 22:35:43 -08:00
Jordan Sissel 4948fc05c3 - Start working on npm source 2011-01-21 09:24:03 -08:00
Pierre-Yves Ritschard 922751497f fix fpm for ruby 1.9 2011-01-21 11:45:40 +01:00
Jordan Sissel 864f733c99 - Version bump 2011-01-20 17:40:55 -08:00
Jordan Sissel 49a2d7cdc0 - make it so we can download non-latest packages 2011-01-20 17:40:43 -08:00
Jordan Sissel 8f9f12563d - ignore the wiki 2011-01-20 16:39:59 -08:00
Jordan Sissel fbcc0c1770 - Bumpversion for release 2011-01-20 16:38:34 -08:00
Jordan Sissel edf7d37620 - Convert gem '~>' dependency versions to something deb understands. 2011-01-20 16:38:06 -08:00
Jordan Sissel d9c9d0b510 - Add support for rubygems 1.3.5 2011-01-20 16:35:59 -08:00
Jordan Sissel 18dad90a6d - only add dependencies if given 2011-01-20 15:34:34 -08:00
Jordan Sissel 1f1c5ac639 - Output the resulting package filename 2011-01-20 15:25:26 -08:00