Re: rpmbuild

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

 



Sorry for the confusion and thank.

OK, now it is OK,
I needed to change both:
BuildArch
and 
perl_vendorarch

cpanspec or  PDL-LAPACK-0.12.tar.gz need to be fixed!


> 
> > ----- 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


===========================================================================
 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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux