Remove trouser dependency

Resolves: rhbz#1967919

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2021-06-16 23:07:55 +04:00
parent 67f18db69b
commit a5a9b7805e
1 changed files with 8 additions and 5 deletions

View File

@ -12,7 +12,7 @@
Summary: TPM Emulator
Name: swtpm
Version: 0.5.2
Release: 6.%{gitdate}git%{gitshortcommit}%{?dist}
Release: 7.%{gitdate}git%{gitshortcommit}%{?dist}
License: BSD
Url: http://github.com/stefanberger/swtpm
Source0: %{url}/archive/%{gitcommit}/%{name}-%{gitshortcommit}.tar.gz
@ -33,7 +33,6 @@ BuildRequires: python3-devel
BuildRequires: python3-cryptography
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: trousers >= 0.3.9
BuildRequires: softhsm
%if %{with gnutls}
BuildRequires: gnutls >= 3.1.0
@ -73,8 +72,8 @@ Include files for the TPM emulator's CUSE interface.
Summary: Tools for the TPM emulator
License: BSD
Requires: swtpm = %{version}-%{release}
# trousers: for tss account
Requires: trousers >= 0.3.9 bash gnutls-utils python3 python3-cryptography
Requires: bash gnutls-utils python3 python3-cryptography
%description tools
Tools for the TPM emulator from the swtpm package
@ -84,7 +83,7 @@ Summary: Tools for creating a local CA based on a TPM pkcs11 device
License: BSD
Requires: swtpm-tools = %{version}-%{release}
Requires: tpm2-pkcs11 tpm2-pkcs11-tools tpm2-tools tpm2-abrmd
Requires: expect gnutls-utils trousers >= 0.3.9
Requires: expect gnutls-utils
%description tools-pkcs11
Tools for creating a local CA based on a pkcs11 device
@ -186,6 +185,10 @@ fi
%{_datadir}/swtpm/swtpm-create-tpmca
%changelog
* Wed Jun 16 2021 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.5.2-7.20201226gite59c0c1
- Removed trouser dependency (used for vTPM 1.2, unsupported)
- Fixes: rhbz#1967919
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.5.2-6.20201226gite59c0c1
- Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065