commit qclib for openSUSE:Factory

2024-04-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2024-04-21 20:24:34

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


Package is "qclib"

Sun Apr 21 20:24:34 2024 rev:17 rq:1169241 version:2.4.1

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2023-10-26 
17:12:20.615695528 +0200
+++ /work/SRC/openSUSE:Factory/.qclib.new.26366/qclib.changes   2024-04-21 
20:25:07.353169248 +0200
@@ -1,0 +2,16 @@
+Fri Apr 19 11:55:09 UTC 2024 - Nikolay Gueorguiev 
+
+- Applied a patch to change the _PATH_MOUNTED (bsc#1222143)
+  * qclib-change-_PATH_MOUNTED.patch
+
+---
+Mon Feb 12 16:48:47 UTC 2024 - Nikolay Gueorguiev 
+
+- Upgrade to version 2.4.1 (jsc#PED-3285)
+  * Handle systems with `/sys/kernel/security/lockdown` enabled
+  * Consistency check: Fix accounting of reserved cores and CPUs
+  * Trace: Fix display of version information
+  * Doxygen config: Remove unused options 
+- Removed obsolete patch qclib-sys-kernel-security-lockdown-enabled.patch
+
+---

Old:

  qclib-2.4.0.tar.gz
  qclib-sys-kernel-security-lockdown-enabled.patch

New:

  qclib-2.4.1.tar.gz
  qclib-change-_PATH_MOUNTED.patch

BETA DEBUG BEGIN:
  Old:  * Doxygen config: Remove unused options 
- Removed obsolete patch qclib-sys-kernel-security-lockdown-enabled.patch
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:- Applied a patch to change the _PATH_MOUNTED (bsc#1222143)
  * qclib-change-_PATH_MOUNTED.patch
BETA DEBUG END:



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.8LUJ6f/_old  2024-04-21 20:25:08.025193904 +0200
+++ /var/tmp/diff_new_pack.8LUJ6f/_new  2024-04-21 20:25:08.025193904 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qclib
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
 
 Name:   qclib
-Version:2.4.0
+Version:2.4.1
 Release:0
 Summary:Query Capacity library
 License:BSD-3-Clause
@@ -37,7 +37,8 @@
 %endif
 
 #
-Patch001:   qclib-sys-kernel-security-lockdown-enabled.patch
+### Patch001:   qclib-sys-kernel-security-lockdown-enabled.patch
+Patch001:   qclib-change-_PATH_MOUNTED.patch
 
 %description
 qclib provides a C API for extraction of system information for Linux on z

++ qclib-2.4.0.tar.gz -> qclib-2.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.4.0/Makefile new/qclib-2.4.1/Makefile
--- old/qclib-2.4.0/Makefile2023-04-08 23:49:23.0 +0200
+++ new/qclib-2.4.1/Makefile2023-12-17 23:06:06.0 +0100
@@ -4,7 +4,7 @@
 # major : Backwards compatible changes to the API
 # minor : Additions leaving the API unmodified
 # bugfix: Bugfixes only
-VERSION= 2.4.0
+VERSION= 2.4.1
 VERM   = $(shell echo $(VERSION) | cut -d '.' -f 1)
 CFLAGS?= -g -Wall -O2
 LDFLAGS   ?=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.4.0/README.md new/qclib-2.4.1/README.md
--- old/qclib-2.4.0/README.md   2023-04-08 23:49:23.0 +0200
+++ new/qclib-2.4.1/README.md   2023-12-17 23:06:06.0 +0100
@@ -87,6 +87,14 @@
 Release History
 ---
 
+* __v2.4.1 (2023-12-17)__
+
+_Bug fixes_:
+- Handle systems with `/sys/kernel/security/lockdown` enabled
+- Consistency check: Fix accounting of reserved cores and CPUs
+- Trace: Fix display of version information
+- Doxygen config: Remove unused options
+
 * __v2.4.0 (2023-04-08)__
 
 _Changes_:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.4.0/config.doxygen 
new/qclib-2.4.1/config.doxygen
--- old/qclib-2.4.0/config.doxygen  2023-04-08 23:49:23.0 +0200
+++ new/qclib-2.4.1/config.doxygen  2023-12-17 23:06:06.0 +0100
@@ -1384,17 +1384,6 @@
 
 FORMULA_FONTSIZE   = 10
 
-# Use the FORMULA_TRANPARENT tag to determine whether or not the images
-# generated for formulas are transparent PNGs. Transparent PNGs are not
-# supported properly for IE 6.0, but are supported on all modern browsers.
-#
-# Note that when changing this option you need to delete any form_*.png files 
in
-# the HTML output directory before the changes have effect.
-# The default value is: YES.

commit qclib for openSUSE:Factory

2023-10-26 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2023-10-26 17:12:03

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


Package is "qclib"

Thu Oct 26 17:12:03 2023 rev:16 rq:1120172 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2023-10-19 
22:49:19.694803501 +0200
+++ /work/SRC/openSUSE:Factory/.qclib.new.24901/qclib.changes   2023-10-26 
17:12:20.615695528 +0200
@@ -1,0 +2,6 @@
+Wed Oct 25 06:16:21 UTC 2023 - Nikolay Gueorguiev 
+
+- Applied a patch(bsc#1216212,bsc#1214466)
+  * qclib-sys-kernel-security-lockdown-enabled.patch
+
+---

New:

  qclib-sys-kernel-security-lockdown-enabled.patch



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.RY5lNR/_old  2023-10-26 17:12:21.175716096 +0200
+++ /var/tmp/diff_new_pack.RY5lNR/_new  2023-10-26 17:12:21.175716096 +0200
@@ -36,6 +36,9 @@
 BuildRequires:  glibc-devel
 %endif
 
+#
+Patch001:   qclib-sys-kernel-security-lockdown-enabled.patch
+
 %description
 qclib provides a C API for extraction of system information for Linux on z
 Systems.

++ qclib-sys-kernel-security-lockdown-enabled.patch ++
commit 73f9792009be42fe652ae897d390852f18bf445a
Author: Stefan Raspl 
Date:   Thu Sep 7 22:47:16 2023 +0200

Handle systems with /sys/kernel/security/lockdown enabled

Hypfs becomes inaccessible when /sys/kernel/security/lockdown is enabled, as
is the case with e.g. secure booted systems.
To reproduce, run

  echo integrity > /sys/kernel/security/lockdown

Since qclib conceptually only requires access to /proc/sysinfo at a minimum,
we simply skip hypfs in this case.

Signed-off-by: Stefan Raspl 

diff --git a/query_capacity_hypfs.c b/query_capacity_hypfs.c
index 9845e88b..3907c269 100644
--- a/query_capacity_hypfs.c
+++ b/query_capacity_hypfs.c
@@ -617,7 +617,7 @@ static int qc_read_diag_file(struct qc_handle *hdl, const 
char *dbgfs, struct hy
 out_fail:
free(priv->data);
priv->data = NULL;
-   rc = -1;
+   rc = 1;
 out:
free(fpath);
 
@@ -942,14 +942,18 @@ static int qc_hypfs_open(struct qc_handle *hdl, char 
**buf) {
/* if z/VM diag file exists, the LPAR diag 
file's content
   isn't valid, so we're done after handling 
the z/VM file */
priv->diag = QC_HYPFS_ZVM;
-   if ((rc = qc_read_diag_file(hdl, dbgfs, priv)) 
!= 0)
+   if ((rc = qc_read_diag_file(hdl, dbgfs, priv)) 
!= 0) {
+   rc = 0; // not a fatal error - we just 
skip this source
goto out;
+   }
priv->avail = HYPFS_AVAIL_BIN_ZVM;
} else {
qc_debug(hdl, "No z/VM diag file found, must be 
an LPAR\n");
priv->diag = QC_HYPFS_LPAR;
-   if ((rc = qc_read_diag_file(hdl, dbgfs, priv)) 
!= 0)
+   if ((rc = qc_read_diag_file(hdl, dbgfs, priv)) 
!= 0) {
+   rc = 0; // not a fatal error - we just 
skip this source
goto out;
+   }
priv->avail = HYPFS_AVAIL_BIN_LPAR;
}
} else {


commit qclib for openSUSE:Factory

2023-10-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2023-10-19 22:46:57

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


Package is "qclib"

Thu Oct 19 22:46:57 2023 rev:15 rq:1118250 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2023-06-01 
17:18:54.345941777 +0200
+++ /work/SRC/openSUSE:Factory/.qclib.new.1945/qclib.changes2023-10-19 
22:49:19.694803501 +0200
@@ -1,0 +2,6 @@
+Mon Oct 16 11:13:48 UTC 2023 - Nikolay Gueorguiev 
+
+- Reverted back the if condition (bsc#1216212)
+  * %if 0%{?suse_version} from "1500" to "1300" to avoid build error on IBS
+
+---



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.2RCCHm/_old  2023-10-19 22:49:20.162820476 +0200
+++ /var/tmp/diff_new_pack.2RCCHm/_new  2023-10-19 22:49:20.166820621 +0200
@@ -30,7 +30,7 @@
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 ExclusiveArch:  s390 s390x
-%if 0%{?suse_version} > 1500
+%if 0%{?suse_version} > 1300
 BuildRequires:  glibc-devel-static
 %else
 BuildRequires:  glibc-devel


commit qclib for openSUSE:Factory

2023-06-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2023-06-01 17:18:53

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


Package is "qclib"

Thu Jun  1 17:18:53 2023 rev:14 rq:1089695 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2022-09-22 
14:49:15.570348740 +0200
+++ /work/SRC/openSUSE:Factory/.qclib.new.2531/qclib.changes2023-06-01 
17:18:54.345941777 +0200
@@ -1,0 +2,11 @@
+Tue May 30 06:23:30 UTC 2023 - Nikolay Gueorguiev 
+
+- Upgrade to version 2.4.0 (jsc#PED-3284, jsc#PED-3285)
+  * Changes:
+  - Recognize single frame models and rackable models
+  - zname: Add support for option --json
+  - qc_dump: Add trace and JSON dump to .tgz
+- Amended the .spec file for the error "static-library-without-debuginfo"
+  * Removed the line: gzip -9 %{buildroot}/%{_mandir}/man8/*
+
+---

Old:

  qclib-2.3.2.tar.gz

New:

  qclib-2.4.0.tar.gz



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.tocVVy/_old  2023-06-01 17:18:54.797944457 +0200
+++ /var/tmp/diff_new_pack.tocVVy/_new  2023-06-01 17:18:54.801944480 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qclib
 #
-# Copyright (c) 2017-2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,10 @@
 #
 
 
+%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
+
 Name:   qclib
-Version:2.3.2
+Version:2.4.0
 Release:0
 Summary:Query Capacity library
 License:BSD-3-Clause
@@ -28,7 +30,7 @@
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 ExclusiveArch:  s390 s390x
-%if 0%{?suse_version} > 1300
+%if 0%{?suse_version} > 1500
 BuildRequires:  glibc-devel-static
 %else
 BuildRequires:  glibc-devel
@@ -107,7 +109,6 @@
 
 %install
 %make_install V=1
-gzip -9 %{buildroot}/%{_mandir}/man8/*
 make installdoc DESTDIR=%{buildroot} V=1
 
 %post -n libqc2 -p /sbin/ldconfig

++ qclib-2.3.2.tar.gz -> qclib-2.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.3.2/Makefile new/qclib-2.4.0/Makefile
--- old/qclib-2.3.2/Makefile2022-09-19 12:07:33.0 +0200
+++ new/qclib-2.4.0/Makefile2023-04-08 23:49:23.0 +0200
@@ -4,7 +4,7 @@
 # major : Backwards compatible changes to the API
 # minor : Additions leaving the API unmodified
 # bugfix: Bugfixes only
-VERSION= 2.3.2
+VERSION= 2.4.0
 VERM   = $(shell echo $(VERSION) | cut -d '.' -f 1)
 CFLAGS?= -g -Wall -O2
 LDFLAGS   ?=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.3.2/README.md new/qclib-2.4.0/README.md
--- old/qclib-2.3.2/README.md   2022-09-19 12:07:33.0 +0200
+++ new/qclib-2.4.0/README.md   2023-04-08 23:49:23.0 +0200
@@ -87,6 +87,13 @@
 Release History
 ---
 
+* __v2.4.0 (2023-04-08)__
+
+_Changes_:
+- Recognize single frame models and rackable models
+- `zname`: Add support for option `--json`
+- `qc_dump`: Add trace and JSON dump to `.tgz`
+
 * __v2.3.2 (2022-09-19)__
 
 _Changes_:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.3.2/qc_dump new/qclib-2.4.0/qc_dump
--- old/qclib-2.3.2/qc_dump 2022-09-19 12:07:33.0 +0200
+++ new/qclib-2.4.0/qc_dump 2023-04-08 23:49:23.0 +0200
@@ -5,16 +5,21 @@
 qcbin="zname";
 if [ $# -eq 1 ]; then
qcbin="$1";
-fi
-
-if [ ! -x $qcbin ]; then
-   echo "Error: $qcbin not found or not executable";
-   echo "Note: You can specify an arbitrary executable as an argument to 
qc_dump";
-   exit 2;
+   if [ ! -x $qcbin ]; then
+   echo "Error: $qcbin not found or not executable";
+   exit 1;
+   fi
+else
+   which $qcbin > /dev/null;
+   if [ $? -ne 0 ]; then
+   echo "Error: $qcbin not found or not executable";
+   echo "Note: You can specify an arbitrary executable as an 
argument to qc_dump";
+   exit 2; 
+   fi
 fi
 
 echo "Executing $qcbin...";
-QC_DEBUG=2 $qcbin >/tmp/ref_result.txt;
+QC_DEBUG=2 $qcbin --json >/tmp/ref_result.txt;
 
 if [ $? -ne 0 ]; then
echo "$qcbin failed - good thing we're creating a dump";
@@ -31,12 +36,13 @@
 mv ref_result.txt $dump;
 lscpu -e   > $dump/lscpu.output;
 hostname   > $dump/hostname.output;
+cp `ls 

commit qclib for openSUSE:Factory

2022-09-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2022-09-22 14:49:12

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


Package is "qclib"

Thu Sep 22 14:49:12 2022 rev:13 rq:1005099 version:2.3.2

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2021-09-25 
00:35:50.475157368 +0200
+++ /work/SRC/openSUSE:Factory/.qclib.new.2275/qclib.changes2022-09-22 
14:49:15.570348740 +0200
@@ -1,0 +2,18 @@
+Tue Sep 20 18:29:40 UTC 2022 - Mark Post 
+
+- Upgraded to version 2.3.2 (jsc#PED-585, jsc#PED-626)
+  * __v2.3.2 (2022-09-19)__
+_Changes_:
+- Recognize IBM LinuxONE Emperor 4
+  * __v2.3.1 (2022-04-05)__
+_Changes_:
+- Recognize IBM z16
+- Removed the following obsolete patches:
+  * qclib-sles15sp4-doc-fix-installing-README.patch.
+  * qclib-sles15sp4-Fix-version-info.patch
+- Updated spec file to eliminate rpmlint warnings about 
+  self-obsoleting.
+- Updated rpmlintrc file to suppress an inaccurate warning about
+  qclib-devel not depending on the correct package(s).
+
+---

Old:

  qclib-2.3.0.tar.gz
  qclib-sles15sp4-Fix-version-info.patch
  qclib-sles15sp4-doc-fix-installing-README.patch

New:

  qclib-2.3.2.tar.gz



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.J1Vm65/_old  2022-09-22 14:49:16.254350132 +0200
+++ /var/tmp/diff_new_pack.J1Vm65/_new  2022-09-22 14:49:16.258350140 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qclib
 #
-# Copyright (c) 2017-2021 SUSE LLC
+# Copyright (c) 2017-2022 SUSE LLC
 #
 # 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.3.0
+Version:2.3.2
 Release:0
 Summary:Query Capacity library
 License:BSD-3-Clause
@@ -25,8 +25,6 @@
 URL:
https://github.com/ibm-s390-linux/%{name}/archive/refs/tags/%{version}.tar.gz
 Source: %{name}-%{version}.tar.gz
 Source1:%{name}-rpmlintrc
-Patch1: qclib-sles15sp4-doc-fix-installing-README.patch
-Patch2: qclib-sles15sp4-Fix-version-info.patch
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 ExclusiveArch:  s390 s390x
@@ -69,8 +67,8 @@
 %package -n libqc2
 Summary:Query Capacity Library shared library
 Group:  System/Libraries
-Obsoletes:  libqc1
-Provides:   libqc1
+Obsoletes:  libqc1 <= 1.0.0
+Provides:   libqc1 >= 2.0.0
 
 %description -n libqc2
 qclib provides a C API for extraction of system information for Linux on z

++ qclib-2.3.0.tar.gz -> qclib-2.3.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.3.0/Makefile new/qclib-2.3.2/Makefile
--- old/qclib-2.3.0/Makefile2021-04-29 11:24:47.0 +0200
+++ new/qclib-2.3.2/Makefile2022-09-19 12:07:33.0 +0200
@@ -4,7 +4,7 @@
 # major : Backwards compatible changes to the API
 # minor : Additions leaving the API unmodified
 # bugfix: Bugfixes only
-VERSION= 2.3.0
+VERSION= 2.3.2
 VERM   = $(shell echo $(VERSION) | cut -d '.' -f 1)
 CFLAGS?= -g -Wall -O2
 LDFLAGS   ?=
@@ -88,7 +88,7 @@
install $(INSTFLAGS) -Dm 644 zname.8 $(DESTDIR)$(MANDIR)/man8/zname.8
install $(INSTFLAGS) -Dm 644 zhypinfo.8 
$(DESTDIR)$(MANDIR)/man8/zhypinfo.8
install $(INSTFLAGS) -Dm 644 query_capacity.h 
$(DESTDIR)$(INCDIR)/query_capacity.h
-   install $(INSTFLAGS) -Dm 644 README $(DESTDIR)$(DOCDIR)/qclib/README
+   install $(INSTFLAGS) -Dm 644 README.md 
$(DESTDIR)$(DOCDIR)/qclib/README.md
install $(INSTFLAGS) -Dm 644 LICENSE $(DESTDIR)$(DOCDIR)/qclib/LICENSE
 
 installdoc: doc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.3.0/README.md new/qclib-2.3.2/README.md
--- old/qclib-2.3.0/README.md   2021-04-29 11:24:47.0 +0200
+++ new/qclib-2.3.2/README.md   2022-09-19 12:07:33.0 +0200
@@ -86,6 +86,17 @@
 
 Release History
 ---
+
+* __v2.3.2 (2022-09-19)__
+
+_Changes_:
+- Recognize IBM LinuxONE Emperor 4
+
+* __v2.3.1 (2022-04-05)__
+
+_Changes_:
+- Recognize IBM z16
+
 * __v2.3.0 (2021-04-28)__
 
 _Changes_:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qclib-2.3.0/config.doxygen 
new/qclib-2.3.2/config.doxygen
--- old/qclib-2.3.0/config.doxygen  2021-04-29 11:24:47.0 +0200
+++ new/qclib-2.3.2/config.doxygen  

commit qclib for openSUSE:Factory

2021-09-24 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qclib for openSUSE:Factory checked 
in at 2021-09-25 00:35:12

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


Package is "qclib"

Sat Sep 25 00:35:12 2021 rev:12 rq:920679 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/qclib/qclib.changes  2020-10-23 
12:22:17.904680679 +0200
+++ /work/SRC/openSUSE:Factory/.qclib.new.1899/qclib.changes2021-09-25 
00:35:50.475157368 +0200
@@ -1,0 +2,13 @@
+Tue Sep 21 15:44:51 UTC 2021 - Mark Post 
+
+- Upgraded to version 2.3.0 (jsc#SLE-18327)
+  * Changes:
+- Only export symbols exposed in public header
+- `config.doxygen`: Remove obsolete variables
+- `zname`, `zhypinfo`: Add version switch
+- Updated the URL in the spec file to point to the github repository
+- Added the following patches from IBM's git repository
+  * qclib-sles15sp4-doc-fix-installing-README.patch
+  * qclib-sles15sp4-Fix-version-info.patch
+
+---

Old:

  qclib-2.2.1.tgz

New:

  qclib-2.3.0.tar.gz
  qclib-sles15sp4-Fix-version-info.patch
  qclib-sles15sp4-doc-fix-installing-README.patch



Other differences:
--
++ qclib.spec ++
--- /var/tmp/diff_new_pack.O5xhtn/_old  2021-09-25 00:35:50.871157781 +0200
+++ /var/tmp/diff_new_pack.O5xhtn/_new  2021-09-25 00:35:50.875157785 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qclib
 #
-# Copyright (c) 2017-2020 SUSE LLC
+# Copyright (c) 2017-2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,16 @@
 
 
 Name:   qclib
-Version:2.2.1
+Version:2.3.0
 Release:0
 Summary:Query Capacity library
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-URL:
https://public.dhe.ibm.com/software/dw/linux390/ht_src/%{name}-%{version}.tgz
-Source: %{name}-%{version}.tgz
+URL:
https://github.com/ibm-s390-linux/%{name}/archive/refs/tags/%{version}.tar.gz
+Source: %{name}-%{version}.tar.gz
 Source1:%{name}-rpmlintrc
+Patch1: qclib-sles15sp4-doc-fix-installing-README.patch
+Patch2: qclib-sles15sp4-Fix-version-info.patch
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 ExclusiveArch:  s390 s390x

++ qclib-sles15sp4-Fix-version-info.patch ++
>From 9cbcf8a85b93f6b18ef42c2ae0ffef4c3da6244f Mon Sep 17 00:00:00 2001
From: Stefan Raspl 
Date: Mon, 28 Jun 2021 14:28:04 +0200
Subject: [PATCH] Fix version info

Signed-off-by: Stefan Raspl 
---
 query_capacity.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/query_capacity.h b/query_capacity.h
index e8a69ed..f3bfc49 100644
--- a/query_capacity.h
+++ b/query_capacity.h
@@ -5,7 +5,7 @@
 #ifndef QUERY_CAPACITY
 #define QUERY_CAPACITY
 
-#define QC_VERSION "2.2.99"
+#define QC_VERSION "2.3.0"
 
 
 /* Build Customization */
-- 
2.26.2

++ qclib-sles15sp4-doc-fix-installing-README.patch ++
>From 9519834a61906dafa55a332c537d68af6a9e4bec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= 
Date: Fri, 30 Apr 2021 09:39:39 +0200
Subject: [PATCH] doc: fix installing README
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Dan Hor??k 
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ec5d6df..25a83d4 100644
--- a/Makefile
+++ b/Makefile
@@ -88,7 +88,7 @@ install: libqc.a libqc.so.$(VERSION) zhypinfo zname
install $(INSTFLAGS) -Dm 644 zname.8 $(DESTDIR)$(MANDIR)/man8/zname.8
install $(INSTFLAGS) -Dm 644 zhypinfo.8 
$(DESTDIR)$(MANDIR)/man8/zhypinfo.8
install $(INSTFLAGS) -Dm 644 query_capacity.h 
$(DESTDIR)$(INCDIR)/query_capacity.h
-   install $(INSTFLAGS) -Dm 644 README $(DESTDIR)$(DOCDIR)/qclib/README
+   install $(INSTFLAGS) -Dm 644 README.md 
$(DESTDIR)$(DOCDIR)/qclib/README.md
install $(INSTFLAGS) -Dm 644 LICENSE $(DESTDIR)$(DOCDIR)/qclib/LICENSE
 
 installdoc: doc
-- 
2.26.2