14
0

Accepting request 951459 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/951459
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=78
This commit is contained in:
2022-02-05 11:34:07 +00:00
committed by Git OBS Bridge
parent 5a1904f860
commit 87e9fb868a
4 changed files with 45 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,7 @@
%endif
%define skip_python2 1
Name: python-pyparsing%{psuffix}
Version: 3.0.6
Version: 3.0.7
Release: 0
Summary: Grammar Parser Library for Python
License: GPL-2.0-or-later AND MIT AND GPL-3.0-or-later
@@ -39,6 +39,8 @@ Source: https://files.pythonhosted.org/packages/source/p/pyparsing/pypar
BuildRequires: %{python_module base}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# work around boo#1186870
Provides: %{mypython}%{python_version}dist(pyparsing) = %{version}
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module jinja2}
@@ -49,8 +51,6 @@ BuildRequires: %{python_module railroad-diagrams}
Provides: %{mypython}-parsing = %{version}
Obsoletes: %{mypython}-parsing < %{version}
%endif
# work around boo#1186870
Provides: %{mypython}%{python_version}dist(pyparsing) = %{version}
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
Provides: %{mypython}3dist(pyparsing) = %{version}
%endif