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

View File

@ -12,7 +12,7 @@
Summary: TPM Emulator Summary: TPM Emulator
Name: swtpm Name: swtpm
Version: 0.5.2 Version: 0.5.2
Release: 6.%{gitdate}git%{gitshortcommit}%{?dist} Release: 7.%{gitdate}git%{gitshortcommit}%{?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
@ -33,7 +33,6 @@ BuildRequires: python3-devel
BuildRequires: python3-cryptography BuildRequires: python3-cryptography
BuildRequires: python3-pip BuildRequires: python3-pip
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: trousers >= 0.3.9
BuildRequires: softhsm BuildRequires: softhsm
%if %{with gnutls} %if %{with gnutls}
BuildRequires: gnutls >= 3.1.0 BuildRequires: gnutls >= 3.1.0
@ -73,8 +72,8 @@ Include files for the TPM emulator's CUSE interface.
Summary: Tools for the TPM emulator Summary: Tools for the TPM emulator
License: BSD License: BSD
Requires: swtpm = %{version}-%{release} Requires: swtpm = %{version}-%{release}
# trousers: for tss account Requires: bash gnutls-utils python3 python3-cryptography
Requires: trousers >= 0.3.9 bash gnutls-utils python3 python3-cryptography
%description tools %description tools
Tools for the TPM emulator from the swtpm package 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 License: BSD
Requires: swtpm-tools = %{version}-%{release} Requires: swtpm-tools = %{version}-%{release}
Requires: tpm2-pkcs11 tpm2-pkcs11-tools tpm2-tools tpm2-abrmd 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 %description tools-pkcs11
Tools for creating a local CA based on a pkcs11 device Tools for creating a local CA based on a pkcs11 device
@ -186,6 +185,10 @@ fi
%{_datadir}/swtpm/swtpm-create-tpmca %{_datadir}/swtpm/swtpm-create-tpmca
%changelog %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 * Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.5.2-6.20201226gite59c0c1
- Rebuilt for RHEL 9 BETA for openssl 3.0 - Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065 Related: rhbz#1971065