diff --git a/python-antlr4-python3-runtime.spec b/python-antlr4-python3-runtime.spec index d4113ae..f850984 100644 --- a/python-antlr4-python3-runtime.spec +++ b/python-antlr4-python3-runtime.spec @@ -1,7 +1,7 @@ # # spec file for package python-antlr4-python3-runtime # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,26 @@ # 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-antlr4-python3-runtime Version: 4.8 Release: 0 -License: BSD-3-clause Summary: ANTLR runtime for Python 3 -Url: http://www.antlr.org -Group: Development/Languages/Python +License: BSD-3-Clause +URL: https://www.antlr.org Source: https://files.pythonhosted.org/packages/source/a/antlr4-python3-runtime/antlr4-python3-runtime-%{version}.tar.gz Source1: LICENSE.txt -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch %if %{python3_version_nodots} < 35 Requires: python-typing %endif -BuildArch: noarch - %python_subpackages %description