Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package plocate for openSUSE:Factory checked in at 2025-02-28 17:39:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plocate (Old) and /work/SRC/openSUSE:Factory/.plocate.new.19136 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plocate" Fri Feb 28 17:39:59 2025 rev:5 rq:1249211 version:1.1.23 Changes: -------- --- /work/SRC/openSUSE:Factory/plocate/plocate.changes 2024-12-11 21:09:58.251078110 +0100 +++ /work/SRC/openSUSE:Factory/.plocate.new.19136/plocate.changes 2025-02-28 17:41:56.515153329 +0100 @@ -1,0 +2,6 @@ +Wed Feb 26 14:12:16 UTC 2025 - Manfred Schwarb <[email protected]> + +- split off apparmor support into its own subpackage, using a conditional + dependency for it in the main package (boo#1237689). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plocate.spec ++++++ --- /var/tmp/diff_new_pack.AIWYh7/_old 2025-02-28 17:41:58.875252125 +0100 +++ /var/tmp/diff_new_pack.AIWYh7/_new 2025-02-28 17:41:58.903253297 +0100 @@ -1,7 +1,7 @@ # # spec file for package plocate # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -40,7 +40,7 @@ BuildRequires: pkgconfig(liburing) BuildRequires: pkgconfig(libzstd) %if %{with apparmor} -Requires: apparmor-abstractions +Requires: (%{name}-apparmor if apparmor-abstractions) %endif Requires: group(nobody) Requires: user(nobody) @@ -59,6 +59,18 @@ with a much faster (and smaller) index. It is suitable as a default locate on your system. +%if %{with apparmor} +%package apparmor +Summary: Apparmor profiles for %{name} +Group: Productivity/Security +Requires: apparmor-abstractions +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description apparmor +This package contains the files needed for apparmor support +%endif + %prep %autosetup @@ -116,7 +128,9 @@ %{_sharedstatedir}/%{name}/CACHEDIR.TAG %ghost %{_sharedstatedir}/%{name}/%{name}.db %config(noreplace) %{_sysconfdir}/updatedb.conf + %if %{with apparmor} +%files apparmor %dir %{_sysconfdir}/apparmor.d/ %config %{_sysconfdir}/apparmor.d/usr.bin.plocate %config %{_sysconfdir}/apparmor.d/usr.sbin.updatedb
