From f69740c948e5ddfb329f27340e2883119f605762 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 03 2018 17:17:40 +0000 Subject: Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/cracklib.spec b/cracklib.spec index 8eb93e6..18106e8 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -5,7 +5,7 @@ Summary: A password-checking library Name: cracklib Version: 2.9.6 -Release: 10%{?dist} +Release: 11%{?dist} Group: System Environment/Libraries Source0: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-%{version}.tar.gz Source1: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-words-%{version}.gz @@ -186,14 +186,7 @@ finally: sys.exit(0) EOF -%clean -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%triggerpostun -p /sbin/ldconfig -- cracklib < 2.7-24 +%ldconfig_scriptlets %files -f %{name}.lang %defattr(-,root,root) @@ -226,6 +219,9 @@ EOF %{_libdir}/python*/site-packages/*.py* %changelog +* Sat Feb 03 2018 Igor Gnatenko - 2.9.6-11 +- Switch to %%ldconfig_scriptlets + * Wed Jan 03 2018 Iryna Shcherbina - 2.9.6-10 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)