public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/javapackages-tools] rawhide: Fix compatibility with Python 3.15
@ 2026-06-01 6:58 Karolina Surma
0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-06-01 6:58 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/javapackages-tools
Branch : rawhide
Commit : 0b35b863cb8d4b19c81a508f1ea6352c63029588
Author : Karolina Surma <ksurma@redhat.com>
Date : 2026-05-28T14:31:50+02:00
Stats : +23/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/javapackages-tools/c/0b35b863cb8d4b19c81a508f1ea6352c63029588?branch=rawhide
Log:
Fix compatibility with Python 3.15
---
diff --git a/160.patch b/160.patch
new file mode 100644
index 0000000..4602aaf
--- /dev/null
+++ b/160.patch
@@ -0,0 +1,22 @@
+From 91559531ce7f7e95da7b855224b9ac2c2a2ab5d5 Mon Sep 17 00:00:00 2001
+From: Marian Koncek <marian.koncek@mailbox.org>
+Date: Wed, 27 May 2026 11:16:39 +0200
+Subject: [PATCH] Harcode a specific GZIP compression level
+
+---
+ java-utils/mvn_build.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/java-utils/mvn_build.py b/java-utils/mvn_build.py
+index ce12e905..ee1335b9 100644
+--- a/java-utils/mvn_build.py
++++ b/java-utils/mvn_build.py
+@@ -193,7 +193,7 @@ def goal_callback(option, opt_str, value, parser):
+ builddep_data = file.read()
+ #compressed = gzip.compress(builddep_data, mtime=0)
+ buf = io.BytesIO()
+- with gzip.GzipFile(fileobj=buf, mode='wb', mtime=0) as f:
++ with gzip.GzipFile(fileobj=buf, mode='wb', mtime=0, compresslevel=9) as f:
+ f.write(builddep_data)
+ compressed = buf.getvalue()
+ encoded = base64.b64encode(compressed).decode()
diff --git a/javapackages-tools.spec b/javapackages-tools.spec
index e204e42..ab669ae 100644
--- a/javapackages-tools.spec
+++ b/javapackages-tools.spec
@@ -20,6 +20,7 @@ URL: https://github.com/fedora-java/javapackages
BuildArch: noarch
Source: https://github.com/fedora-java/javapackages/archive/%{version}.tar.gz
+Patch: https://github.com/fedora-java/javapackages/pull/160.patch
BuildRequires: coreutils
BuildRequires: rubygem-asciidoctor
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-01 6:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-01 6:58 [rpms/javapackages-tools] rawhide: Fix compatibility with Python 3.15 Karolina Surma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox