- Buildrequire polkit so /usr/share/polkit-1/rules.d has an owner

Otherwise the "post build checks" would complain and would force
  systemd to own this directory. The owner should still be "polkit"
  and the perms should be in sync with the perm set by polkit
  itself.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1061
This commit is contained in:
2019-05-13 08:55:25 +00:00
committed by Git OBS Bridge
parent 9404042728
commit 7c28ecb852
4 changed files with 22 additions and 2 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon May 13 08:46:38 UTC 2019 - Franck Bui <fbui@suse.com>
- Buildrequire polkit so /usr/share/polkit-1/rules.d has an owner
Otherwise the "post build checks" would complain and would force
systemd to own this directory. The owner should still be "polkit"
and the perms should be in sync with the perm set by polkit
itself.
-------------------------------------------------------------------
Thu May 9 07:13:44 UTC 2019 - Franck Bui <fbui@suse.com>

View File

@@ -65,6 +65,7 @@ BuildRequires: kbd
BuildRequires: libapparmor-devel
BuildRequires: libgcrypt-devel
BuildRequires: libxslt-tools
BuildRequires: polkit
# python is only required for generating systemd.directives.xml
BuildRequires: python3
BuildRequires: python3-lxml
@@ -1146,7 +1147,6 @@ fi
%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
%if %{with networkd}
%dir %{_datadir}/polkit-1/rules.d
%{_datadir}/polkit-1/rules.d/60-systemd-networkd.rules
%endif
%if %{with resolved}

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon May 13 08:46:38 UTC 2019 - Franck Bui <fbui@suse.com>
- Buildrequire polkit so /usr/share/polkit-1/rules.d has an owner
Otherwise the "post build checks" would complain and would force
systemd to own this directory. The owner should still be "polkit"
and the perms should be in sync with the perm set by polkit
itself.
-------------------------------------------------------------------
Thu May 9 07:13:44 UTC 2019 - Franck Bui <fbui@suse.com>

View File

@@ -63,6 +63,7 @@ BuildRequires: kbd
BuildRequires: libapparmor-devel
BuildRequires: libgcrypt-devel
BuildRequires: libxslt-tools
BuildRequires: polkit
# python is only required for generating systemd.directives.xml
BuildRequires: python3
BuildRequires: python3-lxml
@@ -1144,7 +1145,6 @@ fi
%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
%if %{with networkd}
%dir %{_datadir}/polkit-1/rules.d
%{_datadir}/polkit-1/rules.d/60-systemd-networkd.rules
%endif
%if %{with resolved}