public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/adb-enhanced] rawhide: update to 2.9.0 fixes rhbz#2357592
Date: Sat, 20 Jun 2026 22:55:02 GMT	[thread overview]
Message-ID: <178199610239.1.14436849185386897493.rpms-adb-enhanced-b2fad345d626@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/adb-enhanced
            Branch : rawhide
            Commit : b2fad345d6267fa2831329f212b5a4ad5cb1924b
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-13T18:46:07-03:00
            Stats  : +20/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/adb-enhanced/c/b2fad345d6267fa2831329f212b5a4ad5cb1924b?branch=rawhide

            Log:
            update to 2.9.0 fixes rhbz#2357592

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/adb-enhanced.spec b/adb-enhanced.spec
index ad51356..fa21dcf 100644
--- a/adb-enhanced.spec
+++ b/adb-enhanced.spec
@@ -1,7 +1,7 @@
 %bcond_with tests
 
 Name:           adb-enhanced
-Version:        2.8.0
+Version:        2.9.0
 Release:        %autorelease
 Summary:        Tool for Android testing and development
 
@@ -34,6 +34,24 @@ requires = ["setuptools>=61.0.0"]
 build-backend = "setuptools.build_meta"
 EOF
 
+# Remove shebang from python libraries that are not directly executed
+sed -i -e '1{\@^#!/usr/bin/env python@d}' adbe/adb_enhanced.py adbe/main.py
+
+# Remove Class-Path entry from the prebuilt jar manifest to silence rpmlint warning
+python3 -c "
+import zipfile, os
+jar_path = 'adbe/abe.jar'
+with zipfile.ZipFile(jar_path, 'r') as z_in:
+    with zipfile.ZipFile(jar_path + '.new', 'w') as z_out:
+        for item in z_in.infolist():
+            data = z_in.read(item.filename)
+            if item.filename == 'META-INF/MANIFEST.MF':
+                lines = [line for line in data.decode('utf-8').splitlines() if not line.startswith('Class-Path:')]
+                data = '\n'.join(lines).encode('utf-8') + b'\n'
+            z_out.writestr(item, data)
+os.replace(jar_path + '.new', jar_path)
+"
+
 
 
 %generate_buildrequires

diff --git a/sources b/sources
index 529b7b4..b8aaac5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (adb-enhanced-2.8.0.tar.gz) = 42d0c7438073fc7ec6f79617c80783667ba88d1c1368a2c49e11b782bdffcd78614e1c610a2233ff11089ae1ee966f127a78e4350f85ca2428516a8325152b58
+SHA512 (adb-enhanced-2.9.0.tar.gz) = 50cf37c5b048a9b14c2587b50c8ea1a77e15443160df1f18bff22a2baca0838e55779156ac731b0433a8f3a23739bd8f009c4242003be79863fa31a678907757

                 reply	other threads:[~2026-06-20 22:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178199610239.1.14436849185386897493.rpms-adb-enhanced-b2fad345d626@fedoraproject.org \
    --to=filiperosset@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox