From 3e17b200c8c9fe4480ba87178cd4f9ef3a85b4ab Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:01:11 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- gnutls.spec | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/gnutls.spec b/gnutls.spec index 498fe04..cb3e1f3 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -66,8 +66,6 @@ Requires: %{name}-c++%{?_isa} = %{version}-%{release} Requires: %{name}-dane%{?_isa} = %{version}-%{release} %endif Requires: pkgconfig -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info %package utils License: GPLv3+ @@ -217,16 +215,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gnutls-dane.pc %check make check %{?_smp_mflags} -%post devel -if [ -f %{_infodir}/gnutls.info.gz ]; then - /sbin/install-info %{_infodir}/gnutls.info.gz %{_infodir}/dir || : -fi - -%preun devel -if [ $1 = 0 -a -f %{_infodir}/gnutls.info.gz ]; then - /sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir || : -fi - %files -f gnutls.lang %defattr(-,root,root,-) %{_libdir}/libgnutls.so.30*