Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package psmisc for openSUSE:Factory checked 
in at 2023-02-19 18:18:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/psmisc (Old)
 and      /work/SRC/openSUSE:Factory/.psmisc.new.22824 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "psmisc"

Sun Feb 19 18:18:53 2023 rev:86 rq:1066338 version:23.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/psmisc/psmisc.changes    2023-01-10 
14:59:34.461130550 +0100
+++ /work/SRC/openSUSE:Factory/.psmisc.new.22824/psmisc.changes 2023-02-19 
18:18:55.029463950 +0100
@@ -1,0 +2,5 @@
+Thu Feb 16 16:06:59 UTC 2023 - Ludwig Nussel <lnus...@suse.de>
+
+- allow to switch off Apparmor support via bcond
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ psmisc.spec ++++++
--- /var/tmp/diff_new_pack.UTSxil/_old  2023-02-19 18:18:55.549467254 +0100
+++ /var/tmp/diff_new_pack.UTSxil/_new  2023-02-19 18:18:55.553467279 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package psmisc
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,8 @@
 #
 
 
+%bcond_without apparmor
+
 Name:           psmisc
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -27,7 +29,9 @@
 BuildRequires:  linux-glibc-devel >= 4.12
 BuildRequires:  ncurses-devel
 BuildRequires:  netcat-openbsd
+%if %{with apparmor}
 BuildRequires:  pkgconfig(libapparmor)
+%endif
 URL:            https://gitlab.com/psmisc/psmisc/
 Version:        23.6
 Release:        0
@@ -74,7 +78,7 @@
 export CFLAGS CXXFLAGS LDFLAGS CC
 %configure     --disable-rpath \
        --with-gnu-ld           \
-       --enable-apparmor       \
+       %{?with_apparmor:--enable-apparmor} \
        --enable-selinux
 make %{?_smp_mflags} CFLAGS="$CFLAGS" "CC=$CC"
 

Reply via email to