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

Re: rpmbuild fails

From
JWJosef Weidendorfer <josef.weidendorfer@gmx.de>
Date
Oct 10, 2006, 22:18 UTC
Message-ID
<200610110018.19035.Josef.Weidendorfer@gmx.de>
In-Reply-To
<pan.2006.10.10.20.31.48.692444@alarsen.net>
On Tuesday 10 October 2006 22:31, Anders Larsen wrote:
Show 5 quoted lines
> The current git fails when building rpms:
> 
> 	RPM build errors:
> 	    Installed (but unpackaged) file(s) found:
> 	   /usr/lib/perl5/vendor_perl/5.8.6/Git.pm

I got the same. I'm no rpm guru, but changing %{perl_vendorarch} into %{perl_vendorlib} in git.spec.in helped for me.

Obviously, the generated perl/Makefile installs Git.pm into the perl vendor *library* directory, and not the arch one.

I do not provide a real patch, as I have no idea if this is really the correct fix (we have no arch-dependent perl files anymore, yes?).

However, something like the above should go into git-1.4.3.
> Indeed git.spec.in does not specify any files for perl-Git, only
> 	%files -n perl-Git -f perl-files
> 	%defattr(-,root,root)
> nothing more.

Hmm... Obviously the "... -f perl-files" includes all files mentioned in file "perl-files" into perl-Git. The problem was that without the above change this file was empty.

Josef
Previous: Anders LarsenNext: Junio C Hamano
Message 2 of 5 in “rpmbuild fails”
  1. Anders LarsenOct 10, 2006
  2. Josef WeidendorferOct 10, 2006
  3. [RFH] RPM gurus? (Re: rpmbuild fails)Junio C Hamano, Oct 11, 2006
  4. Junio C HamanoOct 11, 2006
  5. Josef WeidendorferOct 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.