From d19002b6d251ddec023fb5bca3662d18c76d647376b2776278b6dd8258cb71a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 30 Nov 2020 15:20:57 +0000 Subject: [PATCH] spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkgutil-resolve-name?expand=0&rev=2 --- python-pkgutil-resolve-name.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python-pkgutil-resolve-name.spec b/python-pkgutil-resolve-name.spec index a026ef9..75d2dae 100644 --- a/python-pkgutil-resolve-name.spec +++ b/python-pkgutil-resolve-name.spec @@ -12,23 +12,23 @@ # 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-%{**}} Name: python-pkgutil-resolve-name Version: 1.0.0 Release: 0 -License: Python-2.0 and MIT Summary: Backport of Python 3.9's pkgutil.resolve_name -Url: https://github.com/graingert/pkgutil-resolve-name +License: Python-2.0 AND MIT Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/p/pkgutil-resolve-name/pkgutil_resolve_name-%{version}.tar.gz -BuildRequires: python-rpm-macros +URL: https://github.com/graingert/pkgutil-resolve-name +Source: https://files.pythonhosted.org/packages/source/p/pkgutil_resolve_name/pkgutil_resolve_name-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description