Hello community, here is the log from the commit of package ibmtss for openSUSE:Factory checked in at 2018-01-19 11:53:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ibmtss (Old) and /work/SRC/openSUSE:Factory/.ibmtss.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibmtss" Fri Jan 19 11:53:58 2018 rev:7 rq:567293 version:1045 Changes: -------- --- /work/SRC/openSUSE:Factory/ibmtss/ibmtss.changes 2017-11-22 11:22:14.245755248 +0100 +++ /work/SRC/openSUSE:Factory/.ibmtss.new/ibmtss.changes 2018-01-19 11:54:48.503127623 +0100 @@ -1,0 +2,5 @@ +Thu Jan 18 08:34:51 UTC 2018 - [email protected] + +- Enable test on BE + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibmtss.spec ++++++ --- /var/tmp/diff_new_pack.wf3ELu/_old 2018-01-19 11:54:49.559077862 +0100 +++ /var/tmp/diff_new_pack.wf3ELu/_new 2018-01-19 11:54:49.563077674 +0100 @@ -1,7 +1,7 @@ # # spec file for package ibmtss # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,13 +30,8 @@ Patch: makefile.patch Source1: %{name} Source2: %{name}.1 -BuildRequires: libopenssl-devel -%ifnarch s390x s390 ppc64 ppc BuildRequires: ibmswtpm2 -%define test 1 -%else -%define test "" -%endif +BuildRequires: libopenssl-devel Recommends: %{name}-base = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -70,11 +65,11 @@ %build cd utils -[ -n "%{test}" ] && { %{_libexecdir}/%{suite}/tpm_server & tpm_server="$!" ; } +%{_libexecdir}/%{suite}/tpm_server & tpm_server="$!" CCFLAGS="%{optflags}" make LNAFLAGS="-Wl,-rpath,%{_libexecdir}/%{suite}" %{?_smp_mflags} testfailed=0 -[ -n "%{test}" ] && { TPM_INTERFACE_TYPE=socsim LD_LIBRARY_PATH=. ./reg.sh || testfailed=$? ; } -[ -n "%{test}" ] && kill "$tpm_server" || : +TPM_INTERFACE_TYPE=socsim LD_LIBRARY_PATH=. ./reg.sh || testfailed=$? +kill "$tpm_server" || : [ "$testfailed" -eq 0 ] %install
