Accepting request 751139 from hardware

OBS-URL: https://build.opensuse.org/request/show/751139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2019-12-02 10:31:22 +00:00 committed by Git OBS Bridge
commit bdf301bb24
4 changed files with 51 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bbce5648cc26ac6469fd60ef477204d0352e187773164d5e77f1296a0bdb500
size 77198

3
qclib-2.0.0.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f82f19c918c4f65854735dfe04f201d53981b408a5e7ab4cc52471e52278245a
size 85954

View File

@ -1,8 +1,25 @@
-------------------------------------------------------------------
Wed Nov 20 00:43:26 UTC 2019 - Mark Post <mpost@suse.com>
- 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.
-------------------------------------------------------------------
Mon Apr 22 19:57:20 UTC 2019 - Mark Post <mpost@suse.com>
- 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)
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
@ -10,6 +27,12 @@ Mon Apr 22 19:57:20 UTC 2019 - Mark Post <mpost@suse.com>
Version 1.4.0
Changes:
* Added SMT support by properly differentiating between cores and CPUs.
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!
* 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
@ -18,11 +41,18 @@ Mon Apr 22 19:57:20 UTC 2019 - Mark Post <mpost@suse.com>
* 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').
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.
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.
Background: Textual hypfs cannot tell whether a core is configured or
not. It therefore reports all cores as configured, which can
be wrong.
Version 1.3.1
Bug fixes:
* Security: Fix PATH attack vulnerability when dumping (see QC_DEBUG=2)
@ -34,15 +64,15 @@ Mon Apr 22 19:57:20 UTC 2019 - Mark Post <mpost@suse.com>
- 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 - mpost@suse.com
Fri Dec 8 22:07:04 UTC 2017 - mpost@suse.com
- Added qclib-sles15-fix-mismatch-case-with-STHYI.patch
(bsc#1071687, bsc#1104304).
-------------------------------------------------------------------
Wed Aug 1 23:15:13 UTC 2018 - mpost@suse.com
Thu Nov 2 20:03:27 UTC 2017 - mpost@suse.com
- Upgraded to version 1.3.0 (Fate#325039)
Changes:

View File

@ -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 @@ by:
* 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 @@ Systems.
%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 @@ qclib provides a C API for extraction of system information for Linux on z
Systems.
%prep
%setup -q
%patch1 -p1
%autosetup -p 1
%build
MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
@ -109,16 +110,16 @@ make %{?_smp_mflags} test-sh
%make_install LIBDIR=%{_lib} V=1
make installdoc DESTDIR=%{buildroot} V=1
%post -n libqc1 -p /sbin/ldconfig
%post -n libqc2 -p /sbin/ldconfig
%postun -n libqc1 -p /sbin/ldconfig
%postun -n libqc2 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/*
%files -n libqc1
%files -n libqc2
%defattr(-,root,root)
%{_libdir}/libqc.so.*