aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2019-12-30 10:01:13 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-01-07 03:45:21 +0100
commitcfe05fec7948751a3c20dfd2d8892547570cea0b (patch)
treec748cef3983941e062cd77266771bd3800e8bd72 /Makefile.PL
parent2afeac43e2a5c0d484100eedd192842d27944558 (diff)
downloadperl-URPM-cfe05fec7948751a3c20dfd2d8892547570cea0b.tar
perl-URPM-cfe05fec7948751a3c20dfd2d8892547570cea0b.tar.gz
perl-URPM-cfe05fec7948751a3c20dfd2d8892547570cea0b.tar.bz2
perl-URPM-cfe05fec7948751a3c20dfd2d8892547570cea0b.tar.xz
perl-URPM-cfe05fec7948751a3c20dfd2d8892547570cea0b.zip
cpan_testers: display rpm version in flags
in order to know rpm version from failed reports
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-xMakefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index dc49101..a6e2492 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -54,7 +54,7 @@ foreach (qw(
print $FH "\n#endif\n";
close($FH);
-my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing', $cfg{cflags});
+my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing', $cfg{cflags}, "-DRPM_VERSON=$cfg{modversion}");
print "Found RPM version $cfg{modversion} (compiling with flags: $ccflags)\n";