Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-02 11:11:30 +01:00
parent 3761a320ce
commit 51dc293406
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -2,7 +2,7 @@
Name: json-glib
Version: 1.4.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Library for JavaScript Object Notation format
License: LGPLv2+
@ -57,9 +57,7 @@ the functionality of the installed json-glib package.
%find_lang json-glib-1.0
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files -f json-glib-1.0.lang
@ -85,6 +83,9 @@ the functionality of the installed json-glib package.
%changelog
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.4.2-2
- Switch to %%ldconfig_scriptlets
* Wed Sep 13 2017 Kalev Lember <klember@redhat.com> - 1.4.2-1
- Update to 1.4.2