Switch to %ldconfig_scriptlets

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

View File

@ -1,6 +1,6 @@
Name: gcab
Version: 1.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Cabinet file library and tool
License: LGPLv2+
@ -53,8 +53,7 @@ Libraries, includes, etc. to compile with the gcab library.
%find_lang %{name}
%post -n libgcab1 -p /sbin/ldconfig
%postun -n libgcab1 -p /sbin/ldconfig
%ldconfig_scriptlets -n libgcab1
%files
%doc COPYING NEWS
@ -76,6 +75,9 @@ Libraries, includes, etc. to compile with the gcab library.
%{_libdir}/pkgconfig/libgcab-1.0.pc
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0-2
- Switch to %%ldconfig_scriptlets
* Tue Jan 23 2018 Richard Hughes <richard@hughsie.com> - 1.0-1
- New upstream release
- This fixes the security bug known as CVE-2018-5345