Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-02 11:12:49 +01:00
parent 2959921586
commit 463cac437b
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -5,7 +5,7 @@
Name: jsoncpp
Version: 1.8.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: JSON library implemented in C++
License: Public Domain or MIT
@ -89,8 +89,7 @@ hardlink -cfv %{buildroot}%{_docdir}/%{name}
%make_build -C %{_target_platform} jsoncpp_check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
@ -118,6 +117,9 @@ hardlink -cfv %{buildroot}%{_docdir}/%{name}
%changelog
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.4-2
- Switch to %%ldconfig_scriptlets
* Tue Dec 26 2017 Björn Esser <besser82@fedoraproject.org> - 1.8.4-1
- Update to version 1.8.4 (rhbz#1529017)