| |
@@ -1,6 +1,8 @@
|
| |
+ %global selinuxtype targeted
|
| |
+
|
| |
Name: tpm2-abrmd
|
| |
Version: 2.1.0
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
Summary: A system daemon implementing TPM2 Access Broker and Resource Manager
|
| |
|
| |
License: BSD
|
| |
@@ -20,7 +22,7 @@
|
| |
BuildRequires: tpm2-tss-devel >= 2.0.0-2%{?dist}
|
| |
|
| |
# tpm2-abrmd depends on the package that contains its SELinux policy module
|
| |
- Requires: %{name}-selinux >= 2.0.0-1%{?dist}
|
| |
+ Requires: (%{name}-selinux >= 2.0.0-1%{?dist} if selinux-policy-%{selinuxtype})
|
| |
|
| |
%description
|
| |
tpm2-abrmd is a system daemon implementing the TPM2 access broker (TAB) and
|
| |
@@ -88,6 +90,9 @@
|
| |
%systemd_postun tpm2-abrmd.service
|
| |
|
| |
%changelog
|
| |
+ * Mon Feb 11 2019 Jerry Snitselaar <jsnitsel@redhat.com> - 2.1.0-2
|
| |
+ - Fix tpm2-abrmd-selinux requires
|
| |
+
|
| |
* Mon Feb 11 2019 Sun Yunying <yunying.sun@intel.com> - 2.1.0-1
|
| |
- Update to 2.1.0 release
|
| |
|
| |
We should only require tpm2-abrmd-selinux on selinux enabled
systems. Change requires to depend on selinux-policy-%{selinuxtype}.
Signed-off-by: Jerry Snitselaar jsnitsel@redhat.com