diff --git a/createrepo_c.spec b/createrepo_c.spec index 700af96..6c9caec 100644 --- a/createrepo_c.spec +++ b/createrepo_c.spec @@ -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