]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-XML-Parser: Update to 2.44.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 16:52:25 +0000 (18:52 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 16:52:25 +0000 (18:52 +0200)
From now we require a perl(:MODULE_COMPAT_xyz), where xyz contains the perl version
and perl API the module has been linked against. This will prevent us in the future
to install old perl modules which cannot be executed on more modern API's.

perl-XML-Parser/perl-XML-Parser.nm

index 6a2ce7a920e9008160751bec7d351beb804792d0..7c3b249201c7f93790a664e438a089f37058cd13 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = perl-XML-Parser
-version    = 2.36
+version    = 2.44
 release    = 1
 thisapp    = XML-Parser-%{version}
 
@@ -14,12 +14,12 @@ license    = GPL+ or Artistic
 summary    = Perl module for parsing XML files.
 
 description
-       This module provides ways to parse XML documents. It is built on \
-       top of XML::Parser::Expat, which is a lower level interface to \
+       This module provides ways to parse XML documents. It is built on
+       top of XML::Parser::Expat, which is a lower level interface to
        James Clark's expat library.
 end
 
-source_dl  =
+source_dl  = http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/
 
 build
        requires
@@ -43,7 +43,7 @@ end
 packages
        package %{name}
                requires
-                       perl
+                       perl(:MODULE_COMPAT_%{perl_version})
                end
        end