diff --git a/gcc.spec.in b/gcc.spec.in index c1349ec..4fef78d 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -232,7 +232,7 @@ BuildRequires: isl-devel BuildRequires: gcc@base_ver@-ada BuildRequires: gcc@base_ver@-c++ %else -%if %{suse_version} < 1310 +%if %{suse_version} <= 1315 %define hostsuffix -7 BuildRequires: gcc7-ada BuildRequires: gcc7-c++ diff --git a/gcc12-testresults.spec b/gcc12-testresults.spec index feec087..38b0c1a 100644 --- a/gcc12-testresults.spec +++ b/gcc12-testresults.spec @@ -248,7 +248,7 @@ BuildRequires: isl-devel BuildRequires: gcc12-ada BuildRequires: gcc12-c++ %else -%if %{suse_version} < 1310 +%if %{suse_version} <= 1315 %define hostsuffix -7 BuildRequires: gcc7-ada BuildRequires: gcc7-c++ diff --git a/gcc12.spec b/gcc12.spec index 86d3761..530ffc4 100644 --- a/gcc12.spec +++ b/gcc12.spec @@ -227,7 +227,7 @@ BuildRequires: isl-devel BuildRequires: gcc12-ada BuildRequires: gcc12-c++ %else -%if %{suse_version} < 1310 +%if %{suse_version} <= 1315 %define hostsuffix -7 BuildRequires: gcc7-ada BuildRequires: gcc7-c++