From 4cc74f4fdbbc18f3b53409726fb4ab3a3d43a45f Mon Sep 17 00:00:00 2001 From: si-gui <245140120@qq.com> Date: Thu, 18 Feb 2021 18:34:49 +0800 Subject: [PATCH] selinux_requires macros shouldn't depends 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 1737360..970f79d 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -12,7 +12,7 @@ Summary: SELinux policy configuration Name: selinux-policy Version: 3.14.2 -Release: 63 +Release: 65 License: GPLv2+ URL: https://github.com/fedora-selinux/selinux-policy/ @@ -735,6 +735,9 @@ exit 0 %endif %changelog +* Thu Feb 18 2021 sunguoshuai - 3.14.2-65 +- selinux_requires macros shouldn't depends on policycoreutils-python + * Sun Dec 13 2020 luhuaxin <1539327763@qq.com> - 3.14.2-64 - add avc for openEuler -- Gitee