selinux-requires macro shouldn't depend on policycoreutils-python

This commit is contained in:
lujie42 2022-02-21 10:26:43 +08:00
parent c8d151dfa0
commit c098ffa16a
2 changed files with 4 additions and 5 deletions

View File

@ -38,11 +38,7 @@ BuildRequires: selinux-policy-devel \
Requires(post): selinux-policy-base >= %{_selinux_policy_version} \ Requires(post): selinux-policy-base >= %{_selinux_policy_version} \
Requires(post): libselinux-utils \ Requires(post): libselinux-utils \
Requires(post): policycoreutils \ Requires(post): policycoreutils \
%if 0%{?fedora} || 0%{?rhel} > 7\
Requires(post): policycoreutils-python-utils \ Requires(post): policycoreutils-python-utils \
%else \
Requires(post): policycoreutils-python \
%endif \
%{nil} %{nil}
# %selinux_modules_install [-s <policytype>] [-p <modulepriority>] module [module]... # %selinux_modules_install [-s <policytype>] [-p <modulepriority>] module [module]...

View File

@ -12,7 +12,7 @@
Summary: SELinux policy configuration Summary: SELinux policy configuration
Name: selinux-policy Name: selinux-policy
Version: 35.5 Version: 35.5
Release: 1 Release: 2
License: GPLv2+ License: GPLv2+
URL: https://github.com/fedora-selinux/selinux-policy/ URL: https://github.com/fedora-selinux/selinux-policy/
@ -732,6 +732,9 @@ exit 0
%endif %endif
%changelog %changelog
* Mon Feb 21 2022 lujie42 <lujie42@huawei.com> - 35.5-2
- selinux-requires macro shouldn't depend on policycoreutils-python
* Tue Jan 11 2022 lujie42 <lujie42@huawei.com> - 35.5-1 * Tue Jan 11 2022 lujie42 <lujie42@huawei.com> - 35.5-1
- update selinux-policy-3.14.2 to selinux-policy-35.5-1 - update selinux-policy-3.14.2 to selinux-policy-35.5-1