Re: rpmbuild

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

 




> ----- Original Message -----
> From: Reindl Harald
> Sent: 07/29/13 06:02 PM
> To: Patrick Dupre
> Subject: Re: rpmbuild
> 
> Am 29.07.2013 17:48, schrieb Patrick Dupre:
> > 
> > 
> >> ----- Original Message -----
> >> From: Reindl Harald
> >> Sent: 07/29/13 05:29 PM
> >> To: Community support for Fedora users
> >> Subject: Re: rpmbuild
> >>
> >> Am 29.07.2013 17:26, schrieb Patrick Dupre:
> >>>> On Mon, Jul 29, 2013 at 9:35 AM, Patrick Dupre <pdupre@xxxxxxx> wrote:
> >>>>
> >>>>> RPM build errors:
> >>>>> File not found by glob:
> >>>>> /home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/share/perl5/vendor_perl/*
> >>>>>
> >>> Of course, there is not /home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/share/perl5
> >>> But where are the files?
> >>
> >> /usr/lib64/perl5/ as you see below
> >> fix xour %files section!
> > 
> > I tried
> > %/usr/local/lib64/perl5/*
> 
> what should this be? %{_prefix} = /usr
> https://fedoraproject.org/wiki/Packaging:RPMMacros
> 
> the files are in /usr/lib64/perl5/vendor_perl/ and *not*
> in /usr/local and so why do you specifiy /usr/local?

I am confuse: 
cpanspec (or rpmbuild) installed the files in 
/home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/lib64/perl5/vendor_perl
while there are expected in 
/home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/share/perl5/vendor_perl

This is my understanding.

Checking around
rpm installed PDL in /usr/lib64/perl5/vendor_perl/PDL (perl-PDL-2.4.10-4.fc18.x86_64)
which make some sense to me!!

Hence, I think that I need to modify the .spec file to tell to find the file in
/home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/lib64/perl5/vendor_perl

Thank.



> so "mv" them around in the install section
> or specify the *correct* ath in %files where
> you even can use a full qualified path without
> the buildroot
> 
> > but then I get:
> > RPM build errors:
> > File must begin with "/": %/usr/local/lib64/perl5/*
> > 
> > Probably I need a variable for this directory like perl_???lib ?
> > 
> >>> RPM build errors:
> >>> Installed (but unpackaged) file(s) found:
> >>> /usr/lib/debug/.build-id/08/33a58fc0ee04cfa29b0aa6f9c0aaa31f2c6a93
> >>> /usr/lib/debug/.build-id/08/33a58fc0ee04cfa29b0aa6f9c0aaa31f2c6a93.debug
> >>> /usr/lib/debug/usr/lib64/perl5/vendor_perl/auto/PDL/LAPACK/LAPACK.so.debug
> >>> /usr/lib64/perl5/vendor_perl/PDL/LAPACK.pm
> >>> /usr/lib64/perl5/vendor_perl/auto/PDL/LAPACK/LAPACK.bs
> >>> /usr/lib64/perl5/vendor_perl/auto/PDL/LAPACK/LAPACK.so
> >>> /usr/src/debug/PDL-LAPACK-0.12/LAPACK.c
> >>> /usr/src/debug/PDL-LAPACK-0.12/LAPACK.xs


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