SHA256
1
0
forked from pool/qclib

Accepting request 699777 from home:markkp:branches:hardware

- 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
 
- Added qclib-sles15-fix-mismatch-case-with-STHYI.patch
  (bsc#1071687, bsc#1104304).

OBS-URL: https://build.opensuse.org/request/show/699777
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=15
This commit is contained in:
Mark Post
2019-04-30 21:40:06 +00:00
committed by Git OBS Bridge
parent 9987af121b
commit c687f28dfd
7 changed files with 58 additions and 170 deletions

View File

@@ -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 @@ Systems.
%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 %{?_smp_mflags} doc
%check
make test
make test-sh
make %{?_smp_mflags} test
make %{?_smp_mflags} test-sh
%install
%make_install LIBDIR=%{_lib} V=1