From c7c469766d62b9a46777514c4e6adacfad9dd2cd Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:39:40 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- parted.spec | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/parted.spec b/parted.spec index cfa0047..0e764aa 100644 --- a/parted.spec +++ b/parted.spec @@ -145,9 +145,6 @@ Buildrequires: python3 BuildRequires: gperf BuildRequires: make -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info - # bundled gnulib library exception, as per packaging guidelines # https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries Provides: bundled(gnulib) @@ -213,18 +210,6 @@ V=1 %{__make} %{?_smp_mflags} export LD_LIBRARY_PATH=$(pwd)/libparted/.libs:$(pwd)/libparted/fs/.libs make check - - -%post -if [ -f %{_infodir}/parted.info.gz ]; then - /sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir || : -fi - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/parted.info.gz %{_infodir}/dir >/dev/null 2>&1 || : -fi - %files -f %{name}.lang %doc AUTHORS NEWS README THANKS %{!?_licensedir:%global license %%doc}