From 839d88cfff4e7cd6bd22e9d6f5e7eaa1567c4130 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Tue, 15 Aug 2023 15:11:54 -0400 Subject: [PATCH] Don't build tools-pkcs11 for i686 since python-tpm2-pytss is not built for it Set license to BSD-3-Clause for all packages --- swtpm.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/swtpm.spec b/swtpm.spec index 3e6f646..477bb09 100644 --- a/swtpm.spec +++ b/swtpm.spec @@ -12,7 +12,7 @@ Summary: TPM Emulator Name: swtpm Version: 0.8.1 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD-3-Clause Url: http://github.com/stefanberger/swtpm Source0: %{url}/archive/%{gitcommit}/%{name}-%{gitshortcommit}.tar.gz @@ -54,14 +54,14 @@ TPM emulator built on libtpms providing TPM functionality for QEMU VMs %package libs Summary: Private libraries for swtpm TPM emulators -License: BSD +License: BSD-3-Clause %description libs A private library with callback functions for libtpms based swtpm TPM emulator %package devel Summary: Include files for the TPM emulator's CUSE interface for usage by clients -License: BSD +License: BSD-3-Clause Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel @@ -69,7 +69,7 @@ Include files for the TPM emulator's CUSE interface. %package tools Summary: Tools for the TPM emulator -License: BSD +License: BSD-3-Clause Requires: swtpm = %{version}-%{release} # trousers: for tss account (unsupported in RHEL) Requires: %{!?rhel:trousers >= 0.3.9} bash gnutls-utils @@ -79,7 +79,8 @@ Tools for the TPM emulator from the swtpm package %package tools-pkcs11 Summary: Tools for creating a local CA based on a TPM pkcs11 device -License: BSD +License: BSD-3-Clause +ExcludeArch: i686 Requires: swtpm-tools = %{version}-%{release} Requires: tpm2-pkcs11 tpm2-pkcs11-tools tpm2-tools tpm2-abrmd Requires: expect gnutls-utils %{!?rhel:trousers >= 0.3.9} @@ -195,6 +196,10 @@ fi %{_datadir}/swtpm/swtpm-create-tpmca %changelog +* Tue Aug 15 2023 Stefan Berger - 0.8.1-2 +- Don't build tools-pkcs11 for i686 since python-tpm2-pytss is not built for it +- Set license to BSD-3-Clause for all packages + * Tue Aug 15 2023 Stefan Berger - 0.8.1-1 - Update to v0.8.1 release