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
This commit is contained in:
Stefan Berger 2023-08-15 15:11:54 -04:00
parent 316d736d71
commit 839d88cfff

View File

@ -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 <stefanb@linux.ibm.com> - 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 <stefanb@linux.ibm.com> - 0.8.1-1
- Update to v0.8.1 release