forked from pool/python-antlr4-python3-runtime
Accepting request 1145125 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1145125 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-antlr4-python3-runtime?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 8 09:57:35 UTC 2024 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
- fix build for python 3.12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 09:41:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -32,7 +32,7 @@ BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%if %{python3_version_nodots} < 35
|
||||
Requires: python-typing
|
||||
@@ -48,6 +48,8 @@ This package contains the runtime for Python 3.
|
||||
%prep
|
||||
%setup -q -n antlr4-%{version}/runtime/Python3
|
||||
cp %{SOURCE1} LICENSE.txt
|
||||
# fixing for python 3.12
|
||||
sed -i 's,self.assertEquals,self.assertEqual,' tests/Test*
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
Reference in New Issue
Block a user