Make swtpm-selinux Requires(post) swtpm (#2223276)

This commit is contained in:
Adam Williamson 2023-07-22 09:47:49 -07:00
parent 0ac0fa0f1b
commit 645aeb8117

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: 6%{?dist} Release: 7%{?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,7 +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} Requires(post): swtpm = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%if ! 0%{?flatpak} %if ! 0%{?flatpak}
%{?selinux_requires} %{?selinux_requires}
@ -197,6 +197,9 @@ fi
%{_datadir}/swtpm/swtpm-create-tpmca %{_datadir}/swtpm/swtpm-create-tpmca
%changelog %changelog
* Sat Jul 22 2023 Adam Williamson <awilliam@redhat.com> - 0.8.0-7
- Make swtpm-selinux Requires(post) swtpm (#2223276)
* Thu Jul 20 2023 Stefan Berger <stefanb@linux.ibm.com> - 0.8.0-6 * Thu Jul 20 2023 Stefan Berger <stefanb@linux.ibm.com> - 0.8.0-6
- Added a 'Requires' on swtpm for swtpm-selinux package - Added a 'Requires' on swtpm for swtpm-selinux package