Hello community, here is the log from the commit of package opa-fm for openSUSE:Factory checked in at 2019-10-18 14:31:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opa-fm (Old) and /work/SRC/openSUSE:Factory/.opa-fm.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opa-fm" Fri Oct 18 14:31:21 2019 rev:13 rq:733596 version:10.9.3 Changes: -------- --- /work/SRC/openSUSE:Factory/opa-fm/opa-fm.changes 2018-11-13 17:29:59.225252128 +0100 +++ /work/SRC/openSUSE:Factory/.opa-fm.new.2352/opa-fm.changes 2019-10-18 14:31:22.776560328 +0200 @@ -1,0 +2,17 @@ +Thu Sep 26 11:07:49 UTC 2019 - Nicolas Morey-Chaisemartin <[email protected]> + +- Update to v10.9.3.1.1 + - No changelog available + +------------------------------------------------------------------- +Thu Sep 5 11:55:47 UTC 2019 - Nicolas Morey-Chaisemartin <[email protected]> + +- Update to v10.9.2.2.1 + * No changelog available +- Drop reproducible.patch as it was fixed upstream +- Mark LICENSE with %license +- Remove infiniband-diags-devel dependency as it is now provided by rdma-core-devel +- Add opa-fm-force-code-symbols-to-be-loaded.patch to fix around missing + symbol for version patching when LTO is enabled + +------------------------------------------------------------------- Old: ---- opa-fm-10.8.0.0.202.0.ced9dffecafa.tar.gz reproducible.patch New: ---- opa-fm-10.9.3.1.1.0.0236727e70cb.tar.gz opa-fm-force-code-symbols-to-be-loaded.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opa-fm.spec ++++++ --- /var/tmp/diff_new_pack.fyLAWH/_old 2019-10-18 14:31:23.580558233 +0200 +++ /var/tmp/diff_new_pack.fyLAWH/_new 2019-10-18 14:31:23.580558233 +0200 @@ -1,7 +1,7 @@ # # spec file for package opa-fm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,17 +12,17 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define git_ver .0.202.0.ced9dffecafa +%define git_ver .1.1.0.0236727e70cb %define pseudo_opt %{_prefix}/lib/opa-fm %define opasysconfdir %{_sysconfdir}/opa-fm/ %define opavarlibdir %{_localstatedir}/usr/lib/opa-fm/ Name: opa-fm -Version: 10.8.0 +Version: 10.9.3 Release: 0 Summary: Intel Omni-Path Fabric Management Software License: BSD-3-Clause @@ -32,7 +32,7 @@ Source1: %{name}-rpmlintrc Patch1: opa-fm-Fallback-to-custom-vendor-if-os_vendor-fails.patch Patch2: opa-fm-use-RPM_OPT_FLAGS.patch -Patch3: reproducible.patch +Patch3: opa-fm-force-code-symbols-to-be-loaded.patch BuildRequires: gcc-c++ BuildRequires: infiniband-diags-devel BuildRequires: libexpat-devel @@ -56,14 +56,14 @@ %setup -q -n %{name}-%{version}%{git_ver} %patch1 %patch2 -%patch3 -p1 +%patch3 %build export RPM_OPT_FLAGS if [ -d Esm ]; then cd Esm fi -./fmbuild +./fmbuild -r -C %install # directories @@ -132,7 +132,8 @@ /opt/opa-fm %config(noreplace) %{opasysconfdir}/opafm.xml -%doc README LICENSE +%doc README +%license LICENSE %{_prefix}/lib/systemd/system/opafm.service %{pseudo_opt}/bin/* ++++++ _service ++++++ --- /var/tmp/diff_new_pack.fyLAWH/_old 2019-10-18 14:31:23.620558129 +0200 +++ /var/tmp/diff_new_pack.fyLAWH/_new 2019-10-18 14:31:23.620558129 +0200 @@ -8,7 +8,7 @@ <param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> - <param name="revision">ced9dffecafaaa05f77f0b10ec6f011fddf5d766</param> + <param name="revision">0236727e70cbec41b5700d2cca25e998015fa278</param> </service> <service name="recompress" mode="disabled"> <param name="file">opa-fm*.tar</param> ++++++ opa-fm-10.8.0.0.202.0.ced9dffecafa.tar.gz -> opa-fm-10.9.3.1.1.0.0236727e70cb.tar.gz ++++++ /work/SRC/openSUSE:Factory/opa-fm/opa-fm-10.8.0.0.202.0.ced9dffecafa.tar.gz /work/SRC/openSUSE:Factory/.opa-fm.new.2352/opa-fm-10.9.3.1.1.0.0236727e70cb.tar.gz differ: char 13, line 1 ++++++ opa-fm-Fallback-to-custom-vendor-if-os_vendor-fails.patch ++++++ --- /var/tmp/diff_new_pack.fyLAWH/_old 2019-10-18 14:31:23.656558035 +0200 +++ /var/tmp/diff_new_pack.fyLAWH/_new 2019-10-18 14:31:23.656558035 +0200 @@ -1,4 +1,4 @@ -commit 39096d08575e62cf025a4fa2555b24ee5c19e23d +commit 27eef417f53ce83fa313f1e7f668a56d2dd764e1 Author: Nicolas Morey-Chaisemartin <[email protected]> Date: Mon Aug 28 14:07:34 2017 +0200 @@ -7,10 +7,10 @@ Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]> diff --git MakeTools/funcs-ext.sh MakeTools/funcs-ext.sh -index 56a85fd68afa..8c49f79bc6be 100755 +index 9aa4cd25e410..2f9689586caf 100755 --- MakeTools/funcs-ext.sh +++ MakeTools/funcs-ext.sh -@@ -710,31 +710,36 @@ function os_vendor() +@@ -734,31 +734,36 @@ function os_vendor() # Apple Mac rval=apple else ++++++ opa-fm-force-code-symbols-to-be-loaded.patch ++++++ commit 8ae7683f13cb82c93e4153f0ec5511373fa4da30 Author: Nicolas Morey-Chaisemartin <[email protected]> Date: Fri Sep 6 15:36:15 2019 +0200 opa-fm: force code symbols to be loaded When compiling with LTO, function like GetCodeInternalVersion might be dropped from the binary causing patch_version and the whole build to fail. Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]> diff --git CodeVersion/code_version.c CodeVersion/code_version.c index c8b77b41e86b..5cb90edd484a 100644 --- CodeVersion/code_version.c +++ CodeVersion/code_version.c @@ -53,7 +53,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // or the internal whatversion tool // #define ICS_BUILD_VERSION "THIS_IS_THE_ICS_VERSION_NUMBER:@(#)000.000.000.000B000" -const char* GetCodeVersion(void) +const char* __attribute__((used)) GetCodeVersion(void) { static const char* BuildVersion=ICS_BUILD_VERSION; static char* version; @@ -83,7 +83,7 @@ const char* GetCodeVersion(void) // or the internal whatversion tool // #define ICS_BUILD_INTERNAL_VERSION "THIS_IS_THE_ICS_INTERNAL_VERSION_NUMBER:@(#)000.000.000.000B000I0000" -const char* GetCodeInternalVersion(void) +const char* __attribute__((used)) GetCodeInternalVersion(void) { static const char* BuildVersion=ICS_BUILD_INTERNAL_VERSION; static char* version; @@ -112,7 +112,7 @@ const char* GetCodeInternalVersion(void) // or the internal whatversion tool // #define ICS_BUILD_BRAND "THIS_IS_THE_ICS_BRAND:Intel\000 " -const char* GetCodeBrand(void) +const char* __attribute__((used)) GetCodeBrand(void) { static const char* BuildBrand=ICS_BUILD_BRAND; static char* brand; ++++++ opa-fm-use-RPM_OPT_FLAGS.patch ++++++ --- /var/tmp/diff_new_pack.fyLAWH/_old 2019-10-18 14:31:23.692557942 +0200 +++ /var/tmp/diff_new_pack.fyLAWH/_new 2019-10-18 14:31:23.692557942 +0200 @@ -1,4 +1,4 @@ -commit e8e5f92c86bb863ec6342a4348ce94b476349ab9 +commit 925cdfe3fa7d06d7264782cc44fdf718170a47e7 Author: Nicolas Morey-Chaisemartin <[email protected]> Date: Mon Aug 28 14:06:36 2017 +0200 @@ -7,13 +7,13 @@ Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]> diff --git Esm/Makerules.project Esm/Makerules.project -index 1506ad302bc3..52520b03010f 100755 +index c3883708f1e0..58d74651b557 100755 --- Esm/Makerules.project +++ Esm/Makerules.project -@@ -123,6 +123,7 @@ BSCPROJ = +@@ -124,6 +124,7 @@ BSCPROJ = CPROJ = -DPRODUCT=$(PRODUCT) -DPRODUCT_$(PRODUCT) -DMODULEVERSION=$(MODULEVERSION) # include buildFeatureDefs to let inplace build work for stream consistency - CPROJ += -include $(TL_DIR)/buildFeatureDefs + CPROJ += -include $(TL_DIR)/Fd/buildFeatureDefs +CPROJ += $(RPM_OPT_FLAGS) ifeq ($(IB_STACK),OPENIB) CPROJ += -DIB_STACK_OPENIB
