diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-10-04 13:33:18 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-10-04 14:31:55 +0300 |
commit | e8a1f5da3e86a6c07f87c577ddfd2a1c2cc0b2aa (patch) | |
tree | b4b561d94cb046f651044d725b8da172ffc3afca /rpmqv.c | |
parent | e188767e3ee75e9417e361e1d005195c3efa0b99 (diff) | |
download | librpm-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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: |