Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 18:05:19 +01:00
parent c9a741157e
commit 8d74463e77
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -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 <ignatenkobrain@fedoraproject.org> - 1.4.0-5
- Switch to %%ldconfig_scriptlets
* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.4.0-4
- Python 2 binary package renamed to python2-pwquality
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3