From 740f450821f6911492e332fc8bd27f17af9d9c6d4836f95393733d8174b9210b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 7 Apr 2022 10:48:32 +0000 Subject: [PATCH] Accepting request 967435 from home:manfred-h - Use new libproc-2 on Tumbleweed instead of libprocps. OBS-URL: https://build.opensuse.org/request/show/967435 OBS-URL: https://build.opensuse.org/package/show/utilities/cpu-x?expand=0&rev=13 --- cpu-x.changes | 5 +++++ cpu-x.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/cpu-x.changes b/cpu-x.changes index 77358a8..1cd0420 100644 --- a/cpu-x.changes +++ b/cpu-x.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 7 08:21:55 UTC 2022 - Manfred Hollstein + +- Use new libproc-2 on Tumbleweed instead of libprocps. + ------------------------------------------------------------------- Sat Mar 19 20:40:06 UTC 2022 - Matthias Fehring diff --git a/cpu-x.spec b/cpu-x.spec index 7c299b2..20d6020 100644 --- a/cpu-x.spec +++ b/cpu-x.spec @@ -37,7 +37,11 @@ BuildRequires: pkgconfig(glfw3) BuildRequires: pkgconfig(gtk+-3.0) >= 3.12.0 BuildRequires: pkgconfig(libcpuid) >= 0.5.0 BuildRequires: pkgconfig(libpci) +%if 0%{?suse_version} >= 1550 +BuildRequires: pkgconfig(libproc-2) +%else BuildRequires: pkgconfig(libprocps) +%endif BuildRequires: pkgconfig(ncursesw) Provides: bundled(dmidecode) = 3.3.20201210