summaryrefslogtreecommitdiff
path: root/debian/mkprovides
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-26 14:11:14 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-26 14:11:14 +0300
commitcf9383412494964d6188fcf08a362c0c0f313afc (patch)
treebd9e6a5b3a63cbb155b81112c855c19cb5f2b314 /debian/mkprovides
downloadperl-cf9383412494964d6188fcf08a362c0c0f313afc.tar.gz
Import perl (5.30.0-9)debian/5.30.0-9debian
Diffstat (limited to 'debian/mkprovides')
-rw-r--r--debian/mkprovides14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/mkprovides b/debian/mkprovides
new file mode 100644
index 0000000..051e3ef
--- /dev/null
+++ b/debian/mkprovides
@@ -0,0 +1,14 @@
+#!perl -w
+
+#
+# Create perlapi-<ver> provides substvar
+#
+
+BEGIN { unshift @INC, 'lib' }
+use strict;
+use Config;
+
+print +(join ', ', map "perlapi-$_",
+ sort $Config{version},
+ grep /^[0-9.]+$/,
+ split ' ', $Config{inc_version_list}), "\n";