From 0cf5e36802d5a0e7740d3350637f058b25f42899 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 3 Jan 2020 06:46:32 +0100 Subject: 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 --- Makefile.PL | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile.PL') 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', -- cgit v1.2.1