From d9552fe63839f393a25bee95f268f7d64757a0286aeafb457e994af0bb0e2d1a Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Fri, 23 Feb 2024 18:18:39 +0000 Subject: [PATCH] Accepting request 1149490 from home:kukuk:no-utmp - Allow to disable apparmor support (ALP supports only SELinux) OBS-URL: https://build.opensuse.org/request/show/1149490 OBS-URL: https://build.opensuse.org/package/show/benchmark/stress-ng?expand=0&rev=245 --- stress-ng.changes | 5 +++++ stress-ng.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/stress-ng.changes b/stress-ng.changes index 35f6c34..0328ac2 100644 --- a/stress-ng.changes +++ b/stress-ng.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 22 13:56:11 UTC 2024 - Thorsten Kukuk + +- Allow to disable apparmor support (ALP supports only SELinux) + ------------------------------------------------------------------- Sat Jan 27 16:26:55 UTC 2024 - Dirk Müller diff --git a/stress-ng.spec b/stress-ng.spec index ab1686f..f555f80 100644 --- a/stress-ng.spec +++ b/stress-ng.spec @@ -17,6 +17,8 @@ # +%bcond_without apparmor + Name: stress-ng Version: 0.17.04 Release: 0 @@ -27,7 +29,9 @@ URL: https://github.com/ColinIanKing/stress-ng Source: https://github.com/ColinIanKing/stress-ng/archive/refs/tags/V%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: keyutils-devel BuildRequires: libaio-devel +%if %{with apparmor} BuildRequires: libapparmor-devel +%endif BuildRequires: libattr-devel BuildRequires: libbsd-devel BuildRequires: libcap-devel