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.
###############################################################################
name = perl-XML-Parser
-version = 2.36
+version = 2.44
release = 1
thisapp = XML-Parser-%{version}
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
packages
package %{name}
requires
- perl
+ perl(:MODULE_COMPAT_%{perl_version})
end
end