From 8d74463e7762912081a72e8097304d916d1fccb0 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:05:19 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libpwquality.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libpwquality.spec b/libpwquality.spec index 65d528f..f1af0c5 100644 --- a/libpwquality.spec +++ b/libpwquality.spec @@ -1,7 +1,7 @@ Summary: A library for password generation and password quality checking Name: libpwquality Version: 1.4.0 -Release: 4%{?dist} +Release: 5%{?dist} # The package is BSD licensed with option to relicense as GPLv2+ # - this option is redundant as the BSD license allows that anyway. License: BSD or GPLv2+ @@ -113,9 +113,7 @@ mkdir $RPM_BUILD_ROOT%{_secconfdir}/pwquality.conf.d %check # Nothing yet -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files -f libpwquality.lang %defattr(-,root,root,-) @@ -150,6 +148,9 @@ mkdir $RPM_BUILD_ROOT%{_secconfdir}/pwquality.conf.d %{python3_sitearch}/*.egg-info %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1.4.0-5 +- Switch to %%ldconfig_scriptlets + * Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 1.4.0-4 - Python 2 binary package renamed to python2-pwquality See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3