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