# $Id$ use 5.008; use strict; use ExtUtils::MakeMaker; # where to find the rpm utility my $rpm_path = $ENV{RPM_PATH}; # this overrides unless (defined $rpm_path) { for (qw(/bin/rpm /usr/bin/rpm)) { if (-x) { $rpm_path = $_; last; } } } my $rpmtopdir = $rpm_path ? `$rpm_path --eval '%{_topdir}'` : ''; chomp $rpmtopdir; sub MY::postamble { < 'MDV::Distribconf', VERSION_FROM => 'lib/MDV/Distribconf.pm', );