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 <pdu...@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/*

Regards,
Patrick
--
users mailing list
users@lists.fedoraproject.org
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

Reply via email to