public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/adb-enhanced] rawhide: Fixed jar manifest patch application in %prep.
Date: Fri, 13 Nov 2026 18:39:00 GMT [thread overview]
Message-ID: <179459514073.1.7087348748993844795.rpms-adb-enhanced-f65847de3e5a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/adb-enhanced
Branch : rawhide
Commit : f65847de3e5ac308eaa84d0b78afc6c3c4b5bbe9
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-10-21T16:13:50-03:00
Stats : +3/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/adb-enhanced/c/f65847de3e5ac308eaa84d0b78afc6c3c4b5bbe9?branch=rawhide
Log:
Fixed jar manifest patch application in %prep.
The previous line `bash %{SOURCE1} %{PATCH0}` passed the patch filename
as the script's "action" argument, which was silently ignored, so
remove-classpath-manifest.patch was never applied (rpmlint:
patch-not-applied + class-path-in-manifest).
Now: extract manifest from jar -> patch -p1 -> repack jar
---
diff --git a/adb-enhanced.spec b/adb-enhanced.spec
index 5d62268..e21720c 100644
--- a/adb-enhanced.spec
+++ b/adb-enhanced.spec
@@ -38,7 +38,9 @@ EOF
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
-bash %{SOURCE1} %{PATCH0}
+bash %{SOURCE1} --extract
+patch -p1 < %{PATCH0}
+bash %{SOURCE1} --repack
reply other threads:[~2026-11-13 18:39 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=179459514073.1.7087348748993844795.rpms-adb-enhanced-f65847de3e5a@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--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