Project

General

Profile

« Previous | Next » 

Revision 4909bc6d

Added by Evgeni Golov almost 5 years ago

use the bindir defined in gemspec, not "bin"

some gems use "exe" and similar oddities

View differences:

gem2rpm/hammer_plugin.spec.erb
mkdir -p %{buildroot}%{_bindir}
cp -pa .%{_bindir}/* \
%{buildroot}%{_bindir}/
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
find %{buildroot}%{gem_instdir}/<%= spec.bindir %> -type f | xargs chmod a+x
<% end -%>
mkdir -p %{buildroot}%{hammer_confdir}/cli.modules.d

Also available in: Unified diff