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

[PATCH] Fix broken git help -w when installing from RPM

From
dmellor@whistlingcat.com <dmellor@whistlingcat.com>
Date
Feb 6, 2009, 06:38 UTC
Message-ID
<20090207052514.BEECA17A57@sandstone.whistlingcat.com>

After the git-core package was renamed to git in 7c33d3a, git help -w was still looking for files in /usr/share/doc/git-core-$VERSION instead of /usr/share/doc/git-$VERSION.

My apologies if this posting is a duplicate. I tried to send this last night, but it does not appear to have shown up on the mailing list.

Signed-off-by: David J. Mellor <dmellor@whistlingcat.com>
---
 git.spec.in |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/git.spec.in b/git.spec.in
index 069ace0..5f035b0 100644
--- a/git.spec.in
+++ b/git.spec.in
@@ -97,7 +97,7 @@ BuildRequires:  perl(Error)
 %description -n perl-Git
 Perl interface to Git
 
-%define path_settings ETC_GITCONFIG=/etc/gitconfig prefix=%{_prefix} mandir=%{_mandir} htmldir=%{_docdir}/%{name}-core-%{version}
+%define path_settings ETC_GITCONFIG=/etc/gitconfig prefix=%{_prefix} mandir=%{_mandir} htmldir=%{_docdir}/%{name}-%{version}
 
 %prep
 %setup -q
@@ -190,6 +190,9 @@ rm -rf $RPM_BUILD_ROOT
 # No files for you!
 
 %changelog
+* Mon Feb 04 2009 David J. Mellor <dmellor@whistlingcat.com>
+- fix broken git help -w after git-core package was renamed to git.
+
 * Fri Sep 12 2008 Quy Tonthat <qtonthat@gmail.com>
 - move git-cvsserver to bindir.
 
-- 
1.6.1.2
Message 1 of 1 in “Fix broken git help -w when installing from RPM”
  1. Fix broken git help -w when installing from RPMdmellor@whistlingcat.com, Feb 6, 2009

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.