Hello community,

here is the log from the commit of package ipmctl for openSUSE:Factory checked 
in at 2019-03-20 13:19:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ipmctl (Old)
 and      /work/SRC/openSUSE:Factory/.ipmctl.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ipmctl"

Wed Mar 20 13:19:15 2019 rev:5 rq:685359 version:01.00.00.3440

Changes:
--------
--- /work/SRC/openSUSE:Factory/ipmctl/ipmctl.changes    2019-02-01 
11:45:50.692527869 +0100
+++ /work/SRC/openSUSE:Factory/.ipmctl.new.28833/ipmctl.changes 2019-03-20 
13:19:16.449344096 +0100
@@ -1,0 +2,11 @@
+Wed Mar 13 17:14:58 UTC 2019 - [email protected]
+
+- Update to version v01.00.00.3440.
+  - Support more than 16 sockets.  [FATE#327556, bsc#1123735]
+  - Fix flashing FW of DCPMM modules.  [bsc#1128830]
+  (For detailed changes see 'ChangeLog.xz')
+- Update SafeC dependency (as used in 3440).
+- Refresh patch(es)
+  (ipmctl-python3.patch)
+
+-------------------------------------------------------------------

Old:
----
  ipmctl-01.00.00.3402.tar.gz
  libsafec-03032018.0-g570fa5.tar.gz
  libsafec-patches.tar

New:
----
  ipmctl-01.00.00.3440.tar.gz
  safeclib-3.3.v03032018+git7.59eba324.tar.xz
  safeclib-patches.tar

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ipmctl.spec ++++++
--- /var/tmp/diff_new_pack.HPDiPd/_old  2019-03-20 13:19:17.181343919 +0100
+++ /var/tmp/diff_new_pack.HPDiPd/_new  2019-03-20 13:19:17.181343919 +0100
@@ -19,12 +19,11 @@
 %define abi     3
 #define vgit    .1547861714.b7a59da
 %define vgit    %{nil}
-%define vSafeC  03032018
-%define pSafeC  rurban/safeclib/releases/download/v%{vSafeC}
+%define vSafeC  3.3.v03032018+git7.59eba324
 %bcond_with     precompiledSafeC
 
 Name:           ipmctl
-Version:        01.00.00.3402
+Version:        01.00.00.3440
 Release:        0
 Summary:        Utility for managing Intel Optane DC persistent memory modules
 License:        BSD-3-Clause
@@ -37,9 +36,9 @@
 %endif
 Source1:        ChangeLog.xz
 Source2:        %{name}-rpmlintrc
-Source10:       
https://github.com/%{pSafeC}/libsafec-%{vSafeC}.0-g570fa5.tar.gz
+Source10:       safeclib-%{vSafeC}.tar.xz
 Source11:       mkSafeC
-Source12:       libsafec-patches.tar
+Source12:       safeclib-patches.tar
 Patch1:         ipmctl-python3.patch
 
 Recommends:     logrotate
@@ -54,7 +53,7 @@
 BuildRequires:  systemd
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(libndctl) >= 58.2
-# for libsafec
+# for SafeC
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc
@@ -65,6 +64,7 @@
 # for impctl
 Obsoletes:      ixpdimm-cli < 01.00.00.3000
 # for (obsoleted) libipmctl2 et.al.
+Obsoletes:      ipmctl-data < %{version}
 Obsoletes:      ixpdimm-data < 01.00.00.3000
 Obsoletes:      ixpdimm_sw < 01.00.00.3000
 Obsoletes:      libixpdimm < 01.00.00.3000
@@ -112,7 +112,7 @@
 ! grep -lri 'INTEL CONFIDENTIAL' || exit 1
 
 %if %{with precompiledSafeC}
-  tar xfJ ../../SOURCES/libsafec-prebuild.tar.xz || sleep 5
+  tar xfJ ../../SOURCES/safeclib-prebuild.tar.xz || sleep 5
 %endif
 
 %build

++++++ ChangeLog.xz ++++++
++++ 4640 lines (skipped)
++++ between ChangeLog.xz
++++ and /work/SRC/openSUSE:Factory/.ipmctl.new.28833/ChangeLog.xz

++++++ _service ++++++
--- /var/tmp/diff_new_pack.HPDiPd/_old  2019-03-20 13:19:17.237343905 +0100
+++ /var/tmp/diff_new_pack.HPDiPd/_new  2019-03-20 13:19:17.237343905 +0100
@@ -1,6 +1,16 @@
 <services>
   <service name="tar_scm" mode="disabled">
     <param name="scm">git</param>
+    <param name="url">https://github.com/rurban/safeclib</param>
+    <param name="filename">safeclib</param>
+    <param name="versionprefix">3.3</param>
+    <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param>
+    <param name="revision">59eba324c20c07f7ca8190238dd415525f4925dc</param>
+    <param name="exclude">.git</param>
+    <param name="changesgenerate">enable</param>
+  </service>
+  <service name="tar_scm" mode="disabled">
+    <param name="scm">git</param>
     <param name="url">https://github.com/intel/ipmctl.git</param>
     <param name="filename">ipmctl</param>
     <param name="versionprefix">01.00.00.3394</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.HPDiPd/_old  2019-03-20 13:19:17.257343900 +0100
+++ /var/tmp/diff_new_pack.HPDiPd/_new  2019-03-20 13:19:17.257343900 +0100
@@ -1,4 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/intel/ipmctl.git</param>
-              <param 
name="changesrevision">b7a59dac174c4e8c5d1d15300b413eba274ea345</param></service></servicedata>
+              <param 
name="changesrevision">0320099f3792e9ab11ecc531c734d0048989f85b</param></service><service
 name="tar_scm">
+            <param name="url">https://github.com/rurban/safeclib</param>
+          <param 
name="changesrevision">59eba324c20c07f7ca8190238dd415525f4925dc</param></service></servicedata>
\ No newline at end of file

++++++ ipmctl-01.00.00.3402.tar.gz -> ipmctl-01.00.00.3440.tar.gz ++++++
/work/SRC/openSUSE:Factory/ipmctl/ipmctl-01.00.00.3402.tar.gz 
/work/SRC/openSUSE:Factory/.ipmctl.new.28833/ipmctl-01.00.00.3440.tar.gz 
differ: char 37, line 1

++++++ ipmctl-python3.patch ++++++
--- /var/tmp/diff_new_pack.HPDiPd/_old  2019-03-20 13:19:17.281343894 +0100
+++ /var/tmp/diff_new_pack.HPDiPd/_new  2019-03-20 13:19:17.281343894 +0100
@@ -19,7 +19,7 @@
  BaseTools/BinWrappers/PosixLike/UPT                       |    2 ++
  BaseTools/BinWrappers/PosixLike/build                     |    2 ++
  BaseTools/Tests/GNUmakefile                               |    2 +-
- 21 files changed, 48 insertions(+), 3 deletions(-)
+ 20 files changed, 39 insertions(+), 1 deletion(-)
 
 --- a/BaseTools/Bin/CYGWIN_NT-5.1-i686/Ecc
 +++ b/BaseTools/Bin/CYGWIN_NT-5.1-i686/Ecc

++++++ mkSafeC ++++++
--- /var/tmp/diff_new_pack.HPDiPd/_old  2019-03-20 13:19:17.313343887 +0100
+++ /var/tmp/diff_new_pack.HPDiPd/_new  2019-03-20 13:19:17.313343887 +0100
@@ -1,5 +1,9 @@
 #!/bin/bash
 
+#SafeC=libsafec
+SafeC=safeclib
+SafeCpatches="$1"; shift
+
 [ -r CMakeLists.txt ]
 
 perl -pi.00 -e '
@@ -16,33 +20,54 @@
 
 CONTRIB=$PWD/contrib
 if [ -d $CONTRIB/include ]; then
-   cd $CONTRIB/src/libsafec*
+   cd $CONTRIB/src/${SafeC}*
    LSC=${PWD##*/} 
    cp -p COPYING $CONTRIB/COPYING.$LSC
    sleep 2
    exit 0 
 fi
 
-mkdir -p contrib/src/patches/libsafec
+mkdir -p contrib/{src,patches/${SafeC}}
+
+mv ${SafeC}* contrib/src
 
-mv libsafec* contrib/src
-[ -z "$1" ] || tar xvfC "$1" contrib/src/patches/libsafec
-cd contrib/src/libsafec*
-for p in ../patches/libsafec/*.patch; do
-  patch -p1 < $p
-done
+cd contrib/src/${SafeC}*
+LSC=${PWD##*/} 
+API="$(perl -n -e 'print "$1\n"
+        if (m{AC_SUBST\(\[SAFEC_API_VERSION\], \[([0-9]+\.[0-9+])\]\)})
+       ' configure.ac)"
+SafeCver="${LSC##*-$API.v}"
+[ "$SafeCtar" != "$SafeCver" ] || {
+  echo "unsupported $SafeC version!" >&2
+  exit 1
+}
+SafeCver="${SafeCver%.tar.*}"
+SafeCver="${SafeCver/+git/-}"
+
+if [ -n "$SafeCpatches" -a  -s "$SafeCpatches" ]; then
+  tar xvfC "$SafeCpatches" ../../patches/${SafeC}
+  for p in ../../patches/${SafeC}/*.patch; do
+    patch -p1 < $p
+  done
+else
+  echo "$SafeCver" > .tarball-version
+  perl -pi.00 -e '
+    s{\[libsafec\]}{[safec-'"$API"']}
+  ' configure.ac
+  diff -u configure.ac{.00,} || sleep 4
+fi
 
-autoreconf -Wall --install
-./configure --disable-shared \
+autoreconf -Wall --install || exit
+./configure --disable-shared --disable-doc \
        --enable-static --enable-strmax=0x8000 \
        --prefix=$CONTRIB \
-       CFLAGS="$RPM_OPT_FLAGS -fPIC -DHAVE_C99"
-make $2
+       CFLAGS="$RPM_OPT_FLAGS -DHAVE_C99 -DNO_MSABI_VA_FUNCS -fPIC"
+make "$@"
 make install
 
-LSC=${PWD##*/} 
 cp -p COPYING $CONTRIB/COPYING.$LSC
 
-[ -d $CONTRIB/include/libsafec ] || exit 1
+[ -r $CONTRIB/include/*/safe_mem_lib.h ] || exit 1
+
 cd $CONTRIB/..
-tar cf /tmp/libsafec-prebuild.tar contrib
+tar cf /tmp/${SafeC}-prebuild.tar contrib


Reply via email to