Only use --nodeps if we're only building a source rpm.
This commit is contained in:
1 parent
36bae4ff8d
commit
0fe71962b8
2 files changed
+7
-3
No files matched your search
@@ -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
|
1.76 2008-06-16
|
||||||
|
|
||||||
* Drop dependency on Module::CoreList and just fetch the list from rpm.
|
* Drop dependency on Module::CoreList and just fetch the list from rpm.
|
||||||
|
|||||||
@@ -10,10 +10,10 @@
|
|||||||
# 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.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 $NAME="cpanspec";
|
||||||
our $VERSION='1.76';
|
our $VERSION='1.77';
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
@@ -351,7 +351,7 @@ sub build_rpm($) {
|
|||||||
"--define", "_builddir $dir",
|
"--define", "_builddir $dir",
|
||||||
"--define", "_srcrpmdir $dir",
|
"--define", "_srcrpmdir $dir",
|
||||||
"--define", "_rpmdir $dir",
|
"--define", "_rpmdir $dir",
|
||||||
"--nodeps", ($buildrpm ? "-ba" : "-bs"),
|
($buildrpm ? "-ba" : ("-bs", "--nodeps")),
|
||||||
$spec) != 0) {
|
$spec) != 0) {
|
||||||
if ($? == -1) {
|
if ($? == -1) {
|
||||||
die "Failed to execute $rpmbuild: $!\n";
|
die "Failed to execute $rpmbuild: $!\n";
|
||||||
|
|||||||
Reference in new issue
Block a user