[packages/perl-PDL] - updated BRs - fix shebang

baggins baggins at pld-linux.org
Mon May 10 23:48:48 CEST 2021


commit df680b4c149d915b108c205bc0ceb3edc14d6aeb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon May 10 23:48:13 2021 +0200

    - updated BRs
    - fix shebang

 perl-PDL.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/perl-PDL.spec b/perl-PDL.spec
index 7cfb5a1..96678b5 100644
--- a/perl-PDL.spec
+++ b/perl-PDL.spec
@@ -23,16 +23,19 @@ Patch2:		%{name}-Makefile.PL.patch-dumb
 Patch4:		%{name}-vendorarch.patch
 Patch5:		PDL-Disable-PDL-GIS-Proj.patch
 URL:		http://pdl.perl.org/
+BuildRequires:	OpenGL-devel
 BuildRequires:	gd-devel
 BuildRequires:	gsl-devel >= 1.3
 BuildRequires:	libgfortran-static
 BuildRequires:	ncurses-devel >= 5.0
+BuildRequires:	perl-Astro-FITS-Header
 BuildRequires:	perl-Devel-CheckLib
 BuildRequires:	perl-ExtUtils-F77 >= 1.10
 BuildRequires:	perl-Filter
 BuildRequires:	perl-Inline >= 0.43
 BuildRequires:	perl-OpenGL >= 0.6702
 BuildRequires:	perl-PGPLOT
+BuildRequires:	perl-Pod-Parser
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	perl-perldoc
 BuildRequires:	proj-devel
@@ -438,6 +441,9 @@ Przykładowe skrypty z użyciem PDL.
 
 %{__perl} -pi -e "s@(OPENGL_LIBS.*)'-L/usr/lib@\$1'-L/usr/%{_lib}@" perldl.conf
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+perl(\s|$),#!%{__perl}\1,' \
+      Perldl2/pdl2
+
 ln -s Basic PDL
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-PDL.git/commitdiff/df680b4c149d915b108c205bc0ceb3edc14d6aeb



More information about the pld-cvs-commit mailing list