From b70b2063393baeafe1642a8b0821bc4689a503a8c94d2ec3e5528bed222fd795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 3 Jun 2019 11:36:40 +0000 Subject: [PATCH] Accepting request 707151 from home:pgajdos - note there are no upstream tests, run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/707151 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exrex?expand=0&rev=7 --- python-exrex.changes | 5 +++++ python-exrex.spec | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) 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..85109dc 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