From 18c656ec5a25ff3fdd122bcbfef05b575ad457ee59337ff352ec67990640cebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Mon, 26 Feb 2024 11:16:43 +0000 Subject: [PATCH] Accepting request 1149486 from home:kukuk:no-utmp - Allow to disable apparmor support (ALP supports only SELinux) OBS-URL: https://build.opensuse.org/request/show/1149486 OBS-URL: https://build.opensuse.org/package/show/devel:microos/podman?expand=0&rev=50 --- podman.changes | 5 +++++ podman.spec | 7 +++++++ 2 files changed, 12 insertions(+) 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