Re: rpmbuild fails
- From
- Josef 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