Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 17:19:45 +01:00
parent 7f57fcb640
commit 2c2805e4e0
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -4,7 +4,7 @@
Summary: Generic library for reporting various problems
Name: libreport
Version: 2.9.3
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv2+
URL: https://abrt.readthedocs.org/
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
@ -430,14 +430,9 @@ make check|| {
exit 1
}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post gtk -p /sbin/ldconfig
%postun gtk -p /sbin/ldconfig
%post web -p /sbin/ldconfig
%postun web -p /sbin/ldconfig
%ldconfig_scriptlets
%ldconfig_scriptlets gtk
%ldconfig_scriptlets web
%files -f %{name}.lang
%defattr(-,root,root,-)
@ -743,6 +738,9 @@ make check|| {
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.9.3-5
- Switch to %%ldconfig_scriptlets
* Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.9.3-4
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)