From 43c596d11f30945a28fe174891fc6fd69da97359 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:39:04 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libtasn1.spec | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libtasn1.spec b/libtasn1.spec index eb97226..ece8028 100644 --- a/libtasn1.spec +++ b/libtasn1.spec @@ -26,8 +26,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %name = %version-%release Requires: %{name}-tools = %{version}-%{release} Requires: pkgconfig -Requires(post): /sbin/install-info -Requires(postun): /sbin/install-info %package tools @@ -75,15 +73,6 @@ rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir} %check make check - -%post devel -test -f %_infodir/%name.info.gz && \ - /sbin/install-info --info-dir=%_infodir %_infodir/%name.info || : - -%preun devel -test "$1" = 0 -a -f %_infodir/%name.info.gz && \ - /sbin/install-info --info-dir=%_infodir --delete %_infodir/%name.info || : - %files %license COPYING* %doc AUTHORS NEWS README THANKS