Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tpm2.0-tools for openSUSE:Factory 
checked in at 2021-07-18 23:44:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tpm2.0-tools (Old)
 and      /work/SRC/openSUSE:Factory/.tpm2.0-tools.new.2632 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tpm2.0-tools"

Sun Jul 18 23:44:47 2021 rev:30 rq:906620 version:5.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/tpm2.0-tools/tpm2.0-tools.changes        
2021-06-28 15:34:19.183236781 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-tools.new.2632/tpm2.0-tools.changes      
2021-07-18 23:44:48.267112852 +0200
@@ -1,0 +2,6 @@
+Thu Jul  8 09:07:05 UTC 2021 - Matthias Gerstner <matthias.gerst...@suse.com>
+
+- prepare running the test suite via %check, but leave it commented out,
+  because it is broken due to LTO linking.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tpm2.0-tools.spec ++++++
--- /var/tmp/diff_new_pack.AdvcGK/_old  2021-07-18 23:44:49.127106235 +0200
+++ /var/tmp/diff_new_pack.AdvcGK/_new  2021-07-18 23:44:49.131106205 +0200
@@ -50,6 +50,14 @@
 BuildRequires:  pkgconfig
 BuildRequires:  tpm2-0-tss-devel
 BuildRequires:  tpm2.0-abrmd-devel
+# requirements for unit test suite (configure --enable-unit)
+BuildRequires:  expect
+BuildRequires:  ibmswtpm2
+BuildRequires:  libcmocka-devel
+BuildRequires:  python38-pyaml
+BuildRequires:  tpm2.0-abrmd
+# for xxd, which is also required by the tests
+BuildRequires:  vim
 Recommends:     tpm2.0-abrmd
 
 %description
@@ -63,7 +71,9 @@
 %autosetup -p1 -n tpm2-tools-%{version}
 
 %build
-%configure --disable-static
+# help configure find required executables for testing
+export PATH=$PATH:/usr/sbin:/usr/libexec/ibmtss
+%configure --disable-static --enable-unit
 make %{?_smp_mflags}
 
 %install
@@ -82,4 +92,9 @@
 %dir %{_datadir}/bash-completion/completions
 %{_datadir}/bash-completion/completions/*
 
+# the test suite does not currently work, because it conflicts with our LTO
+# linking (see bsc#1188085).
+#%%check
+#make check
+
 %changelog

Reply via email to