From 2aacaf900fbd115d3ef51b3118350797c4c0dd3e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 27 2019 18:05:26 +0000 Subject: Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- diff --git a/libgcrypt.spec b/libgcrypt.spec index 536095d..ab3ccad 100644 --- a/libgcrypt.spec +++ b/libgcrypt.spec @@ -54,8 +54,6 @@ Group: System Environment/Libraries Summary: Development files for the %{name} package License: LGPLv2+ and GPLv2+ Group: Development/Libraries -Requires(pre): /sbin/install-info -Requires(post): /sbin/install-info Requires: libgpg-error-devel Requires: %{name} = %{version}-%{release} @@ -154,17 +152,6 @@ install -m644 %{SOURCE7} $RPM_BUILD_ROOT/etc/gcrypt/random.conf %ldconfig_scriptlets -%post devel -[ -f %{_infodir}/gcrypt.info.gz ] && \ - /sbin/install-info %{_infodir}/gcrypt.info.gz %{_infodir}/dir -exit 0 - -%preun devel -if [ $1 = 0 -a -f %{_infodir}/gcrypt.info.gz ]; then - /sbin/install-info --delete %{_infodir}/gcrypt.info.gz %{_infodir}/dir -fi -exit 0 - %files %dir /etc/gcrypt %config(noreplace) /etc/gcrypt/random.conf