diff --git a/sphinx-version-warning.spec b/python-sphinx-version-warning.spec similarity index 93% rename from sphinx-version-warning.spec rename to python-sphinx-version-warning.spec index 549c662..62f5ab1 100644 --- a/sphinx-version-warning.spec +++ b/python-sphinx-version-warning.spec @@ -12,21 +12,22 @@ # 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-sphinx-version-warning Version: 1.1.2 Release: 0 -License: UNKNOWN (FIXME:No SPDX) Summary: Sphinx extension to add a warning banner -Url: https://github.com/humitos/sphinx-version-warning +License: MIT Group: Development/Languages/Python +Url: https://github.com/humitos/sphinx-version-warning Source: https://files.pythonhosted.org/packages/source/s/sphinx-version-warning/sphinx-version-warning-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-Sphinx BuildArch: noarch