Revision 4909bc6d
Added by Evgeni Golov almost 5 years ago
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
use the bindir defined in gemspec, not "bin"
some gems use "exe" and similar oddities