From 518e25ee50bc12bc3fa6d9cca5c8c2b3166b527b65f6974521b4c425f48b6955 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Mon, 13 May 2019 08:55:25 +0000 Subject: [PATCH] Accepting request 702610 from home:fbui:systemd:openSUSE-Factory - 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/request/show/702610 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1061 --- systemd-mini.changes | 10 ++++++++++ systemd-mini.spec | 2 +- systemd.changes | 10 ++++++++++ systemd.spec | 2 +- 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/systemd-mini.changes b/systemd-mini.changes index 0cc3558c..72ff8261 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon May 13 08:46:38 UTC 2019 - Franck Bui + +- 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 diff --git a/systemd-mini.spec b/systemd-mini.spec index 8ef239db..8d335cad 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -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} diff --git a/systemd.changes b/systemd.changes index 0cc3558c..72ff8261 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon May 13 08:46:38 UTC 2019 - Franck Bui + +- 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 diff --git a/systemd.spec b/systemd.spec index 6c5b184e..38e15bd9 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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}