rpmbuild

Patrick Lists fedora-list at puzzled.xs4all.nl
Mon Jul 29 17:30:13 UTC 2013


On 07/29/2013 07:21 PM, Patrick Dupre wrote:
[snip]
>>
>> It seems that package is dependent on the x86_64 arch in which case it
>> will get installed in perl_vendorarch. So try to use %{perl_vendorarch}
>> in the %files section:
>>
>> %files
>> %defattr(-,root,root,-)
>> %doc Changes lapack.pd README
>> %{perl_vendorarch}/*
>> %{_mandir}/man3/*
>>
> cpanspec decided that it is noarch.
>
> moving to %{perl_vendorarch}/*
> gives:
>
> error: Arch dependent binaries in noarch package
> RPM build errors:
>      Arch dependent binaries in noarch package

Well I guess cpanspec is wrong. Just change

BuildArch: noarch

to

BuildArch: x86_64

Regards,
Patrick


More information about the users mailing list