File not found by glob: /usr/lib/perl5/vendor_perl/5.10.0/*

Paul Howarth paul at city-fan.org
Fri Apr 23 16:04:50 UTC 2010


On 23/04/10 16:41, Shakthi Kannan wrote:
> Hi,
>
> I am trying to package Sys::CPU [1], as I require this for another
> Perl package. My .spec file is at:
>
>    http://shakthimaan.fedorapeople.org/SPECS/perl-Sys-CPU.spec
>
> When not using any BuildArch it fails for x86_64:
>
> === OUTPUT ===
>
> RPM build errors:
>      File not found by glob:
> /builddir/build/BUILDROOT/perl-Sys-CPU-0.51-1.fc12.x86_64/usr/lib/perl5/vendor_perl/5.10.0/*
> Child returncode was: 1
>
> === END ===
>
>    http://koji.fedoraproject.org/koji/getfile?taskID=2134280&name=build.log
>
> but, it works fine when using:
>
>    BuildArch: %{ix86}
>
> Can you please tell me what could be wrong?

General rule of thumb: if you have BuildArch: noarch then you use 
%{perl_vendorlib}; otherwise you use %{perl_vendorarch} instead.

Paul.



More information about the perl-devel mailing list