Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mlocate for openSUSE:Factory checked 
in at 2024-03-05 18:50:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mlocate (Old)
 and      /work/SRC/openSUSE:Factory/.mlocate.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mlocate"

Tue Mar  5 18:50:04 2024 rev:36 rq:1154867 version:0.26

Changes:
--------
--- /work/SRC/openSUSE:Factory/mlocate/mlocate.changes  2024-01-25 
18:42:44.913960751 +0100
+++ /work/SRC/openSUSE:Factory/.mlocate.new.1770/mlocate.changes        
2024-03-05 18:50:07.199862347 +0100
@@ -1,0 +2,6 @@
+Thu Feb 29 12:12:02 UTC 2024 - Jiri Srain <jsr...@suse.com>
+
+- add bcond for building without AppArmor support (for ALP code
+  base)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mlocate.spec ++++++
--- /var/tmp/diff_new_pack.aaoriz/_old  2024-03-05 18:50:07.735881809 +0100
+++ /var/tmp/diff_new_pack.aaoriz/_new  2024-03-05 18:50:07.739881954 +0100
@@ -16,6 +16,8 @@
 #
 
 
+%bcond_without  apparmor
+
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
@@ -40,7 +42,9 @@
 BuildRequires:  sed
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  xz
+%if %{with apparmor}
 Requires:       apparmor-abstractions
+%endif
 Requires(post): %fillup_prereq
 Recommends:     %{name}-lang = %{version}
 Provides:       findutils:%{_bindir}/locate
@@ -95,8 +99,10 @@
 mkdir -p %{buildroot}%{_sbindir}
 ln -s /usr/sbin/service %{buildroot}/%{_sbindir}/rcmlocate
 # apparmor
+%if %{with apparmor}
 install -D -m 644 %{SOURCE3} 
%{buildroot}%{_sysconfdir}/apparmor.d/usr.bin.locate
 install -D -m 644 %{SOURCE4} 
%{buildroot}%{_sysconfdir}/apparmor.d/usr.bin.updatedb
+%endif
 
 %check
 make check %{?_smp_mflags}
@@ -126,8 +132,10 @@
 %dir %{_localstatedir}/lib/mlocate
 %ghost %{_localstatedir}/lib/mlocate/mlocate.db
 %{_fillupdir}/*
+%if %{with apparmor}
 %dir %{_sysconfdir}/apparmor.d/
 %{_sysconfdir}/apparmor.d/*
+%endif
 %{_sbindir}/rcmlocate
 
 %files lang -f %{name}.lang

Reply via email to