Hello,
After a cpanspec PDL-LAPACK-0.12-1.tgz
I did:
rpmbuild -bb perl-PDL-LAPACK-0.12.spec
--------------------Spec file----------------------
Name: perl-PDL-LAPACK-0.12
Version: 1
Release: 1%{?dist}
Summary: PDL::LAPACK::0.12 Perl module
License: CHECK(GPL+ or Artistic)
Group: Development/Libraries
URL: http://search.cpan.org/dist/PDL-LAPACK-0.12/
Source0: http://www.cpan.org/modules/by-module/PDL/PDL-LAPACK-0.%{version}2-1.tgz
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-0.%{version}2-1
%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
* Sun Jul 21 2013 Patrick Dupre 1-1
- Specfile autogenerated by cpanspec 1.78.
-----------------------------------------------------------
I get:
Blablabla
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.J8OolC
+ umask 022
+ cd /home/pdupre/rpm/BUILD
+ cd PDL-LAPACK-0.12-1
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..2
# Running under perl version 5.016003 for linux
# Current time local: Wed Jul 24 01:08:26 2013
# Current time GMT: Tue Jul 23 23:08:26 2013
# Using Test.pm version 1.25_02
ok 1
ok 2
+ exit 0
Processing files: perl-PDL-LAPACK-0.12-1-1.fc19.noarch
error: File not found by glob:
/home/pdupre/rpm/BUILDROOT/perl-PDL-LAPACK-0.12-1-1.fc19.i386/usr/share/perl5/vendor_perl/*
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WCZTZl
+ umask 022
+ cd /home/pdupre/rpm/BUILD
+ cd PDL-LAPACK-0.12-1
+
DOCDIR=/home/pdupre/rpm/BUILDROOT/perl-PDL-LAPACK-0.12-1-1.fc19.i386/usr/share/doc/perl-PDL-LAPACK-0.12-1
+ export DOCDIR
+ /usr/bin/mkdir -p
/home/pdupre/rpm/BUILDROOT/perl-PDL-LAPACK-0.12-1-1.fc19.i386/usr/share/doc/perl-PDL-LAPACK-0.12-1
+ cp -pr Changes
/home/pdupre/rpm/BUILDROOT/perl-PDL-LAPACK-0.12-1-1.fc19.i386/usr/share/doc/perl-PDL-LAPACK-0.12-1
+ cp -pr lapack.pd
/home/pdupre/rpm/BUILDROOT/perl-PDL-LAPACK-0.12-1-1.fc19.i386/usr/share/doc/perl-PDL-LAPACK-0.12-1
+ cp -pr README
/home/pdupre/rpm/BUILDROOT/perl-PDL-LAPACK-0.12-1-1.fc19.i386/usr/share/doc/perl-PDL-LAPACK-0.12-1
+ exit 0
RPM build errors:
File not found by glob:
/home/pdupre/rpm/BUILDROOT/perl-PDL-LAPACK-0.12-1-1.fc19.i386/usr/share/perl5/vendor_perl/*
How to solve this glitch ?
Thank.
===========================================================================
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
===========================================================================
Show replies by date