15
0
forked from pool/python-exrex
2018-03-09 07:34:15 +00:00
committed by Git OBS Bridge
parent dd8219b333
commit eff3370cac
2 changed files with 23 additions and 4 deletions

View File

@@ -13,23 +13,24 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-exrex
Version: 0.10.5
Release: 0
License: AGPL-3.0+
Summary: Irregular methods for regular expressions
Url: https://github.com/asciimoo/exrex
License: AGPL-3.0-or-later
Group: Development/Languages/Python
Url: https://github.com/asciimoo/exrex
Source: https://files.pythonhosted.org/packages/source/e/exrex/exrex-%{version}.tar.gz
# PATCH-FIX-UPSTREAM add-license.patch
Patch0: https://github.com/asciimoo/exrex/pull/32.patch#/add-license.patch
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages