This is a series of 3 patches. Please view them at origin/stage_build or here.I did not use RB because it can't do patch series and the changes would be confusing if combined into a single patch.
We already stumbled onto a problem that we need to update spec file every time we want to update staging environment. That's really bad, ideally we want to update after every major commit (like my yesterday's patch). I have modified Makefile (I officially announce that I hate the syntax) to allow us to create development autoqa builds without modifying spec file. You just execute:
make archive DEVEL=1 or make srpm DEVEL=1 pr make mock DEVEL=1
and here we go. The rpm file then looks like this 'autoqa-0.7.1_devel_v0.5.0_1_63_g5a41715-1.fc16.noarch.rpm'. Pretty long, but its an ascending sequence, which suffices. This can be built directly on stage server and then installed. No need to change the spec file, no need to commit it to git. Voila.
Kamil Páral (3): autoqa.spec: replace $(NAME) with 'autoqa' Makefile: allow creating DEVEL builds autoqa.spec: remove pre-release statements in changelog
Makefile | 172 ++++++++++++++++++++++++++++++++--------------------------- autoqa.spec | 18 ------ 2 files changed, 93 insertions(+), 97 deletions(-)