]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-BDB: Update to 1.91.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 13:48:59 +0000 (15:48 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 13:48:59 +0000 (15:48 +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-BDB/perl-BDB.nm

index 508e914970100b975314360b575c8b8e42b89c84..507bffd770e0b927d6832384528bf4b62909e31a 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = perl-BDB
-version    = 1.9
+version    = 1.91
 release    = 1
 thisapp    = BDB-%{version}
 
@@ -36,13 +36,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