diff --git a/perl/perl.spec b/perl/perl.spec index 887a5ef215..e3f5b2316d 100644 --- a/perl/perl.spec +++ b/perl/perl.spec @@ -31,11 +31,11 @@ Distribution: OpenPKG Community Class: CORE Group: Perl License: GPL/Artistic -Version: 5.12.0 -Release: 20100414 +Version: 5.12.1 +Release: 20100518 # list of sources -Source0: ftp://ftp.cpan.org/pub/CPAN/src/perl-%{version}.tar.gz +Source0: http://www.cpan.org/src/perl-%{version}.tar.gz Patch0: perl.patch # build information @@ -51,8 +51,8 @@ PreReq: OpenPKG, openpkg >= 20100101 %track prog perl = { version = %{version} - url = ftp://ftp.cpan.org/pub/CPAN/src/ - regex = perl-(5\.10\.\d+)\.tar\.gz + url = http://www.cpan.org/src/ + regex = perl-(5\.(?:[02468]|1[02468])\.\d+)\.tar\.gz } %prep