use %name for rename

This commit is contained in:
Jens Petersen 2017-01-06 17:21:05 +09:00
parent 2b23258874
commit 7c7b7a4538

View File

@ -92,7 +92,7 @@ cd ..
mv %{buildroot}%{_bindir}/%{name}{,.dynamic}
install dist/build/%{name}/%{name}.static %{buildroot}%{_bindir}
touch %{buildroot}%{_bindir}/%{name}
mv %{buildroot}%{_defaultlicensedir}/happy{,-common}
mv %{buildroot}%{_defaultlicensedir}/%{name}{,-common}
%endif