Accepting request 629411 from devel:languages:python
- Fix conditions when to enanle tests and when not. OBS-URL: https://build.opensuse.org/request/show/629411 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbr?expand=0&rev=37
This commit is contained in:
commit
b338d730fc
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 15 12:38:40 UTC 2018 - mcepl@suse.com
|
||||
|
||||
- Fix conditions when to enanle tests and when not.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 6 10:03:48 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
@ -20,8 +20,10 @@
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%bcond_without test
|
||||
%endif
|
||||
%else
|
||||
%bcond_with test
|
||||
%endif
|
||||
|
||||
Version: 4.1.1
|
||||
Release: 0
|
||||
Summary: Python Build Reasonableness
|
||||
@ -37,10 +39,10 @@ Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Obsoletes: python-pbr-doc
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
Name: python-pbr-%{flavor}
|
||||
%else
|
||||
%if !%{with test}
|
||||
Name: python-pbr
|
||||
%else
|
||||
Name: python-pbr-%{flavor}
|
||||
%endif
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Sphinx >= 1.6.2}
|
||||
|
Loading…
Reference in New Issue
Block a user