From ecef3dec97f285f99b338637b2e3f90e38516787 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:05:44 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libisoburn.spec | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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