Switch to %ldconfig_scriptlets

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

View File

@ -1,6 +1,6 @@
Name: geoclue2
Version: 2.4.7
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Geolocation service
License: GPLv2+
@ -104,9 +104,7 @@ exit 0
%postun
%systemd_postun_with_restart geoclue.service
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%ldconfig_scriptlets libs
%files
@ -142,6 +140,9 @@ exit 0
%{_datadir}/applications/geoclue-where-am-i.desktop
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.4.7-3
- Switch to %%ldconfig_scriptlets
* Wed Nov 29 2017 Lubomir Rintel <lkundrak@v3.sk> - 2.4.7-2
- Obsolete old geoclue