Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-antlr4-python3-runtime for
openSUSE:Factory checked in at 2024-02-08 19:03:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-antlr4-python3-runtime (Old)
and /work/SRC/openSUSE:Factory/.python-antlr4-python3-runtime.new.1815
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-antlr4-python3-runtime"
Thu Feb 8 19:03:43 2024 rev:6 rq:1145125 version:4.13.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-antlr4-python3-runtime/python-antlr4-python3-runtime.changes
2024-01-03 14:53:45.593344513 +0100
+++
/work/SRC/openSUSE:Factory/.python-antlr4-python3-runtime.new.1815/python-antlr4-python3-runtime.changes
2024-02-08 19:05:32.762466377 +0100
@@ -1,0 +2,5 @@
+Thu Feb 8 09:57:35 UTC 2024 - Adrian Schröter <[email protected]>
+
+- fix build for python 3.12
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-antlr4-python3-runtime.spec ++++++
--- /var/tmp/diff_new_pack.cxiEu2/_old 2024-02-08 19:05:33.234483474 +0100
+++ /var/tmp/diff_new_pack.cxiEu2/_new 2024-02-08 19:05:33.238483619 +0100
@@ -32,7 +32,7 @@
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 @@
%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