1.1 --- a/perl/perl.spec Thu Sep 15 17:11:15 2011 +0200 1.2 +++ b/perl/perl.spec Thu Sep 15 19:29:29 2011 +0200 1.3 @@ -1,6 +1,6 @@ 1.4 ## 1.5 ## perl.spec -- OpenPKG RPM Package Specification 1.6 -## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/> 1.7 +## Copyright (c) 2000-2011 OpenPKG Foundation e.V. <http://openpkg.net/> 1.8 ## 1.9 ## Permission to use, copy, modify, and distribute this software for 1.10 ## any purpose with or without fee is hereby granted, provided that 1.11 @@ -31,20 +31,16 @@ 1.12 Class: CORE 1.13 Group: Perl 1.14 License: GPL/Artistic 1.15 -Version: 5.10.0 1.16 -Release: 20090106 1.17 +Version: 5.14.1 1.18 +Release: 20110618 1.19 1.20 # list of sources 1.21 -Source0: ftp://ftp.cpan.org/pub/CPAN/src/perl-%{version}.tar.gz 1.22 +Source0: http://www.cpan.org/src/perl-%{version}.tar.gz 1.23 Patch0: perl.patch 1.24 1.25 # build information 1.26 -Prefix: %{l_prefix} 1.27 -BuildRoot: %{l_buildroot} 1.28 -BuildPreReq: OpenPKG, openpkg >= 20040130, gcc 1.29 -PreReq: OpenPKG, openpkg >= 20040130 1.30 -AutoReq: no 1.31 -AutoReqProv: no 1.32 +BuildPreReq: OpenPKG, openpkg >= 20100101, gcc 1.33 +PreReq: OpenPKG, openpkg >= 20100101 1.34 1.35 %description 1.36 Perl ("Practical Reporting and Extraction Language") is a very 1.37 @@ -55,8 +51,8 @@ 1.38 %track 1.39 prog perl = { 1.40 version = %{version} 1.41 - url = ftp://ftp.cpan.org/pub/CPAN/src/ 1.42 - regex = perl-(5\.10\.\d+)\.tar\.gz 1.43 + url = http://www.cpan.org/src/ 1.44 + regex = perl-(5\.(?:[02468]|1[02468])\.\d+)\.tar\.gz 1.45 } 1.46 1.47 %prep 1.48 @@ -119,7 +115,6 @@ 1.49 %{l_make} %{l_mflags} -f Makefile 1.50 1.51 %install 1.52 - rm -rf $RPM_BUILD_ROOT 1.53 1.54 # install the Perl package via standard procedure 1.55 %{l_make} %{l_mflags} -f Makefile install DESTDIR=$RPM_BUILD_ROOT 1.56 @@ -185,12 +180,17 @@ 1.57 1.58 # resolve file conflicts (with perl-locale) 1.59 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/enc2xs \ 1.60 - $RPM_BUILD_ROOT%{l_prefix}/bin/piconv 1.61 + $RPM_BUILD_ROOT%{l_prefix}/bin/piconv \ 1.62 + $RPM_BUILD_ROOT%{l_prefix}/man/man1/enc2xs.1 \ 1.63 + $RPM_BUILD_ROOT%{l_prefix}/man/man1/piconv.1 1.64 1.65 # resolve file conflicts (with perl-module) 1.66 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/corelist \ 1.67 $RPM_BUILD_ROOT%{l_prefix}/bin/config_data \ 1.68 - $RPM_BUILD_ROOT%{l_prefix}/man/man1/config_data.1 1.69 + $RPM_BUILD_ROOT%{l_prefix}/man/man1/config_data.1 \ 1.70 + $RPM_BUILD_ROOT%{l_prefix}/man/man1/corelist.1 \ 1.71 + $RPM_BUILD_ROOT%{l_prefix}/man/man1/cpan.1 \ 1.72 + $RPM_BUILD_ROOT%{l_prefix}/man/man1/instmodsh.1 1.73 1.74 # resolve file conflicts (with perl-sys) 1.75 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/ptar \ 1.76 @@ -208,5 +208,4 @@ 1.77 %files -f files 1.78 1.79 %clean 1.80 - rm -rf $RPM_BUILD_ROOT 1.81