From c0b4598e8783c5e63ba74d1e3841fd857e60273ddb3b214e504eead91b88bebc Mon Sep 17 00:00:00 2001 From: Wolfgang Frisch Date: Tue, 30 Jan 2024 12:51:55 +0000 Subject: [PATCH] Accepting request 1142770 from home:dimstar:Factory - Create directory /usr/share/permissions/permissions.d for packages to place their drop-ins. OBS-URL: https://build.opensuse.org/request/show/1142770 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=327 --- permissions.changes | 6 ++++++ permissions.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/permissions.changes b/permissions.changes index 60dddab..3ea81e3 100644 --- a/permissions.changes +++ b/permissions.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 30 12:13:45 UTC 2024 - Dominique Leuenberger + +- Create directory /usr/share/permissions/permissions.d for packages + to place their drop-ins. + ------------------------------------------------------------------- Mon Nov 27 11:38:26 UTC 2023 - Daniel Garcia diff --git a/permissions.spec b/permissions.spec index 5712153..8aa1464 100644 --- a/permissions.spec +++ b/permissions.spec @@ -1,7 +1,7 @@ # # spec file for package permissions # -# 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 @@ -48,6 +48,8 @@ make %{?_smp_mflags} CXXFLAGS="%{optflags}" %install %make_install fillupdir=%{_fillupdir} +# create directory for packages to place their drop-ins +mkdir %{buildroot}%{_datadir}/permissions/permissions.d # Fix shebang in scripts: Remove dependency on /usr/bin/python3, # making scripts to depends on the real python3 binary, not the link. # (bsc#1212476) @@ -87,6 +89,7 @@ The actual permissions configuration files, /usr/share/permissions/permission.*. %files config %defattr(644, root, root, 755) %dir %{_datadir}/permissions +%dir %{_datadir}/permissions/permissions.d %{_datadir}/permissions/permissions %{_datadir}/permissions/permissions.easy %{_datadir}/permissions/permissions.secure