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