Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 13:16:59 +01:00
parent 50245a804d
commit 069e691127
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -5,7 +5,7 @@
Name: evince
Version: 3.26.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Document viewer
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
@ -165,9 +165,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%ldconfig_scriptlets libs
%files -f evince.lang
%{_bindir}/*
@ -248,6 +246,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop
%{_libdir}/mozilla/plugins/libevbrowserplugin.so
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.0-3
- Switch to %%ldconfig_scriptlets
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.0-2
- Remove obsolete scriptlets