SHA256
1
0
forked from pool/createrepo_c
Frank Schreiner 2018-02-28 15:46:43 +00:00 committed by Git OBS Bridge
parent 9c862c511a
commit dc9a961cb8

View File

@ -184,7 +184,9 @@ 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
done
%fdupes %{buildroot}%{_prefix}
@ -216,11 +218,19 @@ fi
%{_mandir}/man8/mergerepo_c.8*
%{_mandir}/man8/modifyrepo_c.8*
%{_mandir}/man8/sqliterepo_c.8*
%{_mandir}/man8/createrepo.8*
%{_mandir}/man8/mergerepo.8*
%{_mandir}/man8/modifyrepo.8*
%{_mandir}/man8/sqliterepo.8*
%{_datadir}/bash-completion/completions/
%{_bindir}/createrepo_c
%{_bindir}/mergerepo_c
%{_bindir}/modifyrepo_c
%{_bindir}/sqliterepo_c
%{_bindir}/createrepo
%{_bindir}/mergerepo
%{_bindir}/modifyrepo
%{_bindir}/sqliterepo
%ghost %_sysconfdir/alternatives/createrepo
%ghost %_sysconfdir/alternatives/mergerepo
%ghost %_sysconfdir/alternatives/modifyrepo