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}