Re: rpmbuild fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]