summaryrefslogtreecommitdiff
path: root/rpmspec.c
AgeCommit message (Collapse)AuthorFilesLines
2013-01-29Adjust rpmspec -P to invoke non-build parseAlexey Tourbin1-1/+1
In the query mode, rpmspecQuery puts the parser into non-build mode by invoking rpmSpecParse with (RPMSPEC_ANYARCH|RPMSPEC_FORCE) flags. The same flags should be applied in the parse mode, so that it is possible to preprocess specfiles separately, i.e. without also installing sources and patches. Signed-off-by: Panu Matilainen <pmatilai@redhat.com> (cherry picked from commit 4eb824937ce536aeecdfdcab2d88e28083bba85b)
2011-09-05Make --pipe command failures reflect our exit codes (RhBug:735481)Panu Matilainen1-1/+2
2011-06-17Add --parse option to rpmspec tool to dump parsed spec contentsPanu Matilainen1-0/+20
- This is somewhat like 'gcc -E', useful for analyzing/troubleshooting what happens inside the preprocessing.
2011-05-30Eliminate dead NULL-assignments at scope-end in main cli utilsPanu Matilainen1-2/+2
2010-11-15Rearrange new cli utilities' popt tables for nicer outputPanu Matilainen1-2/+8
- Use a separate table for the tool-specific options, include that from the "master" option table to get option group summary in --help.
2010-10-12Rpm option descriptions begin with lowercase letters, follow suit in rpmspecPanu Matilainen1-3/+3
2010-10-12Only queryformat is relevant for specfilesPanu Matilainen1-3/+6
- Instead of including the entire rpmQueryPoptTable in rpmspec and showing several bogus options, support --qf/--queryformat "manually"
2010-10-12Support overriding target for rpmspec queries tooPanu Matilainen1-0/+9
2010-10-12Support both binary/source queries in rpmspec tool (RhBug:540807, ticket #89)Panu Matilainen1-1/+6
2010-10-04Lift specfile query out of main rpm(query) into separate binaryPanu Matilainen1-0/+77
- 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