> ----- Original Message ----- > From: Patrick Lists > Sent: 07/29/13 07:30 PM > To: users@xxxxxxxxxxxxxxxxxxxxxxx > Subject: Re: rpmbuild > > 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 Maybe cpanspec is wrong, but noarch or x86_64 give the same error: File not found by glob: /home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/share/perl5/vendor_perl/* And this is because %{perl_vendorlib}/* I need to get the right variable for: /home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/lib64/perl5/vendor_perl where the files are!! =========================================================================== Patrick DUPRÉ | | email: pdupre@xxxxxxx Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France =========================================================================== -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org