avoid using 'ln -sf'
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/createrepo_c?expand=0&rev=23
This commit is contained in:
parent
dc9a961cb8
commit
6e21111983
@ -183,10 +183,10 @@ make %{?_smp_mflags}
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
for i in createrepo mergerepo modifyrepo sqliterepo;do
|
||||
ln -s -f %{_bindir}/$i\_c %{buildroot}%{_sysconfdir}/alternatives/$i
|
||||
ln -s -f %{_sysconfdir}/alternatives/$i %{buildroot}%{_bindir}/$i
|
||||
ln -s -f %{_mandir}/man8/$i\_c.8.gz %{buildroot}%{_sysconfdir}/alternatives/$i\.8.gz
|
||||
ln -s -f %{_sysconfdir}/alternatives/$i\.8.gz %{buildroot}%{_mandir}/man8/$i\.8.gz
|
||||
ln -s %{_bindir}/$i\_c %{buildroot}%{_sysconfdir}/alternatives/$i
|
||||
ln -s %{_sysconfdir}/alternatives/$i %{buildroot}%{_bindir}/$i
|
||||
ln -s %{_mandir}/man8/$i\_c.8.gz %{buildroot}%{_sysconfdir}/alternatives/$i\.8.gz
|
||||
ln -s %{_sysconfdir}/alternatives/$i\.8.gz %{buildroot}%{_mandir}/man8/$i\.8.gz
|
||||
done
|
||||
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
|
Loading…
Reference in New Issue
Block a user