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-FCGI
-version = 0.74
-release = 2
+version = 0.77
+release = 1
thisapp = FCGI-%{version}
groups = Development/Libraries
FastCGI perl bindings.
end
-source_dl = http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/
+source_dl = http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/
build
requires
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