From 77fb7c242d78990b977f36e211600a9afb3fbab2f22932bc79722e5e6177525e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 7 May 2020 07:04:30 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-antlr4-python3-runtime?expand=0&rev=2 --- python-antlr4-python3-runtime.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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