forked from pool/python-parse
Accepting request 697837 from home:pgajdos
- version update to 1.12.0 * Do not assume closing brace when an opening one is found - added sources https://github.com/r1chardj0n3s/parse/issues/82 + LICENSE OBS-URL: https://build.opensuse.org/request/show/697837 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parse?expand=0&rev=11
This commit is contained in:
@@ -18,13 +18,15 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-parse
|
||||
Version: 1.11.1
|
||||
Version: 1.12.0
|
||||
Release: 0
|
||||
Summary: Python module for parsing strings using a "format" syntax
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/r1chardj0n3s/parse
|
||||
Source: https://files.pythonhosted.org/packages/source/p/parse/parse-%{version}.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/parse/parse-%{version}.tar.gz
|
||||
# https://github.com/r1chardj0n3s/parse/issues/82
|
||||
Source1: https://raw.githubusercontent.com/r1chardj0n3s/parse/master/LICENSE
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -37,6 +39,7 @@ Parse strings using a specification based on the Python format() syntax.
|
||||
%prep
|
||||
%setup -q -n parse-%{version}
|
||||
chmod a-x README.rst
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -49,6 +52,7 @@ chmod a-x README.rst
|
||||
%python_exec setup.py test -v
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user