From cc8ebbc092c2a315b2145f4aae89082a90231b86 Mon Sep 17 00:00:00 2001 From: stevenpritchard Date: Tue, 10 Jul 2007 16:43:46 +0000 Subject: [PATCH] Improve last fix. --- cpanspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpanspec b/cpanspec index 996964e..e2f59f0 100755 --- a/cpanspec +++ b/cpanspec @@ -10,7 +10,7 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# $Id: cpanspec,v 1.51 2007/07/10 15:29:34 stevenpritchard Exp $ +# $Id: cpanspec,v 1.52 2007/07/10 16:43:46 stevenpritchard Exp $ our $NAME="cpanspec"; our $VERSION='1.72'; @@ -947,7 +947,7 @@ END if (defined($build_requires{perl})) { printf $spec "%-16s%s >= %s\n", "BuildRequires:", "perl", (($build_requires{perl} lt "5.6.0" ? "0:" : "1:") - . $build_requires{perl}); + . $build_requires{perl}) if $build_requires{perl}; delete $build_requires{perl}; }