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
|
Mon Aug 6 10:03:48 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -20,8 +20,10 @@
|
|||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
%endif
|
%else
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
|
%endif
|
||||||
|
|
||||||
Version: 4.1.1
|
Version: 4.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python Build Reasonableness
|
Summary: Python Build Reasonableness
|
||||||
@ -37,10 +39,10 @@ Requires(post): update-alternatives
|
|||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Obsoletes: python-pbr-doc
|
Obsoletes: python-pbr-doc
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if !%{with test}
|
||||||
Name: python-pbr-%{flavor}
|
|
||||||
%else
|
|
||||||
Name: python-pbr
|
Name: python-pbr
|
||||||
|
%else
|
||||||
|
Name: python-pbr-%{flavor}
|
||||||
%endif
|
%endif
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module Sphinx >= 1.6.2}
|
BuildRequires: %{python_module Sphinx >= 1.6.2}
|
||||||
|
Loading…
Reference in New Issue
Block a user