summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-10-04 13:33:18 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-10-04 14:31:55 +0300
commite8a1f5da3e86a6c07f87c577ddfd2a1c2cc0b2aa (patch)
treeb4b561d94cb046f651044d725b8da172ffc3afca /rpmqv.c
parente188767e3ee75e9417e361e1d005195c3efa0b99 (diff)
downloadlibrpm-tizen-e8a1f5da3e86a6c07f87c577ddfd2a1c2cc0b2aa.tar.gz
librpm-tizen-e8a1f5da3e86a6c07f87c577ddfd2a1c2cc0b2aa.tar.bz2
librpm-tizen-e8a1f5da3e86a6c07f87c577ddfd2a1c2cc0b2aa.zip
Lift specfile query out of main rpm(query) into separate binary
- Avoids having to link /bin/rpm with librpmbuild and everything it might bring in (eg libmagic) which are not needed for core operation. - Minimally preserve backwards compatibility with popt exec alias
Diffstat (limited to 'rpmqv.c')
-rw-r--r--rpmqv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 325449db1..212151b79 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -303,9 +303,7 @@ int main(int argc, char *argv[])
if (!poptPeekArg(optCon) && !(qva->qva_source == RPMQV_ALL))
argerror(_("no arguments given for query"));
- qva->qva_specQuery = rpmspecQuery;
ec = rpmcliQuery(ts, qva, (ARGV_const_t) poptGetArgs(optCon));
- qva->qva_specQuery = NULL;
break;
case MODE_VERIFY: