diff --git a/libisoburn.spec b/libisoburn.spec index 0ec892a..03ff071 100644 --- a/libisoburn.spec +++ b/libisoburn.spec @@ -59,8 +59,8 @@ Requires: kde-filesystem >= 4 %if 0%{?rhel} >= 7 || 0%{?fedora} Requires: kf5-filesystem >= 5 %endif -Requires(post): /sbin/install-info, %{_sbindir}/alternatives, coreutils -Requires(preun): /sbin/install-info, %{_sbindir}/alternatives +Requires(post): %{_sbindir}/alternatives, coreutils +Requires(preun): %{_sbindir}/alternatives %description -n xorriso Xorriso is a program which copies file objects from POSIX compliant @@ -126,10 +126,6 @@ cd releng %ldconfig_scriptlets %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 || : - link=`readlink %{_bindir}/mkisofs` if [ "$link" == "xorriso" ]; then rm -f %{_bindir}/mkisofs @@ -140,10 +136,6 @@ fi %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 || : - %{_sbindir}/alternatives --remove mkisofs %{_bindir}/xorriso fi