]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
perl-common-sense: Update to 3.73.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 13:57:21 +0000 (15:57 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 4 Apr 2015 13:57:21 +0000 (15:57 +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-common-sense/perl-common-sense.nm

index f6dfb0e281ec7d539472a316e904b6d9f5e25d4f..f71a743ce2f37f11a365b51725d426628b02975d 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = perl-common-sense
-version    = 3.5
+version    = 3.73
 release    = 1
 arch       = noarch
 thisapp    = common-sense-%{version}
@@ -41,13 +41,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
 end