forked from pool/createrepo_c
This commit is contained in:
parent
9c862c511a
commit
dc9a961cb8
@ -184,7 +184,9 @@ make %{?_smp_mflags}
|
|||||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||||
for i in createrepo mergerepo modifyrepo sqliterepo;do
|
for i in createrepo mergerepo modifyrepo sqliterepo;do
|
||||||
ln -s -f %{_bindir}/$i\_c %{buildroot}%{_sysconfdir}/alternatives/$i
|
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 %{_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
|
done
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_prefix}
|
%fdupes %{buildroot}%{_prefix}
|
||||||
@ -216,11 +218,19 @@ fi
|
|||||||
%{_mandir}/man8/mergerepo_c.8*
|
%{_mandir}/man8/mergerepo_c.8*
|
||||||
%{_mandir}/man8/modifyrepo_c.8*
|
%{_mandir}/man8/modifyrepo_c.8*
|
||||||
%{_mandir}/man8/sqliterepo_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/
|
%{_datadir}/bash-completion/completions/
|
||||||
%{_bindir}/createrepo_c
|
%{_bindir}/createrepo_c
|
||||||
%{_bindir}/mergerepo_c
|
%{_bindir}/mergerepo_c
|
||||||
%{_bindir}/modifyrepo_c
|
%{_bindir}/modifyrepo_c
|
||||||
%{_bindir}/sqliterepo_c
|
%{_bindir}/sqliterepo_c
|
||||||
|
%{_bindir}/createrepo
|
||||||
|
%{_bindir}/mergerepo
|
||||||
|
%{_bindir}/modifyrepo
|
||||||
|
%{_bindir}/sqliterepo
|
||||||
%ghost %_sysconfdir/alternatives/createrepo
|
%ghost %_sysconfdir/alternatives/createrepo
|
||||||
%ghost %_sysconfdir/alternatives/mergerepo
|
%ghost %_sysconfdir/alternatives/mergerepo
|
||||||
%ghost %_sysconfdir/alternatives/modifyrepo
|
%ghost %_sysconfdir/alternatives/modifyrepo
|
||||||
|
Loading…
Reference in New Issue
Block a user