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. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel