From 195075f75a0708a033cfeb390db6e4300f4db5ccdf813169e28eb45033f8fb5f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 13:46:05 +0000 Subject: [PATCH] Fix %pytest call OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyRSS2Gen?expand=0&rev=3 --- python-PyRSS2Gen.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/python-PyRSS2Gen.spec b/python-PyRSS2Gen.spec index 5592852..68c2b7c 100644 --- a/python-PyRSS2Gen.spec +++ b/python-PyRSS2Gen.spec @@ -12,7 +12,8 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,15 +21,15 @@ Name: python-PyRSS2Gen Version: 1.1 Release: 0 -License: BSD-3-Clause Summary: Generate RSS2 using a Python data structure -Url: http://dalkescientific.com/Python/PyRSS2Gen.html +License: BSD-3-Clause Group: Development/Languages/Python +Url: http://dalkescientific.com/Python/PyRSS2Gen.html Source: http://dalkescientific.com/Python/PyRSS2Gen-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module feedparser} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch Provides: %oldpython-pyrss2gen = 1.1 #NOTE(saschpe): Change back to "<" after next version update: