Adrian Schröter 2019-12-04 15:18:53 +00:00 committed by Git OBS Bridge
parent d9218d2f00
commit 2795859aa7

View File

@ -1,7 +1,7 @@
# #
# spec file for package obs-service-set_version # spec file for package obs-service-set_version
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,10 +16,14 @@
# #
%if 0%{?centos_version}
%bcond_with obs_scm_testsuite
%else
%bcond_without obs_scm_testsuite %bcond_without obs_scm_testsuite
%endif
%define service set_version %define service set_version
%if 0%{?suse_version} > 1315 || 0%{?fedora_version} %if 0%{?suse_version} > 1315 || 0%{?fedora_version} || 0%{?centos_version} >= 800
%define use_python python3 %define use_python python3
%else %else
%define use_python python %define use_python python
@ -31,7 +35,7 @@ Release: 0
Summary: An OBS source service: Update spec file version Summary: An OBS source service: Update spec file version
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Development/Tools/Building Group: Development/Tools/Building
Url: https://github.com/openSUSE/obs-service-%{service} URL: https://github.com/openSUSE/obs-service-%{service}
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch