Accepting request 1175490 from home:RBrownSUSE:branches:Application:Geo

- Add /etc/geoclue/conf.d as used by tools like gnome-initial-setup

OBS-URL: https://build.opensuse.org/request/show/1175490
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoclue2?expand=0&rev=103
This commit is contained in:
Dominique Leuenberger 2024-05-21 10:39:09 +00:00 committed by Git OBS Bridge
parent 5e9cd0bbe4
commit 498aba1279
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 21 09:30:03 UTC 2024 - Richard Brown <rbrown@suse.com>
- Add /etc/geoclue/conf.d as used by tools like gnome-initial-setup
-------------------------------------------------------------------
Fri Sep 29 18:38:36 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package geoclue2
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -110,6 +110,9 @@ install -d %{buildroot}%{_localstatedir}/lib/srvGeoClue
mkdir -p %{buildroot}%{_sysusersdir}
install -m 644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-srvGeoClue.conf
# conf.d dir needed for drop-in configs (such as used by GNOME)
install -d %{buildroot}%{_sysconfdir}/geoclue/conf.d
# note: do not use systemd macros for geoclue2.service, they are not meant for dbus unit files.
%pre -n system-user-srvGeoClue -f srvGeoClue.pre
%ldconfig_scriptlets
@ -131,6 +134,7 @@ install -m 644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-srvGeoClue.con
%{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service
%{_datadir}/polkit-1/rules.d/50-org.freedesktop.GeoClue2.rules
%dir %{_sysconfdir}/geoclue/
%dir %{_sysconfdir}/geoclue/conf.d
%config %{_sysconfdir}/geoclue/geoclue.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.GeoClue2.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf