Improve last fix.
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
# 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 $NAME="cpanspec";
|
||||||
our $VERSION='1.72';
|
our $VERSION='1.72';
|
||||||
@@ -947,7 +947,7 @@ END
|
|||||||
if (defined($build_requires{perl})) {
|
if (defined($build_requires{perl})) {
|
||||||
printf $spec "%-16s%s >= %s\n", "BuildRequires:", "perl",
|
printf $spec "%-16s%s >= %s\n", "BuildRequires:", "perl",
|
||||||
(($build_requires{perl} lt "5.6.0" ? "0:" : "1:")
|
(($build_requires{perl} lt "5.6.0" ? "0:" : "1:")
|
||||||
. $build_requires{perl});
|
. $build_requires{perl}) if $build_requires{perl};
|
||||||
delete $build_requires{perl};
|
delete $build_requires{perl};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user