--- /dev/null
+--- tpm2-tss-3.0.3/configure.ac.orig 2020-11-25 15:10:56.000000000 +0100
++++ tpm2-tss-3.0.3/configure.ac 2021-03-17 06:44:06.990069264 +0100
+@@ -279,7 +279,7 @@
+ [build and execute integration tests])],,
+ [enable_integration=no])
+ AS_IF([test "x$enable_integration" = "xyes"],
+- AS_IF([test "$HOSTOS" = "Linux"],
++ [AS_IF([test "$HOSTOS" = "Linux"],
+ [ERROR_IF_NO_PROG([ss])],
+ [ERROR_IF_NO_PROG([sockstat])])
+ ERROR_IF_NO_PROG([echo])
+@@ -328,7 +328,7 @@
+ [AC_MSG_ERROR([No simulator executable found in PATH for testing TCTI.])])
+ AC_SUBST([INTEGRATION_TCTI], [$integration_tcti])
+ AC_SUBST([INTEGRATION_ARGS], [$integration_args])
+- AC_SUBST([ENABLE_INTEGRATION], [$enable_integration]))
++ AC_SUBST([ENABLE_INTEGRATION], [$enable_integration])])
+ AM_CONDITIONAL([ENABLE_INTEGRATION],[test "x$enable_integration" = "xyes"])
+ #
+ # sanitizer compiler flags
Summary: OSS implementation of the TCG TPM2 Software Stack (TSS2)
Summary(pl.UTF-8): Mająca otwarte źródła implementacja TCG TPM2 Software Stack (TSS2)
Name: tpm2-tss
-Version: 3.0.0
+Version: 3.0.3
Release: 1
License: BSD
Group: Libraries
#Source0Download: https://github.com/tpm2-software/tpm2-tss/releases
Source0: https://github.com/tpm2-software/tpm2-tss/releases/download/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: a075c9f0e1e94d059c9d8b44803fa599
+# Source0-md5: 397ba047d5743557b772c8d32e47fce2
+Patch0: %{name}-ac.patch
URL: https://github.com/tpm2-software/tpm2-tss
BuildRequires: autoconf >= 2.50
BuildRequires: automake
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}