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:
commit
bdf301bb24
@ -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
3
qclib-2.0.0.tgz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f82f19c918c4f65854735dfe04f201d53981b408a5e7ab4cc52471e52278245a
|
||||||
|
size 85954
|
@ -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>
|
Mon Apr 22 19:57:20 UTC 2019 - Mark Post <mpost@suse.com>
|
||||||
|
|
||||||
- Upgraded to version 1.4.1 (jsc#SLE-5908)
|
- Upgraded to version 1.4.1 (bsc#1135781, Fate#327836, jsc#SLE-5908)
|
||||||
Version 1.4.1
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
* qc_dump: Don't abort the dump in case qc_test fails.
|
* 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
|
* 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
|
Version 1.4.0
|
||||||
Changes:
|
Changes:
|
||||||
* Added SMT support by properly differentiating between cores and CPUs.
|
* 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
|
* Added new attributes qc_num_threads_cp and qc_num_threads_ifl to layers
|
||||||
CEC, LPAR and ZVM_HYPERVISOR.
|
CEC, LPAR and ZVM_HYPERVISOR.
|
||||||
* Deprecated attribute qc_mobility_eligible (remains valid for now) and
|
* 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
|
* Moved build customization defines (e.g. CONFIG_V1_COMPATIBILITY) to
|
||||||
query_capacity.h.
|
query_capacity.h.
|
||||||
* Don't build with textual hypfs per default anymore due to unrecoverable
|
* 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:
|
Bug fixes:
|
||||||
* Added an exception to consistency check to ignore inconsistencies between
|
* Added an exception to consistency check to ignore inconsistencies between
|
||||||
textual hypfs and STHYI for attributes qc_num_cp_total and
|
textual hypfs and STHYI for attributes qc_num_cp_total and
|
||||||
qc_num_ifl_total in the LPAR layer.
|
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
|
Version 1.3.1
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
* Security: Fix PATH attack vulnerability when dumping (see QC_DEBUG=2)
|
* 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
|
- Made numerous changes to the spec file based on the output from
|
||||||
spec-cleaner.
|
spec-cleaner.
|
||||||
- Updated qclib-rpmlintrc file to catch all duplicate file messages
|
- 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
|
- Added qclib-sles15-fix-mismatch-case-with-STHYI.patch
|
||||||
(bsc#1071687, bsc#1104304).
|
(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)
|
- Upgraded to version 1.3.0 (Fate#325039)
|
||||||
Changes:
|
Changes:
|
||||||
|
23
qclib.spec
23
qclib.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package qclib
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: qclib
|
Name: qclib
|
||||||
Version: 1.4.1
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Query Capacity library
|
Summary: Query Capacity library
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -65,18 +65,20 @@ by:
|
|||||||
* hypfs file system - for more information, refer to 'Device Drivers,
|
* hypfs file system - for more information, refer to 'Device Drivers,
|
||||||
Features, and Commands', chapter 'S/390 hypervisor file system'.
|
Features, and Commands', chapter 'S/390 hypervisor file system'.
|
||||||
|
|
||||||
%package -n libqc1
|
%package -n libqc2
|
||||||
Summary: Query Capacity Library shared library
|
Summary: Query Capacity Library shared library
|
||||||
Group: System/Libraries
|
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
|
qclib provides a C API for extraction of system information for Linux on z
|
||||||
Systems.
|
Systems.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for Query Capacity library
|
Summary: Development files for Query Capacity library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libqc1 = %{version}-%{release}
|
Requires: libqc2 = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
qclib provides a C API for extraction of system information for Linux on z
|
qclib provides a C API for extraction of system information for Linux on z
|
||||||
@ -85,7 +87,7 @@ Systems.
|
|||||||
%package devel-static
|
%package devel-static
|
||||||
Summary: Development files for Query Capacity library
|
Summary: Development files for Query Capacity library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libqc1 = %{version}-%{release}
|
Requires: libqc2 = %{version}-%{release}
|
||||||
Requires: qclib-devel = %{version}-%{release}
|
Requires: qclib-devel = %{version}-%{release}
|
||||||
|
|
||||||
%description devel-static
|
%description devel-static
|
||||||
@ -93,8 +95,7 @@ qclib provides a C API for extraction of system information for Linux on z
|
|||||||
Systems.
|
Systems.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p 1
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
|
MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
|
||||||
@ -109,16 +110,16 @@ make %{?_smp_mflags} test-sh
|
|||||||
%make_install LIBDIR=%{_lib} V=1
|
%make_install LIBDIR=%{_lib} V=1
|
||||||
make installdoc DESTDIR=%{buildroot} 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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_docdir}/%{name}
|
%dir %{_docdir}/%{name}
|
||||||
%{_docdir}/%{name}/*
|
%{_docdir}/%{name}/*
|
||||||
|
|
||||||
%files -n libqc1
|
%files -n libqc2
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libqc.so.*
|
%{_libdir}/libqc.so.*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user