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>
Thu, 5 Jun 2014 11:20:07 +0000 (14:20 +0300)
commit54c9412b351fee5761040184d9758a45d7f5dc1a
tree407fb29f410883d2deed0ddb2183b192ad909619
parent550a5fe34bd0c5d063d28bcd6c4fd3bdb78d0137
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/import_srpm.py
gbp/scripts/pq_rpm.py