Fix rpm spec variable substitution

This commit is contained in:
Andrew Nelless 2017-04-26 16:04:03 +01:00
parent 07ab0850c8
commit c4feae3491
1 changed files with 7 additions and 7 deletions

View File

@ -18,13 +18,13 @@ mkdir -p %{buildroot}/%{_datarootdir}/applications
mkdir -p %{buildroot}/%{_datarootdir}/icons mkdir -p %{buildroot}/%{_datarootdir}/icons
mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_bindir}
cp $bindir/synergy %{buildroot}%{_bindir} cp %{bindir}/synergy %{buildroot}%{_bindir}
cp $bindir/synergyc %{buildroot}%{_bindir} cp %{bindir}/synergyc %{buildroot}%{_bindir}
cp $bindir/synergys %{buildroot}%{_bindir} cp %{bindir}/synergys %{buildroot}%{_bindir}
cp $bindir/synergyd %{buildroot}%{_bindir} cp %{bindir}/synergyd %{buildroot}%{_bindir}
cp $bindir/syntool %{buildroot}%{_bindir} cp %{bindir}/syntool %{buildroot}%{_bindir}
cp $sourcedir/res/synergy.desktop %{buildroot}%{_datarootdir}/applications cp %{sourcedir}/res/synergy.desktop %{buildroot}%{_datarootdir}/applications
cp $sourcedir/res/synergy.ico %{buildroot}%{_datarootdir}/icons cp %{sourcedir}/res/synergy.ico %{buildroot}%{_datarootdir}/icons
%files %files
%defattr(755,root,root,-) %defattr(755,root,root,-)