rpms/perl-PDL/FC-4 perl-PDL.spec,1.16,1.17
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Mar 9 16:39:36 UTC 2006
Author: jvdias
Update of /cvs/dist/rpms/perl-PDL/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv2007
Modified Files:
perl-PDL.spec
Log Message:
deliver previously submitted fixes for bugs 158733, 163219
Index: perl-PDL.spec
===================================================================
RCS file: /cvs/dist/rpms/perl-PDL/FC-4/perl-PDL.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- perl-PDL.spec 28 May 2005 06:42:07 -0000 1.16
+++ perl-PDL.spec 9 Mar 2006 16:39:34 -0000 1.17
@@ -1,6 +1,6 @@
Name: perl-PDL
Version: 2.4.2
-Release: 1.fc5
+Release: 2.fc4
Summary: PDL Perl module
Group: Development/Libraries
@@ -12,6 +12,7 @@
BuildRequires: perl >= 1:5.6.1
BuildRequires: gsl-devel
+BuildRequires: perl(Inline)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Provides: perl(PDL::Config) perl(PDL::PP::CType) perl(PDL::PP::Dims)
Provides: perl(PDL::PP::PDLCode) perl(PDL::PP::SymTab) perl(PDL::PP::XS)
@@ -49,6 +50,9 @@
chmod +x %{__perl_requires}
%build
+export PERL5LIB=`pwd`/blib/lib
+#^- can no longer build if perl-PDL is not installed without above
+#
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
make OPTIMIZE="$RPM_OPT_FLAGS"
# smp flags blows up spectacularly (2.4.1-10 May 7th 2005)
@@ -56,6 +60,10 @@
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+%{__perl} -Mblib Doc/scantree.pl $RPM_BUILD_ROOT%{perl_vendorarch}
+%{__perl} -pi -e "s|$RPM_BUILD_ROOT/|/|g" \
+ $RPM_BUILD_ROOT%{perl_vendorarch}/PDL/pdldoc.db
+find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -name "*.pm" | xargs chmod -x
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -84,6 +92,13 @@
%changelog
+* Fri Feb 03 2006 Jason Vas Dias <jvdias at redhat.com> - 2.4.2-2.fc5.1.2
+- rebuild for new perl-5.8.8
+- enable build to succeed without perl-PDL being installed :-)
+
+* Sun Sep 25 2005 Warren Togami <wtogami at redhat.com> - 2.4.2-2
+- Ship pdldoc.db, tune build dependencies and file permissions (#163219 scop)
+
* Fri May 27 2005 Warren Togami <wtogami at redhat.com> - 2.4.2-1
- 2.4.2
- filter perl(Inline) from provides (#158733)
More information about the fedora-cvs-commits
mailing list