From b846d75346d3e7155768e0a90cb35594ef22463b3cbcc8a226d94f9365f2d804 Mon Sep 17 00:00:00 2001 From: Hu Date: Thu, 9 Jan 2025 14:23:53 +0000 Subject: [PATCH] - Add BuildRequires selinux-policy-%{selinuxtype} to enable building for SLFO. Might be removed in the future again when 1231252 is fixed. OBS-URL: https://build.opensuse.org/package/show/security:SELinux/container-selinux?expand=0&rev=38 --- container-selinux.changes | 7 +++++++ container-selinux.spec | 1 + 2 files changed, 8 insertions(+) diff --git a/container-selinux.changes b/container-selinux.changes index 1651b33..f2e577b 100644 --- a/container-selinux.changes +++ b/container-selinux.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jan 9 14:16:15 UTC 2025 - Cathy Hu + +- Add BuildRequires selinux-policy-%{selinuxtype} to enable building + for SLFO. Might be removed in the future again when 1231252 + is fixed. + ------------------------------------------------------------------- Thu Nov 07 12:04:40 UTC 2024 - cathy.hu@suse.com diff --git a/container-selinux.spec b/container-selinux.spec index 1368ddc..a8fe06b 100644 --- a/container-selinux.spec +++ b/container-selinux.spec @@ -34,6 +34,7 @@ URL: https://github.com/containers/container-selinux Source0: container-selinux-%{version}.tar.xz BuildRequires: selinux-policy BuildRequires: selinux-policy-devel +BuildRequires: selinux-policy-%{selinuxtype} Requires: selinux-policy >= %(rpm -q selinux-policy --qf '%%{version}-%%{release}') Requires(posttrans): policycoreutils Requires(posttrans): /usr/bin/sed