Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package apparmor for openSUSE:Factory 
checked in at 2026-10-23 20:22:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apparmor (Old)
 and      /work/SRC/openSUSE:Factory/.apparmor.new.2252680 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apparmor"

Fri Oct 23 20:22:02 2026 rev:243 rq:1387079 version:5.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/apparmor/apparmor.changes        2026-09-17 
15:15:52.055026695 +0200
+++ /work/SRC/openSUSE:Factory/.apparmor.new.2252680/apparmor.changes   
2026-10-23 20:22:32.349106740 +0200
@@ -1,0 +2,10 @@
+Tue Oct 20 10:44:04 UTC 2026 - Tomáš Chvátal <[email protected]>
+
+- Pass the distribution build flags to the plain make builds of the
+  parser and the binutils programs, so apparmor_parser, aa-exec,
+  aa-load and aa-status are built with fortify and stack-protector
+  hardening like the rest of the package
+- Drop the obsolete BuildRoot tag from both specs and use the pkgconfig
+  spelling of the pkg-config BuildRequires
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ apparmor.spec ++++++
--- /var/tmp/diff_new_pack.04teWA/_old  2026-10-23 20:22:33.377149430 +0200
+++ /var/tmp/diff_new_pack.04teWA/_new  2026-10-23 20:22:33.379149513 +0200
@@ -96,7 +96,6 @@
 Patch14:        dovecot.diff
 
 PreReq:         sed
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  autoconf-archive
 BuildRequires:  automake
@@ -107,7 +106,7 @@
 BuildRequires:  iproute2
 BuildRequires:  libtool
 BuildRequires:  libzstd-devel
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  python3
 BuildRequires:  swig
 BuildRequires:  perl(Locale::gettext)
@@ -397,11 +396,13 @@
 # Utilities:
 make -C utils
 
-# binutils
-make -C binutils
+# The parser and binutils builds compose their compiler flags from
+# the environment; feed them the distribution flags that way.
+# (Make command-line variable overrides would propagate into the
+# libapparmor_re sub-make and break its own flag composition.)
+CFLAGS="%{optflags}" make -C binutils
 
-# parser:
-make -C parser V=1
+CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" make -C parser V=1
 
 # Apache mod_apparmor:
 %if %{with apache}

++++++ libapparmor.spec ++++++
--- /var/tmp/diff_new_pack.04teWA/_old  2026-10-23 20:22:33.411150842 +0200
+++ /var/tmp/diff_new_pack.04teWA/_new  2026-10-23 20:22:33.412150883 +0200
@@ -38,8 +38,7 @@
 BuildRequires:  flex
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
-BuildRequires:  pkg-config
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
 
 %description
 This package provides the libapparmor library, which contains the

Reply via email to