From: Junio C Hamano Date: Wed, 11 Oct 2006 00:38:12 GMT Subject: [RFH] RPM gurus? (Re: rpmbuild fails) Message-ID: <7v64erznyj.fsf_-_@assigned-by-dhcp.cox.net> In-Reply-To: <200610110018.19035.Josef.Weidendorfer@gmx.de> Josef Weidendorfer writes: > On Tuesday 10 October 2006 22:31, Anders Larsen wrote: >> 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. Thanks. Also I noticed that we now build-require perl(Error); I have to ask kernel.org people to install it.