Hello community, here is the log from the commit of package ibmswtpm2 for openSUSE:Factory checked in at 2018-01-20 11:26:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ibmswtpm2 (Old) and /work/SRC/openSUSE:Factory/.ibmswtpm2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibmswtpm2" Sat Jan 20 11:26:55 2018 rev:5 rq:567291 version:1119 Changes: -------- --- /work/SRC/openSUSE:Factory/ibmswtpm2/ibmswtpm2.changes 2017-11-12 18:11:08.769590043 +0100 +++ /work/SRC/openSUSE:Factory/.ibmswtpm2.new/ibmswtpm2.changes 2018-01-20 11:26:55.431779428 +0100 @@ -1,0 +2,14 @@ +Thu Jan 18 08:31:26 UTC 2018 - [email protected] + +- Enable bigendian build + +------------------------------------------------------------------- +Tue Jan 16 11:33:14 UTC 2018 - [email protected] + +- Update to upstream version 1119 + * adds openssl 1.1 support (bsc#1066916) +- drop patches (upstream): + * bits.patch + * fix_unreferenced_macro-gcc7.patch + +------------------------------------------------------------------- Old: ---- bits.patch fix_unreferenced_macro-gcc7.patch ibmtpm974.tar.gz New: ---- ibmtpm1119.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibmswtpm2.spec ++++++ --- /var/tmp/diff_new_pack.TbkzsQ/_old 2018-01-20 11:26:56.091748564 +0100 +++ /var/tmp/diff_new_pack.TbkzsQ/_new 2018-01-20 11:26:56.095748377 +0100 @@ -1,7 +1,7 @@ # # spec file for package ibmswtpm2 # -# 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 @@ -19,7 +19,7 @@ %define suite ibmtss Name: ibmswtpm2 -Version: 974 +Version: 1119 Release: 0 Summary: IBM's Software TPM 2.0 License: BSD-3-Clause @@ -27,16 +27,12 @@ Url: https://sourceforge.net/projects/ibmswtpm2 Source: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm%{version}.tar.gz Patch1: makefile.patch -Patch2: bits.patch -Patch3: fix_unreferenced_macro-gcc7.patch -# FIXME this is broken on BE - upstream is waiting for current spec testing to finish before porting -ExcludeArch: ppc ppc64 s390 s390x -%if 0%{?suse_version} <= 1320 -BuildRequires: libopenssl-devel < 1.1 -BuildRequires: libopenssl-devel >= 1.0 +%ifarch ppc ppc64 s390 s390x +%define extra_ccflags -DBIG_ENDIAN_TPM=1 %else -BuildRequires: libopenssl-1_0_0-devel +%define extra_ccflags "" %endif +BuildRequires: libopenssl-devel >= 1.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -53,12 +49,10 @@ %prep %setup -c -q %patch1 -p 1 -%patch2 -p 1 -%patch3 -p 1 %build cd src -CCFLAGS="%{optflags}" make %{?_smp_mflags} +CCFLAGS="%{optflags} "%{extra_ccflags} make %{?_smp_mflags} %install cd src ++++++ ibmtpm974.tar.gz -> ibmtpm1119.tar.gz ++++++ ++++ 13373 lines of diff (skipped) ++++++ makefile.patch ++++++ --- /var/tmp/diff_new_pack.TbkzsQ/_old 2018-01-20 11:26:56.315738089 +0100 +++ /var/tmp/diff_new_pack.TbkzsQ/_new 2018-01-20 11:26:56.315738089 +0100 @@ -1,6 +1,8 @@ ---- ibmtpm832/src/makefile~ 2017-01-30 16:31:06.903692292 +0100 -+++ ibmtpm832/src/makefile 2017-01-30 16:31:17.391841670 +0100 -@@ -41,16 +41,16 @@ +Index: ibmswtpm2-1119/src/makefile +=================================================================== +--- ibmswtpm2-1119.orig/src/makefile 2018-01-16 12:46:54.412486803 +0100 ++++ ibmswtpm2-1119/src/makefile 2018-01-16 12:48:38.498125716 +0100 +@@ -41,17 +41,17 @@ CC = /usr/bin/gcc @@ -8,16 +10,17 @@ +CCFLAGS += -fno-strict-aliasing -fno-aggressive-loop-optimizations -Wno-unused-result \ -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \ - -Werror -Wsign-compare \ -+ -Werror -Wsign-compare -Wno-unused-value -Wno-aggressive-loop-optimizations \ - -c -ggdb -O0 \ ++ -Werror -Wsign-compare -Wno-unused-value -Wno-aggressive-loop-optimizations \ + -c -ggdb -O \ -DTPM_POSIX \ -D_POSIX_ \ + -DTPM_NUVOTON \ -I../utils \ -I. -LNFLAGS = -ggdb \ +LNFLAGS += -ggdb \ -DTPM_POSIX \ + -DTPM_NUVOTON \ -lcrypto \ - -lpthread \
