diff --git a/SPECS/tpm2-abrmd-selinux.spec b/SPECS/tpm2-abrmd-selinux.spec index 29afc18..45c3ff1 100644 --- a/SPECS/tpm2-abrmd-selinux.spec +++ b/SPECS/tpm2-abrmd-selinux.spec @@ -1,12 +1,12 @@ # defining macros needed by SELinux %global selinuxtype targeted -%global selinux_policyver 0.0.1 +%global selinux_policyver 3.14.1 %global moduletype contrib %global modulename tabrmd Name: tpm2-abrmd-selinux Version: 2.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: SELinux policies for tpm2-abrmd License: BSD @@ -15,12 +15,12 @@ Source0: https://github.com/tpm2-software/tpm2-abrmd/archive/%{version}/tpm2-abr BuildArch: noarch Requires: selinux-policy >= %{selinux_policyver} +Requires: selinux-policy-%{selinuxtype} >= %{selinux_policyver} BuildRequires: git BuildRequires: pkgconfig(systemd) BuildRequires: selinux-policy BuildRequires: selinux-policy-devel -Requires(post): selinux-policy-base >= %{selinux_policyver} -Requires(post): libselinux-utils +Requires(pre): libselinux-utils Requires(post): policycoreutils Requires(post): policycoreutils-python-utils @@ -67,6 +67,11 @@ fi %{_datadir}/selinux/devel/include/%{moduletype}/%{modulename}.if %changelog +* Tue May 14 2019 Jerry Snitselaar - 2.0.0-3 +- Fix Requires issue. +- Add initial CI gating support. +resolves: rhbz#1642000, rhbz#1682415 + * Tue Sep 11 2018 Jerry Snitselaar - 2.0.0-2 - Fix dependency resolves: rhbz#1628771