- simplifiy conditions for all rhel like distros to skip testsuite
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=116
This commit is contained in:
parent
141957fc5c
commit
d508052095
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 13 10:46:10 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- simplifiy conditions for all rhel like distros to skip testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 14 09:32:33 UTC 2021 - FSchreiner@suse.com
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package obs-service-set_version
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
@ -16,14 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?centos_version} || 0%{?almalinux} || 0%{?rocky} || ( 0%{?suse_version} && 0%{?suse_version} <= 1315 )
|
||||
%if 0%{?rhel} || ( 0%{?suse_version} && 0%{?suse_version} <= 1315 )
|
||||
%bcond_with obs_scm_testsuite
|
||||
%else
|
||||
%bcond_without obs_scm_testsuite
|
||||
%endif
|
||||
%define service set_version
|
||||
|
||||
%if 0%{?suse_version} > 1315 || 0%{?fedora_version} || 0%{?centos_version} >= 800 || 0%{?almalinux} >= 8 || 0%{?mageia} >= 8 || 0%{?rocky} >= 8
|
||||
%if 0%{?suse_version} > 1315 || 0%{?fedora_version} || 0%{?rhel} >= 8
|
||||
%define use_python python3
|
||||
%else
|
||||
%define use_python python
|
||||
|
Loading…
Reference in New Issue
Block a user