git/list[1] front-page[2] threads[3] people[4] search[5] about
 

annotate.perl triggers rpm bug

From
sean <seanlkml@sympatico.ca>
Date
Mar 10, 2006, 21:23 UTC
Message-ID
<BAYC1-PASMTP0815EFABBF5266FB641C65AEED0@CEZ.ICE>
Hi Ryan

Commit 87475f4 exposes a problem in the creation of rpms (at least on Fedora boxes). RPM automatically creates a dependency for any perl "use" lines, and the above commit fools it into creating a false dependecy for the nonexistent perl package "revs" because of this portion of the diff:

+       -S, --rev-file revs-file
+                       use revs from revs-file instead of calling git-rev-list
                        ^^ fools rpm

Obviously this creates a problem when someone goes to install the git-core rpm. Any chance we could get a small change to work around this bug in rpm?

Thanks, Sean

diff --git a/git-annotate.perl b/git-annotate.perl
index feea0a2..6805b8b 100755
--- a/git-annotate.perl
+++ b/git-annotate.perl
@@ -20,7 +20,7 @@ sub usage() {
        -r, --rename
                        Follow renames (Defaults on).
        -S, --rev-file revs-file
-                       use revs from revs-file instead of calling git-rev-list
+                       uses revs from revs-file instead of calling git-rev-list
        -h, --help
                        This message.
 ';
Next: Junio C Hamano
Message 1 of 3 in “annotate.perl triggers rpm bug”
  1. seanMar 10, 2006
  2. Junio C HamanoMar 11, 2006
  3. seanMar 11, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.