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}