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

Re: [ANNOUNCE] Git 1.7.9

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 3, 2012, 12:52 UTC
Message-ID
<201202031352.10279.jnareb@gmail.com>
In-Reply-To
<CAPc5daVhXQ3-TCqZi8di=j5LdpwXZUt3bO8KkvA2UmL6axCRqQ@mail.gmail.com>
On Fri, 3 Feb 2012, Junio C Hamano wrote:
Show 16 quoted lines
> On Thu, Feb 2, 2012 at 12:50 PM, Jakub Narebski <jnareb@gmail.com> wrote:
> 
> > When trying to rebuild RPM out of tarball with
> >
> >  $ rpmbuild -tb git-1.7.9.tar.gz
> >
> > I get the following error at the end of build phase:
> >
> >  RPM build errors:
> >     Installed (but unpackaged) file(s) found:
> >    /usr/share/locale/is/LC_MESSAGES/git.mo
> >
> 
> I think it should be simply ignored at least for now.  I stopped touching
> the rpm spec since August last year (the only reason I was running rpmbuild
> was to install them on k.org), so I didn't notice.
So for the time being something like that would be an acceptable fix?
 
diff --git a/git.spec b/git.spec
index 8ceb42b..5461b0b 100644
--- a/git.spec
+++ b/git.spec
@@ -134,6 +134,7 @@ find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
 %else
 rm -rf $RPM_BUILD_ROOT%{_mandir}
 %endif
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
 
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
 install -m 644 -T contrib/completion/git-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/git
-- 
Jakub Narebski
Poland
Previous: Jakub NarebskiNext: Junio C Hamano
Message 8 of 11 in “[ANNOUNCE] Git 1.7.9”
  1. Junio C HamanoJan 27, 2012
  2. A note from the maintainerJunio C Hamano, Jan 27, 2012
  3. What's cooking in git.git (Jan 2012, #06; Fri, 27)Junio C Hamano, Jan 27, 2012
  4. Junio C HamanoJan 28, 2012
  5. Felipe ContrerasJan 28, 2012
  6. Matthieu MoyJan 30, 2012
  7. Jakub NarebskiFeb 2, 2012
  8. Jakub NarebskiFeb 3, 2012
  9. Junio C HamanoFeb 3, 2012
  10. Jakub NarebskiFeb 3, 2012
  11. git.spec: Workaround localized messages not put in any RPMJakub Narebski, Feb 3, 2012

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.