Hello community, here is the log from the commit of package mstflint for openSUSE:Factory checked in at 2017-05-10 20:50:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mstflint (Old) and /work/SRC/openSUSE:Factory/.mstflint.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mstflint" Wed May 10 20:50:21 2017 rev:5 rq:492827 version:4.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/mstflint/mstflint.changes 2016-07-18 21:25:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mstflint.new/mstflint.changes 2017-05-10 20:50:23.419924262 +0200 @@ -1,0 +2,15 @@ +Fri Mar 31 11:21:24 UTC 2017 - [email protected] + +- Update to v4.6.0-1, No info of changes available (fate#321683). +- Adapt patches to changed sources. +- Support build outside of SCM. + +------------------------------------------------------------------- +Mon Mar 20 12:04:43 CET 2017 - [email protected] + +- Update to 4.5.0-1.17.g8a0c39d, No info of changes available + (fate#321683). +- Adapt mstflint-s390_arch.patch to changed sources. +- Remove mstflint-4.4.0-gcc6.patch as it isn't needed anymore. + +------------------------------------------------------------------- @@ -14,0 +30,19 @@ + +------------------------------------------------------------------- +Mon Feb 22 10:35:49 CET 2016 - [email protected] + +- Add mstflint-common_int_handling.patch to fix integer types handling + and use common code instead of duplication. This creates two new + headers, int_handling.h and tools_arch.h. The former has the type + and print formatting code common to all files. +- Use date and time of .changes file to avoid useless rebuilds. + +------------------------------------------------------------------- +Thu Feb 18 14:39:47 CET 2016 - [email protected] + +- Update to 4.3.0 git 9b9af70 (fate#320235 bsc#66196). +- Remove mstflint-autotools.patch as it's not needed anymore. +- Generate ChangeLog from git log and include it. +- Refresh and fix mstflint-s390_arch.patch to apply cleanly. +- Build with Checksums enabled. +- Add placeholder man pages from Debian. Old: ---- mstflint-4.4.0-gcc6.patch mstflint-4.4.0.tar.gz New: ---- mstflint-4.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mstflint.spec ++++++ --- /var/tmp/diff_new_pack.fk1W32/_old 2017-05-10 20:50:24.347793331 +0200 +++ /var/tmp/diff_new_pack.fk1W32/_new 2017-05-10 20:50:24.351792767 +0200 @@ -1,7 +1,7 @@ # # spec file for package mstflint # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,24 +16,27 @@ # +%define extra_version -1 + Name: mstflint -Version: 4.4.0 +Version: 4.6.0 Release: 0 Summary: Mellanox Firmware Burning and Diagnostics Tools License: GPL-2.0 or BSD-2-Clause Group: System/Console Url: http://www.openfabrics.org -Source: https://www.openfabrics.org/downloads/mstflint/%{name}-%{version}.tar.gz +Obsoletes: mstflint-devel < %{version} + +Source: https://github.com/Mellanox/mstflint/releases/download/v%{version}%{?extra_version}/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM Build libmtcr as shared library Source1: mstfint-mtcr_ul_no_static_lib.patch # PATCH-FIX-UPSTREAM Add all needed defines to get it built on s390x -Patch4: mstflint-s390_arch.patch -# PATCH-FIX-UPSTREAM unable to find string literal operator -Patch6: mstflint-4.4.0-gcc6.patch +Patch1: mstflint-s390_arch.patch # PATCH-FIX-UPSTREAM implicit declaration of mset_cr_access -Patch7: mstflint-4.4.0-implicit-declaration.patch +Patch2: mstflint-4.4.0-implicit-declaration.patch # PATCH-FIX-UPSTREAM no __DATE__ and __TIME__ in codes -Patch8: mstflint-4.4.0-no-date-time.patch +Patch3: mstflint-4.4.0-no-date-time.patch + BuildRequires: gcc-c++ BuildRequires: libibmad-devel BuildRequires: libtool @@ -52,11 +55,9 @@ %prep %setup -q -%patch4 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -rm -f mtcr_ul/Makefile.in +%patch1 +%patch2 +%patch3 %build ./autogen.sh @@ -69,10 +70,6 @@ rm -rf %{buildroot}%{_libdir}/mstflint/ rm -rf %{buildroot}%{_bindir}/hca_self_test.ofed -#%%post -p /sbin/ldconfig - -#%%postun -p /sbin/ldconfig - %files %defattr(-, root, root) %doc README COPYING LICENSE ++++++ mstflint-4.4.0-implicit-declaration.patch ++++++ --- /var/tmp/diff_new_pack.fk1W32/_old 2017-05-10 20:50:24.383788252 +0200 +++ /var/tmp/diff_new_pack.fk1W32/_new 2017-05-10 20:50:24.387787687 +0200 @@ -1,7 +1,7 @@ -Index: b/mstdump/crd_main/mstdump.c -=================================================================== ---- a/mstdump/crd_main/mstdump.c -+++ b/mstdump/crd_main/mstdump.c +diff --git mstdump/crd_main/mstdump.c mstdump/crd_main/mstdump.c +index 32e2c28..7c66c85 100755 +--- mstdump/crd_main/mstdump.c ++++ mstdump/crd_main/mstdump.c @@ -125,12 +125,6 @@ int main(int argc, char* argv[]) { } ++i; // move past the device parameter @@ -15,10 +15,10 @@ if (i < argc && !strncmp(argv[i], CAUSE_FLAG, strlen(CAUSE_FLAG))) { i++; } -Index: b/small_utils/mcra.c -=================================================================== ---- a/small_utils/mcra.c -+++ b/small_utils/mcra.c +diff --git small_utils/mcra.c small_utils/mcra.c +index dd18b2c..d77e20a 100644 +--- small_utils/mcra.c ++++ small_utils/mcra.c @@ -271,11 +271,7 @@ int main(int argc, char *argv[]) perror("mopen"); return 1; ++++++ mstflint-4.4.0-no-date-time.patch ++++++ --- /var/tmp/diff_new_pack.fk1W32/_old 2017-05-10 20:50:24.403785430 +0200 +++ /var/tmp/diff_new_pack.fk1W32/_new 2017-05-10 20:50:24.403785430 +0200 @@ -1,8 +1,8 @@ -Index: b/common/tools_version.h -=================================================================== ---- a/common/tools_version.h -+++ b/common/tools_version.h -@@ -70,10 +70,8 @@ int get_version_string(char* buf, int bu +diff --git common/tools_version.h common/tools_version.h +index e3a242f..0bbeecf 100644 +--- common/tools_version.h ++++ common/tools_version.h +@@ -70,10 +70,8 @@ int get_version_string(char* buf, int buf_size, const char* exe_name, const char len = snprintf(buf, buf_size, "%s %s, ", exe_name, tool_version); } // cut out first and last "$" from the SVN version string: ++++++ mstflint-4.4.0.tar.gz -> mstflint-4.6.0.tar.gz ++++++ ++++ 394943 lines of diff (skipped) ++++++ mstflint-s390_arch.patch ++++++ --- /var/tmp/diff_new_pack.fk1W32/_old 2017-05-10 20:50:25.223669737 +0200 +++ /var/tmp/diff_new_pack.fk1W32/_new 2017-05-10 20:50:25.223669737 +0200 @@ -5,13 +5,13 @@ --- common/compatibility.h | 8 ++++++-- mtcr_ul/packets_common.h | 10 +++++++--- - tools_layouts/adb_to_c_utils.h | 8 ++++++-- - 3 files changed, 19 insertions(+), 7 deletions(-) + tools_layouts/adb_to_c_utils.h | 6 +++++- + 3 files changed, 18 insertions(+), 6 deletions(-) Index: common/compatibility.h =================================================================== ---- common/compatibility.h.orig 2014-04-10 15:37:31.000000000 +0200 -+++ common/compatibility.h 2014-05-16 13:32:41.440750201 +0200 +--- common/compatibility.h.orig 2016-09-14 13:16:26.000000000 +0200 ++++ common/compatibility.h 2017-03-20 12:03:15.259518742 +0100 @@ -61,6 +61,10 @@ # define ARCH_ppc # elif defined(__aarch64__) @@ -31,7 +31,7 @@ +#if defined(ARCH_x86) || defined(ARCH_ppc) || defined(UEFI_BUILD) || defined(ARCH_s390) # if defined(__MINGW32__) || defined(__MINGW64__) # include <inttypes.h> - # define U64D_FMT "0x%"PRId64 + # define U64D_FMT "0x%" PRId64 @@ -107,7 +111,7 @@ # define U48H_FMT "0x%012llx" # define U64D_FMT_GEN "llu" @@ -43,9 +43,9 @@ # define U48H_FMT "0x%012lx" Index: mtcr_ul/packets_common.h =================================================================== ---- mtcr_ul/packets_common.h.orig 2014-04-10 15:37:32.000000000 +0200 -+++ mtcr_ul/packets_common.h 2014-05-16 13:41:15.870778141 +0200 -@@ -148,6 +148,10 @@ +--- mtcr_ul/packets_common.h.orig 2016-09-14 13:16:31.000000000 +0200 ++++ mtcr_ul/packets_common.h 2017-03-20 12:01:53.115447515 +0100 +@@ -150,6 +150,10 @@ # define ARCH_ppc # elif defined(__aarch64__) # define ARCH_arm64 @@ -56,7 +56,7 @@ # else # error Unknown CPU architecture using the linux OS # endif -@@ -161,9 +165,9 @@ +@@ -163,9 +167,9 @@ /**********************************/ /* define macros for print fields */ @@ -68,7 +68,7 @@ # define U64H_FMT "0x%016lx" # define U64D_FMT "%lu" # define U32H_FMT "0x%08x" -@@ -171,7 +175,7 @@ +@@ -173,7 +177,7 @@ # define U8H_FMT "0x%02x" # define U32D_FMT "%u" # define STR_FMT "%s" @@ -79,9 +79,9 @@ # define U32H_FMT "0x%08x" Index: tools_layouts/adb_to_c_utils.h =================================================================== ---- tools_layouts/adb_to_c_utils.h.orig 2014-04-10 15:37:32.000000000 +0200 -+++ tools_layouts/adb_to_c_utils.h 2014-05-16 13:29:37.380740505 +0200 -@@ -133,6 +133,10 @@ extern "C" { +--- tools_layouts/adb_to_c_utils.h.orig 2016-09-14 13:16:31.000000000 +0200 ++++ tools_layouts/adb_to_c_utils.h 2017-03-20 12:01:53.115447515 +0100 +@@ -137,6 +137,10 @@ extern "C" { # define ARCH_ppc # elif defined(__aarch64__) # define ARCH_arm64 @@ -92,16 +92,7 @@ # else # error Unknown CPU architecture using the linux OS # endif -@@ -165,7 +169,7 @@ extern "C" { - #define U16H_FMT "0x%04x" - #define U8H_FMT "0x%02x" - --#if defined(ARCH_x86) || defined(ARCH_ppc) || defined(UEFI_BUILD) -+#if defined(ARCH_x86) || defined(ARCH_ppc) || defined(UEFI_BUILD) || defined(ARCH_s390) - # if defined(__MINGW32__) || defined(__MINGW64__) - # include <inttypes.h> - # define U64D_FMT "0x%"PRId64 -@@ -176,7 +180,7 @@ extern "C" { +@@ -180,7 +184,7 @@ extern "C" { # define U64H_FMT "0x%016llx" # define U48H_FMT "0x%012llx" # endif
