svn or arch

Colin Walters walters at redhat.com
Tue Dec 21 16:44:42 UTC 2004


On Tue, 2004-12-21 at 11:32 -0500, Colin Walters wrote:

> Finally, you do:
> 
> make local-build
> 
> You install the resulting RPM, dogfood it on your laptop a bit, then do:
> 
> make build

Incidentally, one other nice thing here about killing off the Release
from the spec file: these targets would actually use different releases,
without modifying the spec.  For a local-build, it would look at the
current version of the package installed on your system, and suffix it
with .0.local.N (or increment N if you already have a local version
installed).  That way the package installs without any warnings from RPM
or --force flags, etc.  When you do a real 'make build', it would use
the central postgres database to get a new build version.  This would be
newer than the .0.local.N versions, so you transparently get the "real"
version from the central build server when it comes through.





More information about the fedora-devel-list mailing list