From 8e11680283974690366ab36160897084d248ea43d1a6c75df529781dee7de688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Thu, 22 Feb 2024 13:07:19 +0000 Subject: [PATCH] Accepting request 1149361 from home:kukuk:no-utmp - Allow to disable apparmor support (ALP supports only SELinux) OBS-URL: https://build.opensuse.org/request/show/1149361 OBS-URL: https://build.opensuse.org/package/show/devel:microos/buildah?expand=0&rev=28 --- buildah.changes | 5 +++++ buildah.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/buildah.changes b/buildah.changes index b75ae3d..4b81e00 100644 --- a/buildah.changes +++ b/buildah.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 22 12:59:44 UTC 2024 - Thorsten Kukuk + +- Allow to disable apparmor support (ALP supports only SELinux) + ------------------------------------------------------------------- Thu Dec 14 07:42:07 UTC 2023 - danish.prakash@suse.com diff --git a/buildah.spec b/buildah.spec index 47d5559..0f80c69 100644 --- a/buildah.spec +++ b/buildah.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without apparmor %define project github.com/containers/buildah Name: buildah @@ -33,7 +34,9 @@ BuildRequires: git BuildRequires: glib2-devel-static BuildRequires: glibc-devel-static BuildRequires: golang-packaging +%if %{with apparmor} BuildRequires: libapparmor-devel +%endif BuildRequires: libassuan-devel >= 2.5.2 BuildRequires: libbtrfs-devel BuildRequires: libgpgme-devel