----- Original Message -----
From: Patrick Lists
Sent: 07/29/13 07:07 PM
To: users(a)lists.fedoraproject.org
Subject: Re: rpmbuild
On 07/29/2013 05:26 PM, Patrick Dupre wrote:
> Thank for your help.
>
>>
>> On Mon, Jul 29, 2013 at 9:35 AM, Patrick Dupre <pdupre(a)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/*
>>>
>>
>> It's saying there's no files there... just cd into there and look
around.
>> Perhaps the files are not being installed correctly. Another option is to
>> just comment out "%{perl_vendorlib}/*" and see if rpmbuild complains
about
>> unpackaged files.
>>
> 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?
>
> Commenting %{perl_vendorlib}/*
> gives:
>
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests)
<= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64
> error: 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
>
>
> 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
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
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
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
===========================================================================