rpmbuild

Reindl Harald h.reindl at thelounge.net
Mon Jul 29 16:02:29 UTC 2013



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 at gmx.com> 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?

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130729/58e145fa/attachment.sig>


More information about the users mailing list