diff --git a/cpu-x.changes b/cpu-x.changes index 08f7ea4..3b29c62 100644 --- a/cpu-x.changes +++ b/cpu-x.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 5 10:29:24 UTC 2023 - Manfred Hollstein + +- Use gcc13 as Leap's default compiler does not provide "filesystem". +- Add build requires for glibmm. + ------------------------------------------------------------------- Wed Nov 1 11:09:11 UTC 2023 - Jan Engelhardt diff --git a/cpu-x.spec b/cpu-x.spec index 3f5119c..b0a422c 100644 --- a/cpu-x.spec +++ b/cpu-x.spec @@ -26,6 +26,10 @@ Group: System/X11/Utilities URL: https://github.com/TheTumultuousUnicornOfDarkness/CPU-X Source: https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/archive/refs/tags/v%version.tar.gz Patch1: no-no-pie.patch +%if 0%{suse_version} == 1500 +BuildRequires: gcc13 +BuildRequires: gcc13-c++ +%endif BuildRequires: c++_compiler BuildRequires: cmake >= 3.12 BuildRequires: gettext-tools @@ -36,6 +40,7 @@ BuildRequires: opencl-headers BuildRequires: pkgconfig(OpenCL) BuildRequires: pkgconfig(glfw3) BuildRequires: pkgconfig(gtk+-3.0) >= 3.12.0 +BuildRequires: pkgconfig(gtkmm-3.0) >= 3.12.0 BuildRequires: pkgconfig(libcpuid) >= 0.6.0 BuildRequires: pkgconfig(libpci) BuildRequires: pkgconfig(libprocps) @@ -84,6 +89,10 @@ Shell completion definitions from %name for %name. %autosetup -p1 -n %src_name %build +%if 0%{suse_version} == 1500 +export CC=gcc-13 +export CXX=g++-13 +%endif %cmake \ -DWITH_OPENCL=1 %cmake_build