tpm2-abrmd-selinux: fix dependency

With rhel9 we should be able to use same policycoreutils-python-utils
dependency as Fedora.

Resolves: rhbz#1929701

Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
This commit is contained in:
Jerry Snitselaar 2021-02-17 11:34:30 -07:00
parent aa722e9446
commit 83edbae00e

View File

@ -6,7 +6,7 @@
Name: tpm2-abrmd-selinux
Version: 2.3.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: SELinux policies for tpm2-abrmd
License: BSD
@ -26,11 +26,7 @@ BuildRequires: selinux-policy-%{selinuxtype}
Requires(post): selinux-policy-base >= %{selinux_policyver}
Requires(post): libselinux-utils
Requires(post): policycoreutils
%if 0%{?fedora}
Requires(post): policycoreutils-python-utils
%else
Requires(post): policycoreutils-python
%endif
%description
SELinux policy modules for tpm2-abrmd.
@ -75,6 +71,10 @@ fi
%{_datadir}/selinux/devel/include/%{moduletype}/%{modulename}.if
%changelog
* Wed Feb 17 2021 Jerry Snitselaar <jsnitsel@redhat.com> - 2.3.1-4
- Fix dependency.
Resolves: rhbz#1929701
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild