forked from pool/cpu-x
use <1599 to capture all Leaps
OBS-URL: https://build.opensuse.org/package/show/utilities/cpu-x?expand=0&rev=29
This commit is contained in:
parent
76912eb940
commit
0ec52bfcf2
10
cpu-x.spec
10
cpu-x.spec
@ -26,7 +26,7 @@ Group: System/X11/Utilities
|
|||||||
URL: https://github.com/TheTumultuousUnicornOfDarkness/CPU-X
|
URL: https://github.com/TheTumultuousUnicornOfDarkness/CPU-X
|
||||||
Source: https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/archive/refs/tags/v%version.tar.gz
|
Source: https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/archive/refs/tags/v%version.tar.gz
|
||||||
Patch1: no-no-pie.patch
|
Patch1: no-no-pie.patch
|
||||||
%if 0%{suse_version} == 1500
|
%if 0%{suse_version} < 1599
|
||||||
BuildRequires: gcc13
|
BuildRequires: gcc13
|
||||||
BuildRequires: gcc13-c++
|
BuildRequires: gcc13-c++
|
||||||
%endif
|
%endif
|
||||||
@ -89,12 +89,10 @@ Shell completion definitions from %name for %name.
|
|||||||
%autosetup -p1 -n %src_name
|
%autosetup -p1 -n %src_name
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{suse_version} == 1500
|
%if 0%{suse_version} < 1599
|
||||||
export CC=gcc-13
|
export CC=gcc-13 CXX=g++-13
|
||||||
export CXX=g++-13
|
|
||||||
%endif
|
%endif
|
||||||
%cmake \
|
%cmake -DWITH_OPENCL=1
|
||||||
-DWITH_OPENCL=1
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user