]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
perl-IO-AIO: Update to 4.32.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 14:45:23 +0000 (16:45 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 14:45:23 +0000 (16:45 +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-IO-AIO/perl-IO-AIO.nm

index 2565f49195eb1eeb7744767b51da0bf96908606d..b2adec74424ddb8e04af7bfed831058cc934b0ac 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = perl-IO-AIO
-version    = 4.15
+version    = 4.32
 release    = 1
 thisapp    = IO-AIO-%{version}
 
@@ -37,7 +37,8 @@ build
                make test
        end
 
-       make_install_targets = pure_install DESTDIR=%{BUILDROOT}
+       make_install_targets = \
+               pure_install DESTDIR=%{BUILDROOT}
 
        install_cmds
                # Remove script we don't want packaged
@@ -48,7 +49,7 @@ end
 packages
        package %{name}
                requires
-                       perl
+                       perl(:MODULE_COMPAT_%{perl_version})
                end
        end