aboutsummaryrefslogtreecommitdiffstats
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
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
-rwxr-xr-xMakefile.PL2
-rw-r--r--NEWS2
2 files changed, 3 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";
diff --git a/NEWS b/NEWS
index 8a3f311..ef7b6f5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
- fix support for hdlist compressed with !gzip
+- CPAN testers:
+ o display rpm version in flags
Version 5.23.2 - 30 December 2019