Hello,

I alreasy ask about this issue, ut I did not get any feedback.
Was my post not clear?

I tried to build a rpm package form a source file PDL-LAPACK-0.12.tar.gz.
I run cpanspec and rpmbuild. The error message is:
/usr/bin/mkdir -p 
/home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/share/doc/perl-PDL-LAPACK-0.12
+ cp -pr Changes lapack.pd README 
/home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/share/doc/perl-PDL-LAPACK-0.12
+ exit 0


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


Here is the spec file:
-------------------------------------------------------------------
Name:           perl-PDL-LAPACK
Version:        0.12
Release:        1%{?dist}
Summary:        PDL::LAPACK Perl module
License:        CHECK(GPL+ or Artistic)
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/PDL-LAPACK/
Source0:        
http://www.cpan.org/modules/by-module/PDL/PDL-LAPACK-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))

%description
PDL::LAPACK
-----------
This package is an additional perl PDL module for access to fast linear
algebra functions from the popular LAPACK math package.

%prep
%setup -q -n PDL-LAPACK-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes lapack.pd README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Jul 29 2013 Patrick Dupre <pdu...@gmx.com> 0.12-1
- Specfile autogenerated by cpanspec 1.78.


What is wrong ?

Thank.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdu...@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
===========================================================================
-- 
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