From 97679c2badb53516a9f7350d5627e1191191177e6180b514123be176c8c3581f Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 6 Dec 2022 09:35:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=3 --- gcc.spec.in | 2 +- gcc13-testresults.spec | 2 +- gcc13.spec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc.spec.in b/gcc.spec.in index b8370cc..ad1511c 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -114,7 +114,7 @@ %define build_jit 0 %endif -%if 0%{suse_version} >= 1599 || 0%{sle_version} >= 150300 +%if 0%{suse_version} >= 1599 || 0%{?sle_version:%sle_version} >= 150300 # FIXME: more once glibc 2.37 is released %define glibc_version %(rpm -q glibc --qf '%%{VERSION}') %define floatn_fixed_glibc %(case " %{glibc_version} " in (*9000*) echo 1;; (*) echo 0;; esac) diff --git a/gcc13-testresults.spec b/gcc13-testresults.spec index cf60a19..2f60b23 100644 --- a/gcc13-testresults.spec +++ b/gcc13-testresults.spec @@ -134,7 +134,7 @@ %define build_jit 0 %endif -%if 0%{suse_version} >= 1599 || 0%{sle_version} >= 150300 +%if 0%{suse_version} >= 1599 || 0%{?sle_version:%sle_version} >= 150300 # FIXME: more once glibc 2.37 is released %define glibc_version %(rpm -q glibc --qf '%%{VERSION}') %define floatn_fixed_glibc %(case " %{glibc_version} " in (*9000*) echo 1;; (*) echo 0;; esac) diff --git a/gcc13.spec b/gcc13.spec index e993dd9..1f02541 100644 --- a/gcc13.spec +++ b/gcc13.spec @@ -113,7 +113,7 @@ %define build_jit 0 %endif -%if 0%{suse_version} >= 1599 || 0%{sle_version} >= 150300 +%if 0%{suse_version} >= 1599 || 0%{?sle_version:%sle_version} >= 150300 # FIXME: more once glibc 2.37 is released %define glibc_version %(rpm -q glibc --qf '%%{VERSION}') %define floatn_fixed_glibc %(case " %{glibc_version} " in (*9000*) echo 1;; (*) echo 0;; esac)