perl-Parse-PMFile/Do-not-use-ExtUtils-MakeMaker-CPANfile.patch
2021-07-05 09:38:07 +08:00

25 lines
666 B
Diff

From 3043ea077f82b8e6adc7d752d50384c1fd754404 Mon Sep 17 00:00:00 2001
From: wangqing <wangqing@uniontech.com>
Date: Fri, 2 Jul 2021 22:09:53 +0800
Subject: [PATCH] Do not use ExtUtils::MakeMaker::CPANfile
The Makefile.PL works as well as with plain ExtUtils::MakeMaker.
rpmbuild does not read dependencies from META, thus cpanfile content
is irrelevant when building an RPM package.
diff --git a/Makefile.PL b/Makefile.PL
index a4faee1..b4bb0d8 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,6 +1,6 @@
use strict;
use warnings;
-use ExtUtils::MakeMaker::CPANfile;
+use ExtUtils::MakeMaker;
my %params = (
NAME => 'Parse::PMFile',
--
2.20.1