diff --git a/python-exrex.changes b/python-exrex.changes index dd3597b..012bde3 100644 --- a/python-exrex.changes +++ b/python-exrex.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 3 10:59:25 UTC 2019 - pgajdos@suse.com + +- note there are no upstream tests, run spec-cleaner + ------------------------------------------------------------------- Tue Dec 4 12:47:49 UTC 2018 - Matej Cepl diff --git a/python-exrex.spec b/python-exrex.spec index d5c59c3..3b833ea 100644 --- a/python-exrex.spec +++ b/python-exrex.spec @@ -1,7 +1,7 @@ # # spec file for package python-exrex # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,15 +23,15 @@ Release: 0 Summary: Irregular methods for regular expressions License: AGPL-3.0-or-later Group: Development/Languages/Python -Url: https://github.com/asciimoo/exrex +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_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-setuptools BuildArch: noarch - %python_subpackages %description @@ -50,6 +50,9 @@ sed -i '1s/^#!.*//' exrex.py rm %{buildroot}%{_bindir}/exrex.py %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# no upstream tests + %files %{python_files} %{python_sitelib}/* %license COPYING