From 645aeb8117492e09b57da52d52c270375b909ff4 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sat, 22 Jul 2023 09:47:49 -0700 Subject: [PATCH] Make swtpm-selinux Requires(post) swtpm (#2223276) --- swtpm.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/swtpm.spec b/swtpm.spec index 7cc69b4..6629b73 100644 --- a/swtpm.spec +++ b/swtpm.spec @@ -12,7 +12,7 @@ Summary: TPM Emulator Name: swtpm Version: 0.8.0 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD Url: http://github.com/stefanberger/swtpm 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 Summary: SELinux security policy for swtpm -Requires: swtpm = %{version}-%{release} +Requires(post): swtpm = %{version}-%{release} BuildArch: noarch %if ! 0%{?flatpak} %{?selinux_requires} @@ -197,6 +197,9 @@ fi %{_datadir}/swtpm/swtpm-create-tpmca %changelog +* Sat Jul 22 2023 Adam Williamson - 0.8.0-7 +- Make swtpm-selinux Requires(post) swtpm (#2223276) + * Thu Jul 20 2023 Stefan Berger - 0.8.0-6 - Added a 'Requires' on swtpm for swtpm-selinux package