Switch to %ldconfig_scriptlets

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

View File

@ -16,7 +16,7 @@
Name: json-c
Version: 0.13
Release: 5%{?dist}
Release: 6%{?dist}
Summary: JSON implementation in C
License: MIT
@ -143,10 +143,7 @@ if st and st.type == "link" then
end
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
@ -176,6 +173,9 @@ end
%changelog
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13-6
- Switch to %%ldconfig_scriptlets
* Thu Dec 14 2017 Björn Esser <besser82@fedoraproject.org> - 0.13-5
- Update patch fixing a segfault caused by possible invalid frees