diff --git a/apparmor.spec b/apparmor.spec index f969233..e195083 100644 --- a/apparmor.spec +++ b/apparmor.spec @@ -1,6 +1,6 @@ Name: apparmor Version: 4.0.3 -Release: 1mamba +Release: 2mamba Summary: Mandatory Access Control (MAC) using Linux Security Module (LSM) Group: System/Kernel and Hardware Vendor: openmamba @@ -11,6 +11,7 @@ Source: https://gitlab.com/apparmor/apparmor/-/archive/v%{version}/apparm License: GPL, LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libgcc BuildRequires: libpam-devel BuildRequires: libperl BuildRequires: libpython311-devel @@ -19,6 +20,7 @@ BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: python-apparmor-py3 = %{?epoch:%epoch:}%{version}-%{release} %description Mandatory Access Control (MAC) using Linux Security Module (LSM). @@ -63,7 +65,7 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n python-%{name}-py3 This package contains the python binding to %{name}. -%debug_package +%global _lto_cflags %{nil} %prep %setup -q -n %{name}-v%{version} @@ -77,6 +79,7 @@ autoreconf -fi cd libraries/libapparmor %configure \ + --sbindir=%{_bindir} \ --with-perl \ --with-python \ --with-ruby @@ -197,6 +200,9 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod %doc README.md %changelog +* Sat Feb 08 2025 Silvan Calarco 4.0.3-2mamba +- apparmor: require python-apparmor-py3 + * Sun Aug 18 2024 Automatic Build System 4.0.3-1mamba - automatic version update by autodist