Adrian Schröter 2019-05-14 13:34:09 +00:00 committed by Git OBS Bridge
parent 36175b0308
commit ea812ccb8d
2 changed files with 10 additions and 7 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue May 14 13:33:02 UTC 2019 - Adrian Schröter <adrian@suse.de>
- enable test suite by default
* if it does not build, it can also not be executed on the distro
- fix requires for SLE 12 distro
-------------------------------------------------------------------
Thu May 9 10:33:23 UTC 2019 - John Whately <john+OpenSuse@whately.me>

View File

@ -1,7 +1,7 @@
#
# spec file for package obs-service-set_version
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,11 +16,7 @@
#
%if 0%{?suse_version} > 1315
%bcond_without obs_scm_testsuite
%else
%bcond_with obs_scm_testsuite
%endif
%define service set_version
Name: obs-service-%{service}
@ -37,11 +33,11 @@ BuildRequires: python3-flake8
%endif
%if 0%{?suse_version}
%if 0%{?suse_version} > 1315
Recommends: python3-packaging
Requires: python3-base
%else
Recommends: python3-packaging
Requires: python3
%endif
Recommends: python3-packaging
%endif
Requires: sed
BuildRoot: %{_tmppath}/%{name}-%{version}-build