Switch to %ldconfig_scriptlets

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

View File

@ -3,7 +3,7 @@
Name: yelp
Epoch: 2
Version: 3.27.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Help browser for the GNOME desktop
Group: Applications/System
@ -118,9 +118,7 @@ find $RPM_BUILD_ROOT%{_libdir} -name '*.la' -delete
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%ldconfig_scriptlets libs
%files -f %{name}.lang
%doc AUTHORS NEWS README
@ -145,6 +143,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2:3.27.1-2
- Switch to %%ldconfig_scriptlets
* Sat Jan 13 2018 David King <amigadave@amigadave.com> - 2:3.27.1-1
- Update to 3.27.1