Hello community, here is the log from the commit of package ixpdimm_sw for openSUSE:Factory checked in at 2018-02-26 23:24:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ixpdimm_sw (Old) and /work/SRC/openSUSE:Factory/.ixpdimm_sw.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ixpdimm_sw" Mon Feb 26 23:24:30 2018 rev:2 rq:579473 version:01.00.00.2287 Changes: -------- --- /work/SRC/openSUSE:Factory/ixpdimm_sw/ixpdimm_sw.changes 2017-08-22 11:08:18.991461371 +0200 +++ /work/SRC/openSUSE:Factory/.ixpdimm_sw.new/ixpdimm_sw.changes 2018-02-26 23:24:30.831711020 +0100 @@ -1,0 +2,5 @@ +Fri Feb 23 10:29:25 UTC 2018 - [email protected] + +- Coerce ixpdimm-cli to use "versioned" shared objects. (bsc#1073784) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ixpdimm_sw.spec ++++++ --- /var/tmp/diff_new_pack.Wi8jV0/_old 2018-02-26 23:24:31.723678941 +0100 +++ /var/tmp/diff_new_pack.Wi8jV0/_new 2018-02-26 23:24:31.727678798 +0100 @@ -1,8 +1,8 @@ # # spec file for package ixpdimm_sw # +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 Intel Corporation -# Copyright (c) 2016 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,6 +16,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + # allow building with SLE12-compatible package-names %bcond_with short-invm-dnames @@ -56,21 +57,21 @@ BuildRequires: distribution-release BuildRequires: gcc-c++ BuildRequires: libctemplate-devel +BuildRequires: libnuma-devel +BuildRequires: python +BuildRequires: sblim-cmpi-devel BuildRequires: pkgconfig(libkmod) -BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(libndctl) BuildRequires: pkgconfig(openssl) -BuildRequires: libnuma-devel -BuildRequires: sblim-cmpi-devel -BuildRequires: python +BuildRequires: pkgconfig(sqlite3) %if %{without short-invm-dnames} -BuildRequires: libinvm-i18n-devel >= %{min_i18n} BuildRequires: libinvm-cim-devel >= %{min_cim} BuildRequires: libinvm-cli-devel >= %{min_cli} +BuildRequires: libinvm-i18n-devel >= %{min_i18n} %else -BuildRequires: invm-i18n-devel >= %{min_i18n} BuildRequires: invm-cim-devel >= %{min_cim} BuildRequires: invm-cli-devel >= %{min_cli} +BuildRequires: invm-i18n-devel >= %{min_i18n} %endif %description @@ -82,10 +83,10 @@ Summary: API for development of %{product_name} management utilities Group: System/Libraries Requires: %{apibase}-data -Requires: libndctl6 >= 54 -Requires: libinvm-i18n1 >= %{min_i18n} -Requires: libinvm-cli1 >= %{min_cli} Requires: libinvm-cim1 >= %{min_cim} +Requires: libinvm-cli1 >= %{min_cli} +Requires: libinvm-i18n1 >= %{min_i18n} +Requires: libndctl6 >= 54 %description -n %{apiname} An application program interface (API) for configuring and managing @@ -170,6 +171,11 @@ perl -pi -e 's{(\$\(LIBS\) -o \$\@)}{\$(LDFLAGS) $1}' src/cli/makefile perl -pi -e 's{(\$\(LIBS\) -o \$\@)}{\$(LDFLAGS) $1}' src/monitor/makefile +# temporary fix for bsc#1073784 (introduced by SUSE packaging-guidelines) +perl -pi -e 'print "#define SFY( x) #x\n#define STRINGIFY(x) SFY(x)\n" + if s{("\.so",) 4}{$1 buffer_len}; s{"\.so"}{".so." STRINGIFY(__VERSION_MAJOR__)}g' \ + src/common/os/lnx_os.c + %build make BUILDNUM=%{version} RELEASE=1 \ DATADIR=%{_datadir} LINUX_PRODUCT_NAME=%{product_name} \
