diff --git a/podman.changes b/podman.changes index de0acbf..6210574 100644 --- a/podman.changes +++ b/podman.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 22 13:54:00 UTC 2024 - Thorsten Kukuk + +- Allow to disable apparmor support (ALP supports only SELinux) + ------------------------------------------------------------------- Wed Feb 14 05:54:01 UTC 2024 - danish.prakash@suse.com diff --git a/podman.spec b/podman.spec index 94f3a92..c391fc9 100644 --- a/podman.spec +++ b/podman.spec @@ -18,6 +18,9 @@ %{!?_user_tmpfilesdir: %global _user_tmpfilesdir %{_datadir}/user-tmpfiles.d} %define project github.com/containers/podman + +%bcond_without apparmor + Name: podman Version: 4.9.3 Release: 0 @@ -35,7 +38,9 @@ BuildRequires: glib2-devel-static BuildRequires: glibc-devel-static BuildRequires: go-go-md2man BuildRequires: golang-packaging +%if %{with apparmor} BuildRequires: libapparmor-devel +%endif BuildRequires: libassuan-devel BuildRequires: libbtrfs-devel BuildRequires: libcontainers-common @@ -47,8 +52,10 @@ BuildRequires: golang(API) >= 1.21 BuildRequires: pkgconfig(libselinux) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(systemd) +%if %{with apparmor} Recommends: apparmor-abstractions Recommends: apparmor-parser +%endif # requirement for `podman machine` Recommends: gvisor-tap-vsock Requires: catatonit >= 0.1.7