From 6e211119831228deb5c45607945797aa55d377864ab86369fbe931930110997e Mon Sep 17 00:00:00 2001 From: Frank Schreiner Date: Wed, 28 Feb 2018 16:03:51 +0000 Subject: [PATCH] avoid using 'ln -sf' OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/createrepo_c?expand=0&rev=23 --- createrepo_c.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/createrepo_c.spec b/createrepo_c.spec index 6c9caec..5b5842e 100644 --- a/createrepo_c.spec +++ b/createrepo_c.spec @@ -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}