summaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-01-03 06:46:32 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-09 17:50:35 +0200
commit0cf5e36802d5a0e7740d3350637f058b25f42899 (patch)
tree039db33cb6f716b1405a84f6aaf4851ce981f9fd /Makefile.PL
parentdd05c934a21b1ff945831953c860f3eeb3a9bf14 (diff)
downloadurpmi-0cf5e36802d5a0e7740d3350637f058b25f42899.tar
urpmi-0cf5e36802d5a0e7740d3350637f058b25f42899.tar.gz
urpmi-0cf5e36802d5a0e7740d3350637f058b25f42899.tar.bz2
urpmi-0cf5e36802d5a0e7740d3350637f058b25f42899.tar.xz
urpmi-0cf5e36802d5a0e7740d3350637f058b25f42899.zip
add manual provides for urpmi (RT#127881)
ensure urpm.pm has a lesser version than URPM.pm due to CPAN ignoring case because of Windows users, thus making sure URPM is indexed
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-xMakefile.PL10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
index ec19155e..619ddce4 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -187,6 +187,16 @@ WriteMakefile(
( $ExtUtils::MakeMaker::VERSION >= 6.46 ? (
'META_MERGE' => {
"meta-spec" => { version => 2 },
+ provides => {
+ 'urpm' => {
+ file => 'urpm.pm',
+ version => 0, # workaround RT#127881
+ },
+ 'urpmi' => {
+ file => 'urpmi.pm',
+ version => 'v8.120',
+ },
+ },
resources => {
repository => {
type => 'git',