]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-HTML-Parser: Updte to 3.71.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 14:41:45 +0000 (16:41 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 14:41:45 +0000 (16:41 +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-HTML-Parser/perl-HTML-Parser.nm

index dd491b6e22901d722137c0649b06fbda60e43a5c..1d558940eadb6352d17839282128b7770b880041 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = perl-HTML-Parser
-version    = 3.68
+version    = 3.71
 release    = 1
 
 groups     = Development/Libratries
@@ -18,7 +18,7 @@ description
        HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules.
 end
 
-source_dl  =
+source_dl  = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/
 
 thisapp    = HTML-Parser-%{version}
 
@@ -42,6 +42,10 @@ end
 
 packages
        package %{name}
+               requires
+                       perl(:MODULE_COMPAT_%{perl_version})
+               end
+       end
 
        package %{name}-debuginfo
                template DEBUGINFO