Switch to %ldconfig_scriptlets

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

View File

@ -1,6 +1,6 @@
Name: libpsl
Version: 0.19.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: C library for the Publix Suffix List
License: MIT
URL: https://rockdaboot.github.io/libpsl
@ -109,9 +109,7 @@ find %{buildroot} -name '*.la' -delete -print
%check
make check || cat tests/test-suite.log
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license COPYING
@ -138,6 +136,9 @@ make check || cat tests/test-suite.log
%{_mandir}/man1/psl-make-dafsa.1*
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.19.1-2
- Switch to %%ldconfig_scriptlets
* Tue Nov 14 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 0.19.1-1
- new version (#1511463)