pq-rpm: bigger refactor of the code
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 19 Sep 2013 13:22:57 +0000 (16:22 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 14 Nov 2014 12:47:19 +0000 (14:47 +0200)
commit2bf5a19efdb6ecdf3da3fd66abe3a9d39b753261
tree26088bebb9a887fd907e894eb71f254188f8f9c0
parent830a75573cead333e395c9bb586ed6143f789bef
pq-rpm: bigger refactor of the code

Support '%(upstreamversion)s' as a replacable string in the pq branch
name.

Eliminate some unneeded branch switches that were only needed for
finding/parsing the spec file. Now, spec file is directly searched from
the git repository (from the 'base' branch) if the command is run when
on the pq branch - except for the 'export' subcommand which always
switches to the base branch.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/scripts/pq_rpm.py