summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-01-28 15:10:14 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-01-28 15:10:14 +0200
commit87458bd399a8696cd0b6e981bb60a2f4de1c48d8 (patch)
tree4db97a1c77a1abc00c8764ea95d4460a7d417c7f /build
parente39b131750525e0f5a172ebee55154db6b71be7b (diff)
downloadlibrpm-tizen-87458bd399a8696cd0b6e981bb60a2f4de1c48d8.tar.gz
librpm-tizen-87458bd399a8696cd0b6e981bb60a2f4de1c48d8.tar.bz2
librpm-tizen-87458bd399a8696cd0b6e981bb60a2f4de1c48d8.zip
Make rpmbuild -bs and -ts imply --nodeps (rhbz#235507)
- better fix might be creating srpm header early but until then...
Diffstat (limited to 'build')
-rw-r--r--build/poptBT.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/poptBT.c b/build/poptBT.c
index 4ee1deed9..f3cf27616 100644
--- a/build/poptBT.c
+++ b/build/poptBT.c
@@ -76,6 +76,8 @@ static void buildArgCallback( poptContext con,
case POPT_TL:
case POPT_TP:
case POPT_TS:
+ if (opt->val == POPT_BS || opt->val == POPT_TS)
+ rba->noDeps = 1;
if (rba->buildMode == '\0' && rba->buildChar == '\0') {
rba->buildMode = (((unsigned)opt->val) >> 8) & 0xff;
rba->buildChar = (opt->val ) & 0xff;