diff --git a/python-gast.spec b/python-gast.spec index 775d685..6a02537 100644 --- a/python-gast.spec +++ b/python-gast.spec @@ -12,27 +12,27 @@ # 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/ +# + %define srcname gast %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-gast Version: 0.2.2 Release: 0 -License: BSD-3-Clause Summary: Python AST that abstracts the underlying Python version -Url: https://github.com/serge-sans-paille/gast/ +License: BSD-3-Clause Group: Development/Languages/Python +URL: https://github.com/serge-sans-paille/gast/ Source: https://github.com/serge-sans-paille/gast/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module astunparse} - BuildRequires: fdupes BuildArch: noarch - %python_subpackages %description @@ -59,5 +59,6 @@ as produced by ``ast.parse`` from the standard ``ast`` module. %{python_sitelib}/* %doc README.rst -%license LICENSE +%license LICENSE + %changelog