Added a 'Requires' on swtpm for swtpm-selinux package

This commit is contained in:
Stefan Berger 2023-07-21 15:40:27 -04:00
parent f662e81fe3
commit e52d434009

View File

@ -12,7 +12,7 @@
Summary: TPM Emulator Summary: TPM Emulator
Name: swtpm Name: swtpm
Version: 0.8.0 Version: 0.8.0
Release: 5%{?dist} Release: 6%{?dist}
License: BSD License: BSD
Url: http://github.com/stefanberger/swtpm Url: http://github.com/stefanberger/swtpm
Source0: %{url}/archive/%{gitcommit}/%{name}-%{gitshortcommit}.tar.gz Source0: %{url}/archive/%{gitcommit}/%{name}-%{gitshortcommit}.tar.gz
@ -91,6 +91,7 @@ Tools for creating a local CA based on a pkcs11 device
%package selinux %package selinux
Summary: SELinux security policy for swtpm Summary: SELinux security policy for swtpm
Requires: swtpm = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%if ! 0%{?flatpak} %if ! 0%{?flatpak}
%{?selinux_requires} %{?selinux_requires}
@ -196,6 +197,9 @@ fi
%{_datadir}/swtpm/swtpm-create-tpmca %{_datadir}/swtpm/swtpm-create-tpmca
%changelog %changelog
* Thu Jul 20 2023 Stefan Berger <stefanb@linux.ibm.com> - 0.8.0-5
- Added a 'Requires' on swtpm for swtpm-selinux package
* Wed Jul 19 2023 Stefan Berger <stefanb@linux.ibm.com> - 0.8.0-4 * Wed Jul 19 2023 Stefan Berger <stefanb@linux.ibm.com> - 0.8.0-4
- Split off SELinux policy into swtpm-selinux - Split off SELinux policy into swtpm-selinux