Only use --nodeps if we're only building a source rpm.
This commit is contained in:
4
Changes
4
Changes
@@ -1,3 +1,7 @@
|
||||
1.77 2008-06-16
|
||||
|
||||
* Only use --nodeps if we're only building a source rpm.
|
||||
|
||||
1.76 2008-06-16
|
||||
|
||||
* Drop dependency on Module::CoreList and just fetch the list from rpm.
|
||||
|
||||
6
cpanspec
6
cpanspec
@@ -10,10 +10,10 @@
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
# $Id: cpanspec,v 1.61 2008/06/16 18:43:22 stevenpritchard Exp $
|
||||
# $Id: cpanspec,v 1.62 2008/06/16 19:24:04 stevenpritchard Exp $
|
||||
|
||||
our $NAME="cpanspec";
|
||||
our $VERSION='1.76';
|
||||
our $VERSION='1.77';
|
||||
|
||||
=head1 NAME
|
||||
|
||||
@@ -351,7 +351,7 @@ sub build_rpm($) {
|
||||
"--define", "_builddir $dir",
|
||||
"--define", "_srcrpmdir $dir",
|
||||
"--define", "_rpmdir $dir",
|
||||
"--nodeps", ($buildrpm ? "-ba" : "-bs"),
|
||||
($buildrpm ? "-ba" : ("-bs", "--nodeps")),
|
||||
$spec) != 0) {
|
||||
if ($? == -1) {
|
||||
die "Failed to execute $rpmbuild: $!\n";
|
||||
|
||||
Reference in New Issue
Block a user