From eec95ab819c377dd8ec7818245f274bc28692508 Mon Sep 17 00:00:00 2001 From: lujie42 Date: Sat, 19 Feb 2022 10:52:10 +0800 Subject: [PATCH] selinux_requires macro shouldn't depend on policycoreutils-python --- rpm.macros | 4 ---- selinux-policy.spec | 5 ++++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/rpm.macros b/rpm.macros index f63f5fe..9da4c61 100644 --- a/rpm.macros +++ b/rpm.macros @@ -38,11 +38,7 @@ BuildRequires: selinux-policy-devel \ Requires(post): selinux-policy-base >= %{_selinux_policy_version} \ Requires(post): libselinux-utils \ Requires(post): policycoreutils \ -%if 0%{?fedora} || 0%{?rhel} > 7\ Requires(post): policycoreutils-python-utils \ -%else \ -Requires(post): policycoreutils-python \ -%endif \ %{nil} # %selinux_modules_install [-s ] [-p ] module [module]... diff --git a/selinux-policy.spec b/selinux-policy.spec index ccec0e2..6b515b7 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -12,7 +12,7 @@ Summary: SELinux policy configuration Name: selinux-policy Version: 35.5 -Release: 1 +Release: 2 License: GPLv2+ URL: https://github.com/fedora-selinux/selinux-policy/ @@ -732,6 +732,9 @@ exit 0 %endif %changelog +* Sat Feb 19 2022 lujie42 - 35.5-2 +- selinux_requires macro shouldn't depend on policycoreutils-python + * Sat Dec 11 2021 lujie42 - 35.5-1 - update selinux-policy-3.14.2 to selinux-policy-35.5-1 -- Gitee