Tomáš Chvátal 2019-01-18 10:01:20 +00:00 committed by Git OBS Bridge
parent 6cd74cd044
commit f74e4b7f75

View File

@ -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}