Build with TPM2 support
Related: #2033220 Signed-off-by: Daiki Ueno <dueno@redhat.com> Co-authored-by: Alexander Sosedkin <asosedkin@redhat.com>
This commit is contained in:
parent
4030e24b19
commit
778c959c06
14
gnutls.spec
14
gnutls.spec
@ -1,5 +1,5 @@
|
||||
Version: 3.7.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Patch1: gnutls-3.6.7-no-now-guile.patch
|
||||
Patch2: gnutls-3.2.7-rpath.patch
|
||||
Patch3: gnutls-3.7.2-enable-intel-cet.patch
|
||||
@ -14,6 +14,7 @@ Patch4: gnutls-3.7.2-no-explicit-init.patch
|
||||
%bcond_without fips
|
||||
%endif
|
||||
%bcond_with tpm12
|
||||
%bcond_without tpm2
|
||||
%bcond_with gost
|
||||
|
||||
Summary: A TLS protocol implementation
|
||||
@ -29,6 +30,9 @@ BuildRequires: nettle-devel >= 3.5.1
|
||||
%if %{with tpm12}
|
||||
BuildRequires: trousers-devel >= 0.3.11.2
|
||||
%endif
|
||||
%if %{with tpm2}
|
||||
BuildRequires: tpm2-tss-devel >= 3.0.3
|
||||
%endif
|
||||
BuildRequires: libidn2-devel
|
||||
BuildRequires: libunistring-devel
|
||||
BuildRequires: net-tools, datefudge, softhsm, gcc, gcc-c++
|
||||
@ -199,6 +203,11 @@ export GUILD
|
||||
--with-trousers-lib=%{_libdir}/libtspi.so.1 \
|
||||
%else
|
||||
--without-tpm \
|
||||
%endif
|
||||
%if %{with tpm2}
|
||||
--with-tpm2 \
|
||||
%else
|
||||
--without-tpm2 \
|
||||
%endif
|
||||
--htmldir=%{_docdir}/manual \
|
||||
%if %{with guile}
|
||||
@ -300,6 +309,9 @@ make check %{?_smp_mflags} GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Feb 2 2022 Daiki Ueno <dueno@redhat.com> - 3.7.3-2
|
||||
- Build with TPM2 support, patch from Alexander Sosedkin (#2033220)
|
||||
|
||||
* Tue Jan 18 2022 Daiki Ueno <dueno@redhat.com> - 3.7.3-1
|
||||
- Update to gnutls 3.7.3 (#2033220)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user