diff --git a/python-XStatic.spec b/python-XStatic.spec index 37ed396..6142f84 100644 --- a/python-XStatic.spec +++ b/python-XStatic.spec @@ -12,20 +12,21 @@ # 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-XStatic Version: 1.0.2 Release: 0 -License: MIT Summary: XStatic base package with minimal support code -Url: https://github.com/xstatic-py/xstatic +License: MIT Group: Development/Languages/Python +Url: https://github.com/xstatic-py/xstatic Source: https://files.pythonhosted.org/packages/source/X/XStatic/XStatic-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -42,7 +43,7 @@ XStatic base package with minimal support code %install %python_install -%files +%files %{python_files} %doc README.txt %{python_sitelib}/*