commit qclib for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2020-10-23 12:21:03

Comparing /work/SRC/openSUSE:Factory/qclib (Old)
 and  /work/SRC/openSUSE:Factory/.qclib.new.3463 (New)


Package is "qclib"

Fri Oct 23 12:21:03 2020 rev:11 rq:843547 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2020-09-24 
16:14:14.564898541 +0200
+++ /work/SRC/openSUSE:Factory/.qclib.new.3463/qclib.changes2020-10-23 
12:22:17.904680679 +0200
@@ -1,0 +2,11 @@
+Mon Oct 19 17:58:26 UTC 2020 - Mark Post 
+
+- Upgraded to version 2.2.1 (jsc#SLE-13711)
+  Bug fixes:
+  - zhypinfo: Fix memory leaks
+  - Makefile: Various fixes
+- Removed obsolete qclib.makefile.libdir.patch.
+- Removed obsolete qclib.fix.missing.makefile.if.statement.patch.
+- Updated qclib.makefile.libdir.patch to fit the current version.
+
+---

Old:

  qclib-2.2.0.tgz
  qclib.fix.missing.makefile.if.statement.patch
  qclib.makefile.libdir.patch

New:

  qclib-2.2.1.tgz



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.QqzkoR/_old  2020-10-23 12:22:18.704681235 +0200
+++ /var/tmp/diff_new_pack.QqzkoR/_new  2020-10-23 12:22:18.704681235 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   qclib
-Version:2.2.0
+Version:2.2.1
 Release:0
 Summary:Query Capacity library
 License:BSD-3-Clause
@@ -25,8 +25,6 @@
 URL:
https://public.dhe.ibm.com/software/dw/linux390/ht_src/%{name}-%{version}.tgz
 Source: %{name}-%{version}.tgz
 Source1:%{name}-rpmlintrc
-Patch1: qclib.fix.missing.makefile.if.statement.patch
-Patch99:qclib.makefile.libdir.patch
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 ExclusiveArch:  s390 s390x
@@ -108,7 +106,7 @@
 %make_build doc test-sh
 
 %install
-%make_install LIBDIR=%{_lib} V=1
+%make_install V=1
 gzip -9 %{buildroot}/%{_mandir}/man8/*
 make installdoc DESTDIR=%{buildroot} V=1
 

++ qclib-2.2.0.tgz -> qclib-2.2.1.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.2.0/Makefile new/qclib-2.2.1/Makefile
--- old/qclib-2.2.0/Makefile2020-09-11 15:22:30.0 +0200
+++ new/qclib-2.2.1/Makefile2020-10-15 22:23:08.0 +0200
@@ -1,18 +1,25 @@
-# Copyright IBM Corp. 2013, 2017
+# Copyright IBM Corp. 2013, 2020
 
 # Versioning scheme: major.minor.bugfix
 # major : Backwards compatible changes to the API
 # minor : Additions leaving the API unmodified
 # bugfix: Bugfixes only
-VERSION  = 2.2.0
-VERM = $(shell echo $(VERSION) | cut -d '.' -f 1)
-CFLAGS  ?= -g -Wall -O2
-LDFLAGS ?=
+VERSION= 2.2.1
+VERM   = $(shell echo $(VERSION) | cut -d '.' -f 1)
+CFLAGS?= -g -Wall -O2
+LDFLAGS   ?=
+INSTFLAGS ?= -p
 CFILES  = query_capacity.c query_capacity_data.c query_capacity_sysinfo.c \
   query_capacity_sysfs.c query_capacity_hypfs.c query_capacity_sthyi.c
 OBJECTS = $(patsubst %.c,%.o,$(CFILES))
 .SUFFIXES: .o .c
-DOCDIR ?= /usr/share/doc/packages/
+PREFIX  ?= /usr
+BINDIR   = ${PREFIX}/bin
+DOCDIR  = ${PREFIX}/share/doc/packages
+INCDIR   = ${PREFIX}/include
+LIBDIR   = ${PREFIX}/lib64
+MANDIR   = ${PREFIX}/share/man
+
 
 ifneq ("${V}","1")
 MAKEFLAGS += --quiet
@@ -27,10 +34,6 @@
 TAR= $(call cmd,"  TAR   ",$@)tar
 GEN= $(call cmd,"  GEN   ",$@)grep
 
-INSTALL_FLAGS_BIN = -g $(GROUP) -o $(OWNER) -m755
-INSTALL_FLAGS_MAN = -g $(GROUP) -o $(OWNER) -m644
-INSTALL_FLAGS_LIB = -g $(GROUP) -o $(OWNER) -m755
-
 all: libqc.a libqc.so.$(VERSION) qc_test qc_test-sh zname zhypinfo
 
 hcpinfbk_qclib.h: hcpinfbk.h
@@ -48,16 +51,16 @@
ln -s libqc.so.$(VERSION) libqc.so.$(VERM)
 
 zname: zname.c zhypinfo.h libqc.so.$(VERSION)
-   $(CC) $(CFLAGS) -L. $< -o $@ libqc.so.$(VERSION)
+   $(CC) $(CFLAGS) $(LDFLAGS) -L. $< -o $@ libqc.so.$(VERSION)
 
 zhypinfo: zhypinfo.c zhypinfo.h libqc.so.$(VERSION)
-   $(CC) $(CFLAGS) -L. $< -o $@ libqc.so.$(VERSION)
+   $(CC) $(CFLAGS) $(LDFLAGS) -L. $< -o $@ libqc.so.$(VERSION)
 
 qc_test: qc_test.c libqc.a
$(CC) $(CFLAGS) -static $< -L. -lqc -o $@
 
 qc_test-sh: qc_test.c libqc.so.$(VERSION)
-   $(CC) $(CFLAGS) -L. $< -o $@ libqc.so.$(VERSION)
+   $(CC) $(CFLAGS) $(LDFLAGS) -L. $< -o $@ libqc.so.$(VERSION)
 
 test: qc_test
./$<
@@ -74,71 +77,27 @@
echo "Error: 'doxygen' not installed"; \
fi
 
-   cppcheck query_capacity*.[ch] 2>&1 | sed 's/^/   /'; \
-   else \
-   echo "cppcheck not available"; \
-   fi
-   @echo;
-   -@if which smatch >/dev/null 2>&1; then \
-   echo "Running smatch"; \
-   

commit qclib for openSUSE:Factory

2020-09-24 Thread root
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2020-09-24 16:13:40

Comparing /work/SRC/openSUSE:Factory/qclib (Old)
 and  /work/SRC/openSUSE:Factory/.qclib.new.4249 (New)


Package is "qclib"

Thu Sep 24 16:13:40 2020 rev:10 rq:836410 version:2.2.0

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2020-04-29 
20:43:13.843775357 +0200
+++ /work/SRC/openSUSE:Factory/.qclib.new.4249/qclib.changes2020-09-24 
16:14:14.564898541 +0200
@@ -1,0 +2,18 @@
+Wed Sep 16 18:27:21 UTC 2020 - Mark Post 
+
+- Upgraded to version 2.2.0 (jsc#SLE-13711)
+  Changes:
+  - Add new tools zname and zhypinfo
+  Bug fixes:
+  - KVM hosts in mixed mode LPARs indicated both, CPs and IFLs, while only
+CPs are actually used
+- Updated qclib.makefile.libdir.patch to apply against the current
+  version, and to make sure the two new man pages go to the right
+  directory.
+- Added qclib.fix.missing.makefile.if.statement.patch to correct a
+  problem in the Makefile.
+- Changed spec file from "make" to "%make_build" per spec-cleaner.
+- Updated the URL in the spec file to point to current location of
+  the package.
+
+---

Old:

  qclib-2.1.0.tgz

New:

  qclib-2.2.0.tgz
  qclib.fix.missing.makefile.if.statement.patch



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.JHk5CR/_old  2020-09-24 16:14:15.432899409 +0200
+++ /var/tmp/diff_new_pack.JHk5CR/_new  2020-09-24 16:14:15.436899413 +0200
@@ -17,15 +17,16 @@
 
 
 Name:   qclib
-Version:2.1.0
+Version:2.2.0
 Release:0
 Summary:Query Capacity library
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-URL:http://www.ibm.com/developerworks/linux/linux390/qclib.html
+URL:
https://public.dhe.ibm.com/software/dw/linux390/ht_src/%{name}-%{version}.tgz
 Source: %{name}-%{version}.tgz
 Source1:%{name}-rpmlintrc
-Patch1: qclib.makefile.libdir.patch
+Patch1: qclib.fix.missing.makefile.if.statement.patch
+Patch99:qclib.makefile.libdir.patch
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 ExclusiveArch:  s390 s390x
@@ -99,15 +100,16 @@
 
 %build
 MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
-make %{?_smp_mflags} all CFLAGS="${MYCFLAGS} %{optflags}" V=1
-make %{?_smp_mflags} doc
+%make_build all CFLAGS="${MYCFLAGS} %{optflags}"
+%make_build doc
 
 %check
-make %{?_smp_mflags} test
-make %{?_smp_mflags} test-sh
+%make_build doc test
+%make_build doc test-sh
 
 %install
 %make_install LIBDIR=%{_lib} V=1
+gzip -9 %{buildroot}/%{_mandir}/man8/*
 make installdoc DESTDIR=%{buildroot} V=1
 
 %post -n libqc2 -p /sbin/ldconfig
@@ -117,7 +119,11 @@
 %files
 %defattr(-,root,root)
 %dir %{_docdir}/%{name}
+%{_bindir}/zname
+%{_bindir}/zhypinfo
 %{_docdir}/%{name}/*
+%{_mandir}/man8/zname.8%{?ext_man}
+%{_mandir}/man8/zhypinfo.8%{?ext_man}
 
 %files -n libqc2
 %defattr(-,root,root)

++ qclib-2.1.0.tgz -> qclib-2.2.0.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.1.0/Makefile new/qclib-2.2.0/Makefile
--- old/qclib-2.1.0/Makefile2020-04-20 12:58:24.0 +0200
+++ new/qclib-2.2.0/Makefile2020-09-11 15:22:30.0 +0200
@@ -4,16 +4,15 @@
 # major : Backwards compatible changes to the API
 # minor : Additions leaving the API unmodified
 # bugfix: Bugfixes only
-VERSION = 2.1.0
-VERM= $(shell echo $(VERSION) | cut -d '.' -f 1)
-CFLAGS ?= -g -Wall -O2
+VERSION  = 2.2.0
+VERM = $(shell echo $(VERSION) | cut -d '.' -f 1)
+CFLAGS  ?= -g -Wall -O2
+LDFLAGS ?=
 CFILES  = query_capacity.c query_capacity_data.c query_capacity_sysinfo.c \
   query_capacity_sysfs.c query_capacity_hypfs.c query_capacity_sthyi.c
 OBJECTS = $(patsubst %.c,%.o,$(CFILES))
 .SUFFIXES: .o .c
-
-LEVEL := $(shell git log --pretty=format:'%h' -n 1)
-DATE  := $(shell git log --pretty=format:'%ai' -n 1)
+DOCDIR ?= /usr/share/doc/packages/
 
 ifneq ("${V}","1")
 MAKEFLAGS += --quiet
@@ -28,7 +27,11 @@
 TAR= $(call cmd,"  TAR   ",$@)tar
 GEN= $(call cmd,"  GEN   ",$@)grep
 
-all: libqc.a libqc.so.$(VERSION) qc_test qc_test-sh
+INSTALL_FLAGS_BIN = -g $(GROUP) -o $(OWNER) -m755
+INSTALL_FLAGS_MAN = -g $(GROUP) -o $(OWNER) -m644
+INSTALL_FLAGS_LIB = -g $(GROUP) -o $(OWNER) -m755
+
+all: libqc.a libqc.so.$(VERSION) qc_test qc_test-sh zname zhypinfo
 
 hcpinfbk_qclib.h: hcpinfbk.h
$(GEN) -ve "^#pragma " $< > $@  # strip off z/VM specific pragmas
@@ -40,10 +43,16 @@
$(AR) rcs $@ $^
 
 libqc.so.$(VERSION): $(OBJECTS)
-   $(LINK) -Wl,-soname,libqc.so.$(VERM) -shared $

commit qclib for openSUSE:Factory

2020-04-29 Thread root
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2020-04-29 20:43:07

Comparing /work/SRC/openSUSE:Factory/qclib (Old)
 and  /work/SRC/openSUSE:Factory/.qclib.new.2738 (New)


Package is "qclib"

Wed Apr 29 20:43:07 2020 rev:9 rq:798380 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2020-03-11 
18:32:36.674908420 +0100
+++ /work/SRC/openSUSE:Factory/.qclib.new.2738/qclib.changes2020-04-29 
20:43:13.843775357 +0200
@@ -1,0 +2,15 @@
+Mon Apr 27 18:42:51 UTC 2020 - Mark Post 
+
+- Upgraded to version 2.1.0 (bsc#1170410)
+  Changes:
+  - New attributes in support of secure boot in all final layers:
+ * qc_has_secure
+ * qc_secure
+Note: Changed src column indicator from 'o' to 'F' to summarize
+  firmware-related data
+  - Recognize IBM z15 midrange models
+  Bug fixes:
+  - qc_open(): Memory leaks on errors
+- Removed obsolete 
qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch.
+
+---

Old:

  qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch
  qclib-2.0.1.tgz

New:

  qclib-2.1.0.tgz



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.Lu5jiC/_old  2020-04-29 20:43:14.663777495 +0200
+++ /var/tmp/diff_new_pack.Lu5jiC/_new  2020-04-29 20:43:14.66506 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   qclib
-Version:2.0.1
+Version:2.1.0
 Release:0
 Summary:Query Capacity library
 License:BSD-3-Clause
@@ -26,7 +26,6 @@
 Source: %{name}-%{version}.tgz
 Source1:%{name}-rpmlintrc
 Patch1: qclib.makefile.libdir.patch
-Patch2: 
qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 ExclusiveArch:  s390 s390x

++ qclib-2.0.1.tgz -> qclib-2.1.0.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.0.1/Makefile new/qclib-2.1.0/Makefile
--- old/qclib-2.0.1/Makefile2020-01-08 22:26:50.0 +0100
+++ new/qclib-2.1.0/Makefile2020-04-20 12:58:24.0 +0200
@@ -4,11 +4,11 @@
 # major : Backwards compatible changes to the API
 # minor : Additions leaving the API unmodified
 # bugfix: Bugfixes only
-VERSION = 2.0.1
+VERSION = 2.1.0
 VERM= $(shell echo $(VERSION) | cut -d '.' -f 1)
 CFLAGS ?= -g -Wall -O2
-CFILES  = query_capacity.c query_capacity_data.c query_capacity_sysinfo.c 
query_capacity_ocf.c \
-  query_capacity_hypfs.c query_capacity_sthyi.c
+CFILES  = query_capacity.c query_capacity_data.c query_capacity_sysinfo.c \
+  query_capacity_sysfs.c query_capacity_hypfs.c query_capacity_sthyi.c
 OBJECTS = $(patsubst %.c,%.o,$(CFILES))
 .SUFFIXES: .o .c
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.0.1/README new/qclib-2.1.0/README
--- old/qclib-2.0.1/README  2020-01-08 22:26:50.0 +0100
+++ new/qclib-2.1.0/README  2020-04-20 12:58:24.0 +0200
@@ -27,9 +27,9 @@
 Instruction'.
   * hypfs file system - for more information, refer to 'Device Drivers,
 Features, and Commands', chapter 'S/390 hypervisor file system'.
-  * Firmware interface /sys/firmware/ocf - for more information, refer to
-'Device Drivers, Features, and Commands', chapter 'Identifying the z
-Systems hardware'.
+  * Firmware and other interfaces as made available through sysfs. For more
+information, refer to 'Device Drivers, Features, and Commands', chapter
+'Identifying the z Systems hardware'.
 
 Please refer to:
http://www.ibm.com/developerworks/linux/linux390/qclib.html
@@ -93,7 +93,19 @@
 Release History:
 
 
-2.0.1
+2.1.0 (2020-04-20)
+Changes:
+- New attributes in support of secure boot in all final layers:
+ * qc_has_secure
+ * qc_secure
+  Note: Changed src column indicator from 'o' to 'F' to summarize
+firmware-related data
+- Recognize IBM z15 midrange models
+
+Bug fixes:
+- qc_open(): Memory leaks on errors
+
+2.0.1 (2020-01-07)
 Changes:
 - Retry up to three times when a live guest migration is detected
 
@@ -103,7 +115,7 @@
   qc_num_cpu_* attributes.
 - qc_dump: Handle non-writable /tmp
 
-2.0.0
+2.0.0 (2019-11-11)
 Changes:
 - Add support for z/OS Container Extensions (zCX)
 - New attributes in layer CEC:
@@ -119,13 +131,13 @@
 - Disabled v1 compatibility functionality per default. To re-enable,
   activate CONFIG_V1_COMPATIBILITY in query_capacity.h.
 
-1.4.1
+1.4.1 (2018-06-25)
 Bug fixes:
 - qc_dump: Don't abort the 

commit qclib for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2020-03-11 18:32:27

Comparing /work/SRC/openSUSE:Factory/qclib (Old)
 and  /work/SRC/openSUSE:Factory/.qclib.new.3160 (New)


Package is "qclib"

Wed Mar 11 18:32:27 2020 rev:8 rq:782230 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2020-02-14 
16:30:23.723354166 +0100
+++ /work/SRC/openSUSE:Factory/.qclib.new.3160/qclib.changes2020-03-11 
18:32:36.674908420 +0100
@@ -1,0 +2,7 @@
+Tue Mar  3 19:38:58 UTC 2020 - Mark Post 
+
+- Added qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch
+  Add an attribute in qclib so that we can programmatically detect
+  if secure boot is available and active in the current LPAR. (bsc#1165018).
+
+---

New:

  qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.3MU9Oo/_old  2020-03-11 18:32:37.134908702 +0100
+++ /var/tmp/diff_new_pack.3MU9Oo/_new  2020-03-11 18:32:37.142908707 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qclib
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2017-2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 Source: %{name}-%{version}.tgz
 Source1:%{name}-rpmlintrc
 Patch1: qclib.makefile.libdir.patch
+Patch2: 
qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 ExclusiveArch:  s390 s390x

++ qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch ++
 873 lines (skipped)




commit qclib for openSUSE:Factory

2020-02-14 Thread root
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2020-02-14 16:30:17

Comparing /work/SRC/openSUSE:Factory/qclib (Old)
 and  /work/SRC/openSUSE:Factory/.qclib.new.26092 (New)


Package is "qclib"

Fri Feb 14 16:30:17 2020 rev:7 rq:770574 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2020-01-24 
14:20:48.226611744 +0100
+++ /work/SRC/openSUSE:Factory/.qclib.new.26092/qclib.changes   2020-02-14 
16:30:23.723354166 +0100
@@ -1,0 +2,5 @@
+Wed Jan 22 16:01:05 UTC 2020 - Martin Pluskal 
+
+- Make building more verbose
+
+---



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.G5HHvF/_old  2020-02-14 16:30:24.523354600 +0100
+++ /var/tmp/diff_new_pack.G5HHvF/_new  2020-02-14 16:30:24.523354600 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qclib
 #
-# Copyright (c) 2017-2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -99,7 +99,7 @@
 
 %build
 MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
-make %{?_smp_mflags} all CFLAGS="${MYCFLAGS} %{optflags}"
+make %{?_smp_mflags} all CFLAGS="${MYCFLAGS} %{optflags}" V=1
 make %{?_smp_mflags} doc
 
 %check




commit qclib for openSUSE:Factory

2020-01-24 Thread root
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2020-01-24 14:20:46

Comparing /work/SRC/openSUSE:Factory/qclib (Old)
 and  /work/SRC/openSUSE:Factory/.qclib.new.26092 (New)


Package is "qclib"

Fri Jan 24 14:20:46 2020 rev:6 rq:766137 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2019-12-02 
11:35:58.110430722 +0100
+++ /work/SRC/openSUSE:Factory/.qclib.new.26092/qclib.changes   2020-01-24 
14:20:48.226611744 +0100
@@ -1,0 +2,12 @@
+Tue Jan 21 18:28:32 UTC 2020 - Mark Post 
+
+- Upgraded to version 2.0.1 (bsc#1160745)
+  Changes:
+  - Retry up to three times when a live guest migration is detected
+  Bug fixes:
+  - Attribute qc_num_ziip_threads in CEC layer was not correctly set.
+  - Do not account zIIPs in layer QC_LAYER_TYPE_ZOS_ZCX_SERVER for
+qc_num_cpu_* attributes.
+  - qc_dump: Handle non-writable /tmp
+
+---

Old:

  qclib-2.0.0.tgz

New:

  qclib-2.0.1.tgz



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.Y8oCVd/_old  2020-01-24 14:20:48.714611915 +0100
+++ /var/tmp/diff_new_pack.Y8oCVd/_new  2020-01-24 14:20:48.718611917 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qclib
 #
-# Copyright (c) 2017-2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017-2020 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
@@ -17,7 +17,7 @@
 
 
 Name:   qclib
-Version:2.0.0
+Version:2.0.1
 Release:0
 Summary:Query Capacity library
 License:BSD-3-Clause

++ qclib-2.0.0.tgz -> qclib-2.0.1.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.0.0/Makefile new/qclib-2.0.1/Makefile
--- old/qclib-2.0.0/Makefile2019-11-15 09:00:05.0 +0100
+++ new/qclib-2.0.1/Makefile2020-01-08 22:26:50.0 +0100
@@ -4,7 +4,7 @@
 # major : Backwards compatible changes to the API
 # minor : Additions leaving the API unmodified
 # bugfix: Bugfixes only
-VERSION = 2.0.0
+VERSION = 2.0.1
 VERM= $(shell echo $(VERSION) | cut -d '.' -f 1)
 CFLAGS ?= -g -Wall -O2
 CFILES  = query_capacity.c query_capacity_data.c query_capacity_sysinfo.c 
query_capacity_ocf.c \
@@ -12,6 +12,9 @@
 OBJECTS = $(patsubst %.c,%.o,$(CFILES))
 .SUFFIXES: .o .c
 
+LEVEL := $(shell git log --pretty=format:'%h' -n 1)
+DATE  := $(shell git log --pretty=format:'%ai' -n 1)
+
 ifneq ("${V}","1")
 MAKEFLAGS += --quiet
cmd = echo $1$2;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.0.0/README new/qclib-2.0.1/README
--- old/qclib-2.0.0/README  2019-11-15 09:00:05.0 +0100
+++ new/qclib-2.0.1/README  2020-01-08 22:26:50.0 +0100
@@ -93,13 +93,24 @@
 Release History:
 
 
+2.0.1
+Changes:
+- Retry up to three times when a live guest migration is detected
+
+Bug fixes:
+- Attribute qc_num_ziip_threads in CEC layer was not correctly set.
+- Do not account zIIPs in layer QC_LAYER_TYPE_ZOS_ZCX_SERVER for
+  qc_num_cpu_* attributes.
+- qc_dump: Handle non-writable /tmp
+
 2.0.0
 Changes:
+- Add support for z/OS Container Extensions (zCX)
 - New attributes in layer CEC:
  * qc_type_name
  * qc_type_family
  * qc_lic_identifier
-- qc_test: Reworked output for subtle consistency improvements
+- qc_test: Reworked output for subtle consistency improvements.
 - Replaced attribute qc_hardlimit_consumption with
   qc_limithard_consumption. Use CONFIG_V1_COMPATIBILITY for previous
   version.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.0.0/hcpinfbk.h new/qclib-2.0.1/hcpinfbk.h
--- old/qclib-2.0.0/hcpinfbk.h  2019-11-15 09:00:05.0 +0100
+++ new/qclib-2.0.1/hcpinfbk.h  2020-01-08 22:26:50.0 +0100
@@ -317,7 +317,7 @@
 #define infgpuccp  0x00/* General Purpose (CP)  
@VRLDWDN */
 #define infgpucifl 0x03/* Integrated Fac for Linux (IFL).   
@VRLDWDN */
 #define infgpuczip 0x05/* zSeries Integrated Information   
  */
-#define infgpucspl 0xFF/* May be dispatched on zIIP and CP 
  */
+#define infgpuczcp 0xFF/* May be dispatched on zIIP and CP 
  */
 /* Values for field "infgpflg" */
 #define infgpclh   0x80/* Resource Pool's CP virtual type  
  */
 #define infgpcpc   0x40 

commit qclib for openSUSE:Factory

2019-12-02 Thread root
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2019-12-02 11:31:22

Comparing /work/SRC/openSUSE:Factory/qclib (Old)
 and  /work/SRC/openSUSE:Factory/.qclib.new.4691 (New)


Package is "qclib"

Mon Dec  2 11:31:22 2019 rev:5 rq:751139 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2019-05-03 
22:23:15.855991402 +0200
+++ /work/SRC/openSUSE:Factory/.qclib.new.4691/qclib.changes2019-12-02 
11:35:58.110430722 +0100
@@ -1,0 +2,18 @@
+Wed Nov 20 00:43:26 UTC 2019 - Mark Post 
+
+- Upgraded to verson 2.0.0 (jsc#SLE-7867)
+  Changes:
+  * New attributes in layer CEC:
+   * qc_type_name
+   * qc_type_family
+   * qc_lic_identifier
+  * qc_test: Reworked output for subtle consistency improvements
+  * Replaced attribute qc_hardlimit_consumption with
+qc_limithard_consumption. Use CONFIG_V1_COMPATIBILITY for previous
+version.
+  * Require CONFIG_DUMP_READING in query_capacity.h to allow running from a
+dump. Disabled by default.
+  * Disabled v1 compatibility functionality per default. To re-enable,
+activate CONFIG_V1_COMPATIBILITY in query_capacity.h.
+
+---
@@ -4,2 +22 @@
-- Upgraded to version 1.4.1 (jsc#SLE-5908)
-  Version 1.4.1
+- Upgraded to version 1.4.1 (bsc#1135781, Fate#327836, jsc#SLE-5908)
@@ -12,0 +30,6 @@
+I.e. switched from qc_num_cpu_* to qc_num_core_* attributes in layers
+CEC, LPAR, ZVM_HYPERVISOR and KVM_HYPERVISOR.
+NOTE: qc_num_cpu_* attributes remain to be valid in these cases to
+  preserve backwards compatibility for now. This will be removed in
+  one of the next releases! It is recommended to switch to the new
+  attributes _now_ and test with CONFIG_V1_COMPATIBILITY disabled!
@@ -21 +44,5 @@
-issues (see section 'Bug fixes').
+issues (see section 'Bug fixes'). Since all Linux distributions ship
+with debugfs (providing binary hypfs support), overriding textual hypfs,
+for years, this change will hardly ever be noticable. Enable define
+CONFIG_TEXTUAL_HYPFS in query_capacity.h to revert.
+Note that textual hypfs support will be removed in a future release.
@@ -25,0 +53,3 @@
+Background: Textual hypfs cannot tell whether a core is configured or
+not. It therefore reports all cores as configured, which can
+be wrong.
@@ -39 +69 @@
-Thu Aug  9 23:14:55 UTC 2018 - mp...@suse.com
+Fri Dec  8 22:07:04 UTC 2017 - mp...@suse.com
@@ -45 +75 @@
-Wed Aug  1 23:15:13 UTC 2018 - mp...@suse.com
+Thu Nov  2 20:03:27 UTC 2017 - mp...@suse.com

Old:

  qclib-1.4.1.tgz

New:

  qclib-2.0.0.tgz



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.6G2Qhw/_old  2019-12-02 11:35:58.518430808 +0100
+++ /var/tmp/diff_new_pack.6G2Qhw/_new  2019-12-02 11:35:58.518430808 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qclib
 #
-# Copyright (c) 2017, 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017-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
@@ -17,7 +17,7 @@
 
 
 Name:   qclib
-Version:1.4.1
+Version:2.0.0
 Release:0
 Summary:Query Capacity library
 License:BSD-3-Clause
@@ -65,18 +65,20 @@
   * hypfs file system - for more information, refer to 'Device Drivers,
 Features, and Commands', chapter 'S/390 hypervisor file system'.
 
-%package -n libqc1
+%package -n libqc2
 Summary:Query Capacity Library shared library
 Group:  System/Libraries
+Obsoletes:  libqc1
+Provides:   libqc1
 
-%description -n libqc1
+%description -n libqc2
 qclib provides a C API for extraction of system information for Linux on z
 Systems.
 
 %package devel
 Summary:Development files for Query Capacity library
 Group:  Development/Libraries/C and C++
-Requires:   libqc1 = %{version}-%{release}
+Requires:   libqc2 = %{version}-%{release}
 
 %description devel
 qclib provides a C API for extraction of system information for Linux on z
@@ -85,7 +87,7 @@
 %package devel-static
 Summary:Development files for Query Capacity library
 Group:  Development/Libraries/C and C++
-Requires:   libqc1 = %{version}-%{release}
+Requires:   libqc2 = %{version}-%{release}
 Requires:   qclib-devel = %{version}-%{release}
 
 %description devel-static
@@ -93,8 +95,7 @@
 Systems.
 
 %prep
-%setup -q
-%patch1 -p1
+%autosetup -p 1
 
 %build
 MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
@@ -109,16 +110,16 @@
 %make_install LIBDI

commit qclib for openSUSE:Factory

2019-05-03 Thread root
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2019-05-03 22:23:14

Comparing /work/SRC/openSUSE:Factory/qclib (Old)
 and  /work/SRC/openSUSE:Factory/.qclib.new.5148 (New)


Package is "qclib"

Fri May  3 22:23:14 2019 rev:4 rq:699778 version:1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2017-12-13 
11:55:47.272152916 +0100
+++ /work/SRC/openSUSE:Factory/.qclib.new.5148/qclib.changes2019-05-03 
22:23:15.855991402 +0200
@@ -2 +2 @@
-Fri Dec  8 22:07:04 UTC 2017 - mp...@suse.com
+Mon Apr 22 19:57:20 UTC 2019 - Mark Post 
@@ -4 +4,39 @@
-- Added qclib-sles15-fix-mismatch-case-with-STHYI.patch (bsc#1071687).
+- Upgraded to version 1.4.1 (jsc#SLE-5908)
+  Version 1.4.1
+  Bug fixes:
+  * qc_dump: Don't abort the dump in case qc_test fails.
+  * Attributes qc_cp_weight_capping and qc_ifl_weight_capping were set even
+when initial capping was not set in the LPAR's activation profile.
+  Version 1.4.0
+  Changes:
+  * Added SMT support by properly differentiating between cores and CPUs.
+  * Added new attributes qc_num_threads_cp and qc_num_threads_ifl to layers
+CEC, LPAR and ZVM_HYPERVISOR.
+  * Deprecated attribute qc_mobility_eligible (remains valid for now) and
+replaced with qc_mobility_enabled to match z/VM terminology. Likewise
+switched QC_LAYER_TYPE_ZVM_CPU_POOL to QC_LAYER_TYPE_ZVM_RESOURCE_POOL.
+  * Moved build customization defines (e.g. CONFIG_V1_COMPATIBILITY) to
+query_capacity.h.
+  * Don't build with textual hypfs per default anymore due to unrecoverable
+issues (see section 'Bug fixes').
+  Bug fixes:
+  * Added an exception to consistency check to ignore inconsistencies between
+textual hypfs and STHYI for attributes qc_num_cp_total and
+qc_num_ifl_total in the LPAR layer.
+  Version 1.3.1
+  Bug fixes:
+  * Security: Fix PATH attack vulnerability when dumping (see QC_DEBUG=2)
+  * STHYI: Add fallback for pre-glibc 2.16 (not using getauxval())
+  * Handle mismatching STHYI and /proc/sysinfo layer counts
+  * On LPAR, fix incomplete dump of binary hypfs when textual hypfs is mounted
+- Dropped obsolete qclib-sles15-fix-mismatch-case-with-STHYI.patch.
+- Updated qclib.makefile.libdir.patch to apply cleanly to the new version.
+- Made numerous changes to the spec file based on the output from
+  spec-cleaner.
+- Updated qclib-rpmlintrc file to catch all duplicate file messages
+ 
+---
+Thu Aug  9 23:14:55 UTC 2018 - mp...@suse.com
+
+- Added qclib-sles15-fix-mismatch-case-with-STHYI.patch
+  (bsc#1071687, bsc#1104304).
@@ -7 +45 @@
-Thu Nov  2 20:03:27 UTC 2017 - mp...@suse.com
+Wed Aug  1 23:15:13 UTC 2018 - mp...@suse.com
@@ -9 +47 @@
-- Upgraded to version 1.3.0
+- Upgraded to version 1.3.0 (Fate#325039)

Old:

  qclib-1.3.0.tgz
  qclib-sles15-fix-mismatch-case-with-STHYI.patch

New:

  qclib-1.4.1.tgz



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.quKiVA/_old  2019-05-03 22:23:16.295992346 +0200
+++ /var/tmp/diff_new_pack.quKiVA/_new  2019-05-03 22:23:16.295992346 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qclib
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017, 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,24 +12,22 @@
 # 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/
 #
 
 
 Name:   qclib
-Version:1.3.0
+Version:1.4.1
 Release:0
 Summary:Query Capacity library
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Url:http://www.ibm.com/developerworks/linux/linux390/qclib.html
+URL:http://www.ibm.com/developerworks/linux/linux390/qclib.html
 Source: %{name}-%{version}.tgz
 Source1:%{name}-rpmlintrc
 Patch1: qclib.makefile.libdir.patch
-Patch2: qclib-sles15-fix-mismatch-case-with-STHYI.patch
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  s390 s390x
 %if 0%{?suse_version} > 1300
 BuildRequires:  glibc-devel-static
@@ -97,16 +95,15 @@
 %prep
 %setup -q
 %patch1 -p1
-%patch2 -p1
 
 %build
 MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
-make all CFLAGS="${MYCFLAGS} %{optflags}"
-make doc
+make %{?_smp_mflags} all CFLAGS="${MYCFLAGS} %{optflags}"
+make %{?

commit qclib for openSUSE:Factory

2017-12-13 Thread root
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2017-12-13 11:55:45

Comparing /work/SRC/openSUSE:Factory/qclib (Old)
 and  /work/SRC/openSUSE:Factory/.qclib.new (New)


Package is "qclib"

Wed Dec 13 11:55:45 2017 rev:3 rq:555781 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2017-12-06 
08:53:44.087646993 +0100
+++ /work/SRC/openSUSE:Factory/.qclib.new/qclib.changes 2017-12-13 
11:55:47.272152916 +0100
@@ -1,0 +2,5 @@
+Fri Dec  8 22:07:04 UTC 2017 - mp...@suse.com
+
+- Added qclib-sles15-fix-mismatch-case-with-STHYI.patch (bsc#1071687).
+
+---

New:

  qclib-sles15-fix-mismatch-case-with-STHYI.patch



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.34mkCs/_old  2017-12-13 11:55:48.432096921 +0100
+++ /var/tmp/diff_new_pack.34mkCs/_new  2017-12-13 11:55:48.432096921 +0100
@@ -26,6 +26,7 @@
 Source: %{name}-%{version}.tgz
 Source1:%{name}-rpmlintrc
 Patch1: qclib.makefile.libdir.patch
+Patch2: qclib-sles15-fix-mismatch-case-with-STHYI.patch
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -96,6 +97,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 %build
 MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)

++ qclib-sles15-fix-mismatch-case-with-STHYI.patch ++
commit 13d7aafb0cb8946880abbb73725b0340bec1cd3a
Author: Stefan Raspl 
Date:   Fri Dec 8 22:11:29 2017 +0100

STHYI: Fix mismatch case with STHYI and /proc/sysinfo data

Reported via Bz162324. Symptom was that qclib wouldn't work on a z/VM 5.4.
Analysis revealed that although the STHYI instruction wasn't available, the
newly added STHYI syscall would work, but (as intended) reported only layers
up to LPAR. In contrast, /proc/sysinfo would report all layers, including 
the
z/VM layer. Some detection logic kicked in and reported an error.
The problem was rooted in a bizarr combination of multiple glitches:
* An (unnecessary) extra handling for z/VM that was previously added would
  raise an error on mismatching layer counts in STHYI and /proc/sysinfo. 
This
  was to detect cases with more than 3 levels of nested virtualization. But 
the
  check just was for mismatching counts and didn't check for the 3 layers
  reported by STHYI at all.
* Furthermore, the check mentioned above was unnecessary to begin with: When
  STHYI reports data for 3 VM layers, and /proc/sysinfo for more, then the
  extra layers will simply not get any data from STHYI - no harm done.
* STHYI in KVM worked like a charm ever since, though it is supposed to fail
  with the same error as z/VM since STHYI in KVM (and likewise the syscall 
in
  LPARs) cannot report data beyond the LPAR layer - it should result in the
  same mismatch that z/VM experienced. However, the respective routines 
would
  only ever consider VM layers in z/VM and ignore the ones in KVM! Hence all
  layers beyond LPAR wouldn't be accounted for on KVM!
To fix, we're ripping out the extra check, and rewrite the remaining code to
handle z/VM and KVM alike.
Furthermore, we rename "STHYI@VM" to "STHYI instruction", and "STHYI@LPAR" 
to
"STHYI syscall" for improved clarity.

diff --git a/query_capacity_sthyi.c b/query_capacity_sthyi.c
index b3bd9e8..688062f 100644
--- a/query_capacity_sthyi.c
+++ b/query_capacity_sthyi.c
@@ -91,16 +91,16 @@ static int qc_sthyi_lpar(struct qc_handle *hdl, struct 
sthyi_priv *priv) {
 #ifdef __NR_s390_sthyi
sthyi = __NR_s390_sthyi
 #endif
-   qc_debug(hdl, "Try STHYI@LPAR\n");
+   qc_debug(hdl, "Try STHYI syscall\n");
if (syscall(sthyi, 0, priv->data, &cc, 0) || cc) {
if (errno == ENOSYS) {
-   qc_debug(hdl, "STHYI@LPAR is not available\n");
+   qc_debug(hdl, "STHYI syscall is not available\n");
return 0;
}
-   qc_debug(hdl, "Error: STHYI@LPAR execution failed: errno='%s', 
cc=%" PRIu64 "\n", strerror(errno), cc);
+   qc_debug(hdl, "Error: STHYI syscall execution failed: 
errno='%s', cc=%" PRIu64 "\n", strerror(errno), cc);
return -1;
}
-   qc_debug(hdl, "STHYI@LPAR succeeded\n");
+   qc_debug(hdl, "STHYI syscall succeeded\n");
priv->avail = STHYI_AVAILABLE;
 #endif
 
@@ -281,25 +281,15 @@ static int qc_parse_sthyi_guest(struct qc_handle *gst, 
struct inf0gst *guest) {
return 0;
 }
 
-static int qc_get_num_vm_layers(struct qc_handle *hdl, int *rc) {
-   int i;
-
-   for (hdl = 

commit qclib for openSUSE:Factory

2017-12-05 Thread root
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2017-12-06 08:53:42

Comparing /work/SRC/openSUSE:Factory/qclib (Old)
 and  /work/SRC/openSUSE:Factory/.qclib.new (New)


Package is "qclib"

Wed Dec  6 08:53:42 2017 rev:2 rq:546853 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2017-04-14 
13:40:29.475900486 +0200
+++ /work/SRC/openSUSE:Factory/.qclib.new/qclib.changes 2017-12-06 
08:53:44.087646993 +0100
@@ -1,0 +2,20 @@
+Thu Nov  2 20:03:27 UTC 2017 - mp...@suse.com
+
+- Upgraded to version 1.3.0
+  Changes:
+  * Added STHYI support in LPAR
+  * Added new env variable QC_DEBUG_FILE (see qc_open())
+  Note: Failure to open a file for logging is now treated as a fatal error
+  * Added script qc_dump to collect debug data in a standardized manner
+  * Added attributes qc_layer_uuid and qc_layer_extended_name to LPAR layer
+  * /proc/sysinfo parsing: Switch from "KVM/Linux" to the less strict "KVM"
+  to detect KVM systems
+  * Detect unregistered and closed handles
+  * Makefile: Compile SONAME into shared library
+  Bug fixes:
+  * STHYI: Properly support cc==3&&rc==4 as introduced in APAR VM65419
+  * Logs: Fix month in timestamp (was off by 1)
+  * qc_test: Fix flags for qc_layer_name in QC_LAYER_TYPE_ZVM_HYPERVISOR
+- Dropped obsolete patch qclib.correctly.interpret.sthyi.check.patch
+
+---

Old:

  qclib-1.2.0.tgz
  qclib.correctly.interpret.sthyi.check.patch

New:

  qclib-1.3.0.tgz



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.AFA8A0/_old  2017-12-06 08:53:44.823620050 +0100
+++ /var/tmp/diff_new_pack.AFA8A0/_new  2017-12-06 08:53:44.823620050 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   qclib
-Version:1.2.0
+Version:1.3.0
 Release:0
 Summary:Query Capacity library
 License:BSD-3-Clause
@@ -26,7 +26,6 @@
 Source: %{name}-%{version}.tgz
 Source1:%{name}-rpmlintrc
 Patch1: qclib.makefile.libdir.patch
-Patch2: qclib.correctly.interpret.sthyi.check.patch
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -77,8 +76,8 @@
 
 %package devel
 Summary:Development files for Query Capacity library
-Requires:   libqc1 = %{version}-%{release}
 Group:  Development/Libraries/C and C++
+Requires:   libqc1 = %{version}-%{release}
 
 %description devel
 qclib provides a C API for extraction of system information for Linux on z
@@ -86,9 +85,9 @@
 
 %package devel-static
 Summary:Development files for Query Capacity library
+Group:  Development/Libraries/C and C++
 Requires:   libqc1 = %{version}-%{release}
 Requires:   qclib-devel = %{version}-%{release}
-Group:  Development/Libraries/C and C++
 
 %description devel-static
 qclib provides a C API for extraction of system information for Linux on z
@@ -97,7 +96,6 @@
 %prep
 %setup -q
 %patch1 -p1
-%patch2 -p1
 
 %build
 MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)

++ qclib-1.2.0.tgz -> qclib-1.3.0.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-1.2.0/Makefile new/qclib-1.3.0/Makefile
--- old/qclib-1.2.0/Makefile2016-06-03 09:14:01.0 +0200
+++ new/qclib-1.3.0/Makefile2017-10-24 07:02:42.0 +0200
@@ -1,12 +1,12 @@
-# Copyright IBM Corp. 2013, 2015
+# Copyright IBM Corp. 2013, 2017
 
 # Versioning scheme: major.minor.bugfix
 # major : Backwards compatible changes to the API
 # minor : Additions leaving the API unmodified
 # bugfix: Bugfixes only
-VERM= 1
-VERSION = $(VERM).2.0
-CFLAGS  = -g -Wall -O2
+VERSION = 1.3.0
+VERM= $(shell echo $(VERSION) | cut -d '.' -f 1)
+CFLAGS ?= -g -Wall -O2
 CFILES  = query_capacity.c query_capacity_data.c query_capacity_sysinfo.c 
query_capacity_ocf.c \
   query_capacity_hypfs.c query_capacity_sthyi.c
 OBJECTS = $(patsubst %.c,%.o,$(CFILES))
@@ -37,7 +37,9 @@
$(AR) rcs $@ $^
 
 libqc.so.$(VERSION): $(OBJECTS)
-   $(LINK) -shared $^ -o $@
+   $(LINK) -Wl,-soname,libqc.so.$(VERM) -shared $^ -o $@
+   -rm libqc.so.$(VERM) 2>/dev/null
+   ln -s libqc.so.$(VERSION) libqc.so.$(VERM)
 
 qc_test: qc_test.c libqc.a
$(CC) $(CFLAGS) -static $< -L. -lqc -o $@
@@ -81,4 +83,4 @@
 clean:
echo "  CLEAN"
rm -f $(OBJECTS) libqc.a libqc.so.$(VERSION) qc_test qc_test-sh 
hcpinfbk_qclib.h
-   rm -rf html
+   rm -rf html libqc.so.$(VERM)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-1.2.0/README new/qclib-1.3.0/README
-

commit qclib for openSUSE:Factory

2017-04-14 Thread root
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2017-04-14 13:40:29

Comparing /work/SRC/openSUSE:Factory/qclib (Old)
 and  /work/SRC/openSUSE:Factory/.qclib.new (New)


Package is "qclib"

Fri Apr 14 13:40:29 2017 rev:1 rq:486629 version:1.2.0

Changes:

New Changes file:

--- /dev/null   2017-03-01 00:40:19.279048016 +0100
+++ /work/SRC/openSUSE:Factory/.qclib.new/qclib.changes 2017-04-14 
13:40:29.475900486 +0200
@@ -0,0 +1,67 @@
+---
+Mon Mar 27 16:58:14 UTC 2017 - mp...@suse.com
+
+- Added qclib.correctly.interpret.sthyi.check.patch (bsc#1028105).
+
+---
+Mon Jun 13 19:56:59 UTC 2016 - mp...@suse.com
+
+- Upgraded to qclib 1.2 (bsc#984143)
+  - Removed source [S] for attributes qc_num_cpu_dedicated and
+qc_num_cpu_shared in LPAR layer for consistency
+  - Retrieve qc_layer_name in CEC layer from OCF
+  - Extended hypfs usage to provide more CP, IFL and CPU counts for
+CEC and LPAR layers, as well as capping information for LPAR
+group and LPAR layers
+  - Added attributes for IFLs, CPs and CPUs for KVM hypervisor and
+guest layers
+  - Added support for LPAR Groups
+  - Added new attribute qc_prorated_core_time
+  - Fill qc_num_cp_total and qc_num_ifl_total in LPAR layer from STHYI
+  - Consistency checks: Detect inconsistent values across data sources
+  - Documentation improvements
+
+  Bug fixes:
+  - Fixed crash when setting QC_USE_DUMP to an invalid directory and
+QC_DEBUG=1
+  - Fixed reset of debug level when QC_CHECK_CONSISTENCY is invalid
+  - Display all values in attribute qc_partition_char in case of multiple
+  - Set qc_cp_dispatch_type in presence of CPs only
+
+---
+Tue Feb 16 15:00:13 UTC 2016 - mp...@suse.com
+
+- Upgraded to qclib 1.1.0 (fate#320435)
+- Removed the following patches against version 1.0.0
+  qclib.makefile.patch
+  qclib.disable.consistency.checks.patch
+  qclib.handle.hostnames.with.less.than.8.characters.in.presence.of.hypfs.patch
+- Added a couple of comment lines to the header in the spec file.
+
+---
+Fri Jan 15 18:44:56 UTC 2016 - mp...@suse.com
+
+- Added qclib.disable.consistency.checks.patch (bsc#961643).
+- Added 
qclib.handle.hostnames.with.less.than.8.characters.in.presence.of.hypfs.patch
+  (bsc#957607).
+
+---
+Fri Oct 30 20:47:53 UTC 2015 - mp...@suse.com
+
+- Replaced qclib.makefile.patch with IBM's version of the patch.
+  (bsc#951518).
+- Modified the spec file to make use of the new "make install"
+  and "make installdoc" targets.
+- Modified the spec file to account for slightly different file
+  locations.
+- Added qclib.makefile.libdir.patch to enable building on both
+  s390x and s390 systems.
+- Added two new filters to the qclib-devel-rpmlintrc file to
+  mask two new duplicate files that arrived with IBM's patched
+  Makefile.
+
+---
+Tue Oct 13 19:48:20 UTC 2015 - mp...@suse.com
+
+- Initial version
+

New:

  qclib-1.2.0.tgz
  qclib-rpmlintrc
  qclib.changes
  qclib.correctly.interpret.sthyi.check.patch
  qclib.makefile.libdir.patch
  qclib.spec



Other differences:
--
++ qclib.spec ++
#
# spec file for package qclib
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


Name:   qclib
Version:1.2.0
Release:0
Summary:Query Capacity library
License:BSD-3-Clause
Group:  Development/Libraries/C and C++
Url:http://www.ibm.com/developerworks/linux/linux390/qclib.html
Source: %{name}-%{version}.tgz
Source1:%{name}-rpmlintrc
Patch1: qclib.makefile.libdir.patch
Patch2: qclib.correctly.interpret.sthyi.check.patch
BuildRequires:  doxygen
BuildRequires:  gcc-c++
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  s390 s390x