From 0c019f41d879bbae3f9e2ca411c13581cf69f614184509309583d575cd1ef8e9 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 26 Nov 2020 12:27:08 +0000 Subject: [PATCH] Accepting request 850957 from GNOME:Next - Don't actually install com.endlessm.ParentalControls.rules: this just grants 'wheel'-group members access without password; as openSUSE does not support 'wheel' by default, we only ship the file as sample file (boo#1177974#c8). OBS-URL: https://build.opensuse.org/request/show/850957 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/malcontent?expand=0&rev=5 --- malcontent.changes | 8 ++++++++ malcontent.spec | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/malcontent.changes b/malcontent.changes index f50e6a4..f6b9108 100644 --- a/malcontent.changes +++ b/malcontent.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Nov 18 11:09:13 UTC 2020 - Dominique Leuenberger + +- Don't actually install com.endlessm.ParentalControls.rules: this + just grants 'wheel'-group members access without password; as + openSUSE does not support 'wheel' by default, we only ship the + file as sample file (boo#1177974#c8). + ------------------------------------------------------------------- Sat Oct 31 11:25:34 UTC 2020 - Marcus Rueckert diff --git a/malcontent.spec b/malcontent.spec index d2e98ec..e1d1952 100644 --- a/malcontent.spec +++ b/malcontent.spec @@ -99,6 +99,9 @@ accounts to inappropriate content. %install %meson_install +# com.endlessm.ParentalControls.rules would allow 'wheel' group users access without polkit auth +# wheel is not used in openSUSE, so we simply package this file as an example %%doc file +mv %{buildroot}%{_datadir}/polkit-1/rules.d/com.endlessm.ParentalControls.rules . %find_lang %{name} %post -n libmalcontent-0-0 -p /sbin/ldconfig @@ -109,6 +112,7 @@ accounts to inappropriate content. %files %license COPYING %doc NEWS README.md +%doc com.endlessm.ParentalControls.rules /%{_lib}/security/pam_malcontent.so %{_bindir}/malcontent-client %{_bindir}/malcontent-control @@ -122,7 +126,6 @@ accounts to inappropriate content. %{_datadir}/accountsservice/interfaces/com.endlessm.ParentalControl* %{_datadir}/polkit-1/actions/com.endlessm.ParentalControls.policy %{_datadir}/polkit-1/actions/org.freedesktop.MalcontentControl.policy -%{_datadir}/polkit-1/rules.d/com.endlessm.ParentalControls.rules %files lang -f %{name}.lang