From 9232b2e17bf1f7e2cb354deb12bc41d367226cfe Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 30 Jan 2018 09:31:38 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- gpgme.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gpgme.spec b/gpgme.spec index 51ab95a..cc0634a 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -11,7 +11,7 @@ Name: gpgme Summary: GnuPG Made Easy - high level crypto API Version: 1.10.0 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ URL: https://gnupg.org/related_software/gpgme/ @@ -178,8 +178,7 @@ rm -vf %{buildroot}%{python3_sitelib}/gpg/install_files.txt make check %endif -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING* @@ -236,6 +235,9 @@ fi %{python3_sitearch}/gpg/ %changelog +* Tue Jan 30 2018 Igor Gnatenko - 1.10.0-2 +- Switch to %%ldconfig_scriptlets + * Wed Dec 13 2017 Igor Gnatenko - 1.10.0-1 - Update to 1.10.0