Skip to content

Instantly share code, notes, and snippets.

@snajpa
Created October 22, 2013 03:25
Show Gist options
  • Save snajpa/7094740 to your computer and use it in GitHub Desktop.
Save snajpa/7094740 to your computer and use it in GitHub Desktop.
[root@build-pkg.bts.relbit.com]
/tmp # cd /tmp && fpm --no-auto-depends --no-depends -s gem -t rpm -v 3.2.14 --iteration 1 -n rubygem-rails-3.2.14 -p rubygem-rails-3.2.14.x86_64.rpm rails
no value for epoch is set, defaulting to nil {:level=>:warn}
no value for epoch is set, defaulting to nil {:level=>:warn}
Created rpm {:path=>"rubygem-rails-3.2.14.x86_64.rpm"}
[root@build-pkg.bts.relbit.com]
/tmp # rpm -qpl rubygem-rails-3.2.14.x86_64.rpm
/usr/bin
/usr/lib/ruby/gems/1.8/cache/rails-3.2.14.gem
/usr/lib/ruby/gems/1.8/doc
/usr/lib/ruby/gems/1.8/gems/rails-3.2.14
/usr/lib/ruby/gems/1.8/specifications/rails-3.2.14.gemspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment