Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-04 11:28:22 +01:00
parent 34f164f8ab
commit 4ff34d619f
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -6,7 +6,7 @@
Summary: C++ API for the cairo graphics library
Name: cairomm
Version: 1.12.0
Release: 6%{?dist}
Release: 7%{?dist}
URL: http://www.cairographics.org
License: LGPLv2+
Group: System Environment/Libraries
@ -66,9 +66,7 @@ make %{?_smp_mflags}
%make_install
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license COPYING
@ -87,6 +85,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%doc %{_datadir}/devhelp/
%changelog
* Sun Feb 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.12.0-7
- Switch to %%ldconfig_scriptlets
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild