On Tue, 6 Dec 2011 17:57:13 +0100
Kamil Páral <kparal(a)redhat.com> wrote:
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.
Nice, that has been a pain to deal with for a while now. I like being
able to build RPMs easily without committing spec and code changes
first.
I'm fine with the patch and welcome the new functionality.
Tim