From eea27e93915ef4dee19a1f0d90d0e0bedd94c7db Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 21 Jul 2020 06:23:15 -0400 Subject: [PATCH] import qclib-2.0.1-1.el8_2.1 --- SOURCES/qclib-2.0.1-z15-t02.patch | 11 +++++++++++ SPECS/qclib.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 SOURCES/qclib-2.0.1-z15-t02.patch diff --git a/SOURCES/qclib-2.0.1-z15-t02.patch b/SOURCES/qclib-2.0.1-z15-t02.patch new file mode 100644 index 0000000..89d6d52 --- /dev/null +++ b/SOURCES/qclib-2.0.1-z15-t02.patch @@ -0,0 +1,11 @@ +diff -up qclib-2.0.1/query_capacity.c.orig qclib-2.0.1/query_capacity.c +--- qclib-2.0.1/query_capacity.c.orig 2020-05-14 12:19:06.002068645 +0200 ++++ qclib-2.0.1/query_capacity.c 2020-05-14 12:19:22.949968994 +0200 +@@ -520,6 +520,7 @@ static struct qc_mtype mtypes[] = { + {3907, "IBM z14 ZR1", "IBM LinuxONE Rockhopper II"}, + {3906, "IBM z14", "IBM LinuxONE Emperor II"}, + {8561, "IBM z15", "IBM LinuxONE III"}, ++ {8562, "IBM z15 Model T02", "IBM LinuxONE III Model LT2"}, + {0, NULL, NULL} + }; + diff --git a/SPECS/qclib.spec b/SPECS/qclib.spec index cbeef36..62f56b9 100644 --- a/SPECS/qclib.spec +++ b/SPECS/qclib.spec @@ -1,6 +1,6 @@ Name: qclib Version: 2.0.1 -Release: 1%{?dist} +Release: 1%{?dist}.1 Summary: Library for extraction of system information for Linux on z Systems License: BSD URL: http://www.ibm.com/developerworks/linux/linux390/qclib.html @@ -9,6 +9,8 @@ Source0: http://public.dhe.ibm.com/software/dw/linux390/ht_src/%{name}-%{version Patch0: %{name}-2.0.0-docdir.patch # https://bugzilla.redhat.com/show_bug.cgi?id=1552658 Patch1: %{name}-1.3.1-ldflags.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=1834712 +Patch2: %{name}-2.0.1-z15-t02.patch ExclusiveArch: s390 s390x BuildRequires: gcc BuildRequires: glibc-static @@ -80,6 +82,10 @@ make test-sh test %changelog +* Thu May 14 2020 Dan Horák - 2.0.1-1.1 +- Add support for new z15 (#1834712) +- Resolves: #1834712 + * Mon Jan 13 2020 Dan Horák - 2.0.1-1 - updated to 2.0.1 (#1790369) - Resolves: #1790369