Accepting request 455253 from GNOME:Next
Tweak package, removed rcgeoclue (should have been dropped back when systemdmacros were dropped) OBS-URL: https://build.opensuse.org/request/show/455253 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoclue2?expand=0&rev=54
This commit is contained in:
parent
43752c1a1a
commit
1f28e7b452
@ -1,6 +1,8 @@
|
|||||||
|
# note: do not use systemd macros for geoclue2.service, they are not meant for dbus unit files.
|
||||||
addFilter("W: systemd-service-without-service_del_preun")
|
addFilter("W: systemd-service-without-service_del_preun")
|
||||||
addFilter("W: systemd-service-without-service_del_postun")
|
addFilter("W: systemd-service-without-service_del_postun")
|
||||||
addFilter("W: systemd-service-without-service_add_pre")
|
addFilter("W: systemd-service-without-service_add_pre")
|
||||||
addFilter("W: systemd-service-without-service_add_post")
|
addFilter("W: systemd-service-without-service_add_post")
|
||||||
addFilter("W: non-standard-uid /var/lib/srvGeoClue srvGeoClue")
|
addFilter("W: non-standard-uid /var/lib/srvGeoClue srvGeoClue")
|
||||||
|
# This is a dbus activated service, no human should ever call it.
|
||||||
|
addFilter("W: suse-missing-rclink geoclue")
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 2 21:21:10 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Drop convenience shortcut for rcgeoclue, as this is a dbus
|
||||||
|
activated service, there is no point in that shortcut, no human
|
||||||
|
should ever manually call it. Following this, filter warning now
|
||||||
|
produced via rpmlintrc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 27 16:26:11 UTC 2017 - zaitor@opensuse.org
|
Fri Jan 27 16:26:11 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -90,9 +90,6 @@ make %{?_smp_mflags} V=1
|
|||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
install -d %{buildroot}%{_localstatedir}/lib/%{dbus_user}
|
install -d %{buildroot}%{_localstatedir}/lib/%{dbus_user}
|
||||||
# Create conveniance shortcut for rcgeoclue -> /usr/sbin/service
|
|
||||||
mkdir -p %{buildroot}%{_sbindir}
|
|
||||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcgeoclue
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
# Remove desktop file, we do not build the demos
|
# Remove desktop file, we do not build the demos
|
||||||
find %{buildroot} -type f -name "geoclue-demo-agent.desktop" -delete -print
|
find %{buildroot} -type f -name "geoclue-demo-agent.desktop" -delete -print
|
||||||
@ -130,7 +127,6 @@ getent passwd %{dbus_user} > /dev/null || useradd -r -g nogroup -d %{_localstate
|
|||||||
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.conf
|
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.conf
|
||||||
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
|
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
|
||||||
%attr(0700,%{dbus_user},root) %{_localstatedir}/lib/%{dbus_user}
|
%attr(0700,%{dbus_user},root) %{_localstatedir}/lib/%{dbus_user}
|
||||||
%{_sbindir}/rcgeoclue
|
|
||||||
%{_unitdir}/geoclue.service
|
%{_unitdir}/geoclue.service
|
||||||
|
|
||||||
%files -n typelib-1_0-Geoclue-2_0
|
%files -n typelib-1_0-Geoclue-2_0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user