Browse Source

updated spec file for RPM build

pull/1/head
Vaidas Jablonskis 12 years ago
parent
commit
eeef3166f3
  1. 7
      entrydns.spec

7
entrydns.spec

@ -42,6 +42,13 @@ bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile
rm -rf .bundle rm -rf .bundle
bundle install --path vendor/ --without development test bundle install --path vendor/ --without development test
# fix wrong sheebang for unicorn
%if 0%{?fedora} >= 17
find vendor/ruby/*/gems -type f -wholename '*/bin/unicorn*' | xargs \
grep -rl '/this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby' | \
xargs sed -i -e 's|/this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby|/usr/bin/env ruby|'
%endif
%install %install
# clean not required files and directories # clean not required files and directories

Loading…
Cancel
Save