OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=59
This commit is contained in:
parent
6cd74cd044
commit
f74e4b7f75
@ -21,10 +21,13 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-pyparsing%{psuffix}
|
||||
Version: 2.3.0+git.1546912853.bf348d6
|
||||
Release: 0
|
||||
Summary: Grammar Parser Library for Python
|
||||
@ -49,11 +52,6 @@ BuildRequires: python-rpm-macros
|
||||
# this is now a dependency of setuptools
|
||||
Requires: python-base
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
Name: python-pyparsing-%{flavor}
|
||||
%else
|
||||
Name: python-pyparsing
|
||||
%endif
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-parsing = %{version}
|
||||
Obsoletes: %{oldpython}-parsing < %{version}
|
||||
|
Loading…
Reference in New Issue
Block a user