From 201c3be05b3d7a389a798a4d7aca4565cf3ef9b4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 28 Jul 2018 10:21:55 +0200 Subject: [PATCH] Replace obsolete scriptlets Signed-off-by: Igor Gnatenko --- nettle.spec | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/nettle.spec b/nettle.spec index 6091ff2..22c05e8 100644 --- a/nettle.spec +++ b/nettle.spec @@ -6,7 +6,7 @@ Name: nettle Version: 3.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A low-level cryptographic library License: LGPLv3+ or GPLv2+ @@ -22,10 +22,6 @@ BuildRequires: libtool, automake, autoconf, gettext-devel BuildRequires: fipscheck %endif -Requires(post): info -Requires(preun): info - - %package devel Summary: Development headers for a low-level cryptographic library Requires: %{name} = %{version}-%{release} @@ -110,20 +106,13 @@ make check %{_libdir}/pkgconfig/hogweed.pc %{_libdir}/pkgconfig/nettle.pc -%post -/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : -/sbin/ldconfig - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : -fi - -%postun -p /sbin/ldconfig - +%ldconfig_scriptlets %changelog +* Sat Jul 28 2018 Igor Gnatenko - 3.4-4 +- Replace obsolete scriptlets + * Fri Jul 13 2018 Fedora Release Engineering - 3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild