From e6792bc50a9474b3370676c6930e8e4f6929cfa581d942e741c473ac3af8f2b9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 29 Apr 2024 08:42:57 +0000 Subject: [PATCH] Accepting request 1170614 from home:amanzini:branches:utilities - Update to release 5.0.4 - Changed * Update databases (more CPU packages, Intel Meteor Lake-H, Intel Emerald Rapids-SP) * Patch dmidecode to version 3.6 - Fixed * Do not display unavailable DMI fields in Memory tab (#322) - added %check section to run unit tests OBS-URL: https://build.opensuse.org/request/show/1170614 OBS-URL: https://build.opensuse.org/package/show/utilities/cpu-x?expand=0&rev=36 --- cpu-x.changes | 12 ++++++++++++ cpu-x.spec | 5 ++++- no-no-pie.patch | 6 +++--- v5.0.3.tar.gz | 3 --- v5.0.4.tar.gz | 3 +++ 5 files changed, 22 insertions(+), 7 deletions(-) delete mode 100644 v5.0.3.tar.gz create mode 100644 v5.0.4.tar.gz diff --git a/cpu-x.changes b/cpu-x.changes index d4fffae..274769a 100644 --- a/cpu-x.changes +++ b/cpu-x.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Apr 28 17:02:32 UTC 2024 - Andrea Manzini + +- Update to release 5.0.4 +- Changed + * Update databases (more CPU packages, Intel Meteor Lake-H, Intel Emerald Rapids-SP) + * Patch dmidecode to version 3.6 +- Fixed + * Do not display unavailable DMI fields in Memory tab (#322) + +- added %check section to run unit tests + ------------------------------------------------------------------- Mon Jan 15 09:42:42 UTC 2024 - pallaswept diff --git a/cpu-x.spec b/cpu-x.spec index 6277d4b..e68af76 100644 --- a/cpu-x.spec +++ b/cpu-x.spec @@ -18,7 +18,7 @@ %define src_name CPU-X-%version Name: cpu-x -Version: 5.0.3 +Version: 5.0.4 Release: 0 Summary: Hardware overview utility License: GPL-3.0-or-later @@ -100,6 +100,9 @@ export CC=gcc-12 CXX=g++-12 rm -Rf "%buildroot/%_datadir/polkit-1" %find_lang %name +%check +for dir in awk grep ; do pushd tests/$dir && ./test_regex.sh && popd ; done + %files %_bindir/cpu-x %_libexecdir/cpu-x* diff --git a/no-no-pie.patch b/no-no-pie.patch index 07bb55a..a5a245c 100644 --- a/no-no-pie.patch +++ b/no-no-pie.patch @@ -8,10 +8,10 @@ Why is this flag even here... CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) -Index: CPU-X-5.0.3/CMakeLists.txt +Index: CPU-X-5.0.4/CMakeLists.txt =================================================================== ---- CPU-X-5.0.3.orig/CMakeLists.txt -+++ CPU-X-5.0.3/CMakeLists.txt +--- CPU-X-5.0.4.orig/CMakeLists.txt ++++ CPU-X-5.0.4/CMakeLists.txt @@ -47,7 +47,6 @@ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_E include(CheckCCompilerFlag) check_c_compiler_flag("-no-pie" HAS_NO_PIE) diff --git a/v5.0.3.tar.gz b/v5.0.3.tar.gz deleted file mode 100644 index 8a70c28..0000000 --- a/v5.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0d3f862a8734e3b2363880195109fae4e0e22a70a6265dba359e5a88b6ec5ea0 -size 1988476 diff --git a/v5.0.4.tar.gz b/v5.0.4.tar.gz new file mode 100644 index 0000000..8be2d31 --- /dev/null +++ b/v5.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7375e7184656f2630327afb13120e715956a509b40ae0fdb9edb5306638dce21 +size 1995465