]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-FCGI: Update to 0.77.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 14:25:53 +0000 (16:25 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 14:25:53 +0000 (16:25 +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-FCGI/perl-FCGI.nm

index b5bce3ffab11b51ba1b2b64060ba02b1311a95db..a81058709e1c164525e9823b2f25bed582039d0d 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = perl-FCGI
-version    = 0.74
-release    = 2
+version    = 0.77
+release    = 1
 thisapp    = FCGI-%{version}
 
 groups     = Development/Libraries
@@ -17,7 +17,7 @@ description
        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
@@ -34,13 +34,14 @@ build
                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