Frank Schreiner 2023-06-14 08:57:24 +00:00 committed by Git OBS Bridge
parent c2afb48621
commit 5a28fe5246

View File

@ -29,7 +29,7 @@
%define nsuffix -test
%endif
%if 0%{?suse_version} && 0%{?suse_version} >= 1220 && "%{flavor}" == "test"
%if ( 0%{?fedora_version} || ( 0%{?suse_version} && 0%{?suse_version} >= 1220)) && "%{flavor}" == "test"
%bcond_without obs_scm_testsuite
%else
%bcond_with obs_scm_testsuite
@ -136,7 +136,11 @@ Source: %{pkg_name}-%{version}.tar.gz
BuildRequires: %{locale_package}
BuildRequires: %{pkg_name} = %{version}
BuildRequires: %{use_python}-keyring
%if 0%{?fedora_version}
BuildRequires: %{use_python}-keyrings-alt
%else
BuildRequires: %{use_python}-keyrings.alt
%endif
BuildRequires: %{use_python}-six
BuildRequires: bzr
BuildRequires: git-core