Accepting request 399499 from GNOME:Factory
1 OBS-URL: https://build.opensuse.org/request/show/399499 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoclue2?expand=0&rev=48
This commit is contained in:
parent
113bc1e9b2
commit
17bc9d1579
6
geoclue2-rpmlintrc
Normal file
6
geoclue2-rpmlintrc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
addFilter("W: systemd-service-without-service_del_preun")
|
||||||
|
addFilter("W: systemd-service-without-service_del_postun")
|
||||||
|
addFilter("W: systemd-service-without-service_add_pre")
|
||||||
|
addFilter("W: systemd-service-without-service_add_post")
|
||||||
|
addFilter("W: non-standard-uid /var/lib/srvGeoClue srvGeoClue")
|
||||||
|
|
@ -1,8 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 30 15:48:31 UTC 2016 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Add geoclue2-rpmlintrc to sources to filter out bogus rpmlint
|
||||||
|
warning about missing systemd-service and nonstandard user.
|
||||||
|
- Add missing post/postun handling of library.
|
||||||
|
- Remove useless desktop file for demos, we do not build the demos.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 30 13:00:24 UTC 2016 - fcrozat@suse.com
|
Mon May 30 13:00:24 UTC 2016 - fcrozat@suse.com
|
||||||
|
|
||||||
- Do not use systemd macros for geoclue2.service, they are not
|
- Do not use systemd macros for geoclue2.service, they are not
|
||||||
designed for dbus systemd unit file.
|
designed for dbus systemd unit file [bsc#982216].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 13 09:27:42 UTC 2016 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Update to GNOME 3.20 Fate#318572
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 3 13:39:24 UTC 2016 - zaitor@opensuse.org
|
Thu Mar 3 13:39:24 UTC 2016 - zaitor@opensuse.org
|
||||||
|
@ -26,6 +26,7 @@ License: GPL-2.0+
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://people.freedesktop.org/~zeenix/releases/
|
Url: http://people.freedesktop.org/~zeenix/releases/
|
||||||
Source: http://www.freedesktop.org/software/geoclue/releases/2.4/%{_name}-%{version}.tar.xz
|
Source: http://www.freedesktop.org/software/geoclue/releases/2.4/%{_name}-%{version}.tar.xz
|
||||||
|
Source99: geoclue2-rpmlintrc
|
||||||
# PATCH-FIX-UPSTREAM geoclue2-permit-gnome-maps.patch dimstar@opensuse.org -- Allow gnome-maps to access geoclue
|
# PATCH-FIX-UPSTREAM geoclue2-permit-gnome-maps.patch dimstar@opensuse.org -- Allow gnome-maps to access geoclue
|
||||||
Patch0: geoclue2-permit-gnome-maps.patch
|
Patch0: geoclue2-permit-gnome-maps.patch
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
@ -93,12 +94,18 @@ install -d %{buildroot}%{_localstatedir}/lib/%{dbus_user}
|
|||||||
mkdir -p %{buildroot}%{_sbindir}
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcgeoclue
|
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
|
||||||
|
find %{buildroot} -type f -name "geoclue-demo-agent.desktop" -delete -print
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent passwd %{dbus_user} > /dev/null || useradd -r -g nogroup -d %{_localstatedir}/lib/%{dbus_user} -s /sbin/nologin -c "User for GeoClue D-Bus service" %{dbus_user}
|
getent passwd %{dbus_user} > /dev/null || useradd -r -g nogroup -d %{_localstatedir}/lib/%{dbus_user} -s /sbin/nologin -c "User for GeoClue D-Bus service" %{dbus_user}
|
||||||
|
|
||||||
# note: do not use systemd macros for geoclue2.service, they are not meant for dbus unit files.
|
# note: do not use systemd macros for geoclue2.service, they are not meant for dbus unit files.
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README COPYING
|
%doc README COPYING
|
||||||
@ -108,7 +115,6 @@ getent passwd %{dbus_user} > /dev/null || useradd -r -g nogroup -d %{_localstate
|
|||||||
%{_libexecdir}/geoclue
|
%{_libexecdir}/geoclue
|
||||||
%dir %{_libexecdir}/geoclue-2.0/
|
%dir %{_libexecdir}/geoclue-2.0/
|
||||||
%{_libexecdir}/geoclue-2.0/demos/
|
%{_libexecdir}/geoclue-2.0/demos/
|
||||||
%{_datadir}/applications/geoclue-demo-agent.desktop
|
|
||||||
%{_datadir}/applications/geoclue-where-am-i.desktop
|
%{_datadir}/applications/geoclue-where-am-i.desktop
|
||||||
%dir %{_datadir}/dbus-1
|
%dir %{_datadir}/dbus-1
|
||||||
%dir %{_datadir}/dbus-1/interfaces
|
%dir %{_datadir}/dbus-1/interfaces
|
||||||
|
Loading…
x
Reference in New Issue
Block a user