public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/adb-enhanced] rawhide: Fixed jar manifest patch application in %prep.
@ 2026-11-13 18:39 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-13 18:39 UTC (permalink / raw)
  To: git-commits

         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
 
 
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-13 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13 18:39 [rpms/adb-enhanced] rawhide: Fixed jar manifest patch application in %prep Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox