From 06969c88d338c6c00c42e9edfd5435436c520ccd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 23 Apr 2020 11:23:33 +0200 Subject: explain --- RPM4/src/Makefile.PL | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RPM4/src/Makefile.PL b/RPM4/src/Makefile.PL index 009c45c..89dc752 100644 --- a/RPM4/src/Makefile.PL +++ b/RPM4/src/Makefile.PL @@ -25,8 +25,11 @@ foreach (qw( $rpmheaderlocation or die "Can't find rpmheader location"; +# Just to get rpm version. Deps checking has been done by ../Makefile.PL: my %cfg = ExtUtils::PkgConfig->find("rpm"); $rpmv ||= $cfg{modversion}; + +# Generate version-features flags depending on installed rpm version: open(my $FH, "> rpmversion.h") or die "Can't open rpmversion.h"; print $FH "/* File generated by Makefile.PL\n"; print $FH ' * $Id$' . "\n"; -- cgit v1.2.1