diff --git a/libisoburn.spec b/libisoburn.spec index f4ee5cf..63b6bf0 100644 --- a/libisoburn.spec +++ b/libisoburn.spec @@ -97,11 +97,13 @@ rm -rf $RPM_BUILD_ROOT %postun -p /sbin/ldconfig %post -n xorriso +/sbin/install-info %{_infodir}/xorrecord.info.gz %{_infodir}/dir || : /sbin/install-info %{_infodir}/xorriso.info.gz %{_infodir}/dir || : /sbin/install-info %{_infodir}/xorrisofs.info.gz %{_infodir}/dir || : %preun -n xorriso if [ $1 = 0 ]; then + /sbin/install-info --delete %{_infodir}/xorrecord.info.gz %{_infodir}/dir || : /sbin/install-info --delete %{_infodir}/xorriso.info.gz %{_infodir}/dir || : /sbin/install-info --delete %{_infodir}/xorrisofs.info.gz %{_infodir}/dir || : fi @@ -124,8 +126,10 @@ fi %{_bindir}/xorrecord %{_bindir}/xorriso %{_bindir}/xorrisofs +%{_mandir}/man1/xorrecord.1* %{_mandir}/man1/xorriso.1* %{_mandir}/man1/xorrisofs.1* +%{_infodir}/xorrecord.info* %{_infodir}/xorriso.info* %{_infodir}/xorrisofs.info* %if 0%{?rhel}%{?fedora} > 5