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-BDB
-version = 1.9
+version = 1.91
release = 1
thisapp = BDB-%{version}
make test
end
- make_install_targets = pure_install DESTDIR=%{BUILDROOT}
+ make_install_targets = \
+ pure_install DESTDIR=%{BUILDROOT}
end
packages
package %{name}
requires
- perl
+ perl(:MODULE_COMPAT_%{perl_version})
end
end