Marcus Meissner 2017-02-08 15:27:23 +00:00 committed by Git OBS Bridge
parent 731c3dc9aa
commit ec118cd26c
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: TPM2.0-TSS-1.0/configure.ac
===================================================================
--- TPM2.0-TSS-1.0.orig/configure.ac
+++ TPM2.0-TSS-1.0/configure.ac
@@ -7,7 +7,7 @@ AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CC
AC_PROG_CXX
LT_INIT()
-AX_PTHREAD([], [AC_MSG_ERROR([requires pthread])])
+AX_PTHREAD([], [])
AM_INIT_AUTOMAKE([foreign
subdir-objects])
AC_CONFIG_FILES([Makefile])

View File

@ -25,6 +25,7 @@ Group: Productivity/Security
Url: https://github.com/01org/TPM2.0-TSS
Source0: https://github.com/01org/TPM2.0-TSS/archive/%{version}.tar.gz
Source2: baselibs.conf
Patch0: tpm2-0-tss-configure.patch
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
@ -60,6 +61,7 @@ accessing TPM 2.0 chips.
%prep
%setup -q -n TPM2.0-TSS-%{version}
%patch0 -p1
%build
bash bootstrap