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-Digest-SHA1
version = 2.13
-release = 3
+release = 4
thisapp = Digest-SHA1-%{version}
groups = Development/Libraries
make %{PARALLELISMFLAGS}
end
- make_install_targets = pure_install
+ make_install_targets = \
+ pure_install
end
packages
package %{name}
+ requires
+ perl(:MODULE_COMPAT_%{perl_version})
+ end
+ end
package %{name}-debuginfo
template DEBUGINFO