[Ovirt-devel] [PATCH node-image] Restructured makefile and rpmbuilding to simplify it
jim at meyering.net
Fri Sep 19 18:23:06 UTC 2008
Perry Myers <pmyers at redhat.com> wrote:
> Removed customized rpm macros that should really be set by users
> ~/.rpmmacros directory. This removed need for custom tar target,
> as we can now use dist and rpmbuild -ta instead.
> Still need to have custom RPM_FLAGS for ovirt specific overrides
> like OVIRT_CACHE_DIR (used by appliance and node-image spec files)
> Removed unused bumprelease, bumpversion and setversion targets
> Removed other unused make variables
> Simplified publish to just rsync all RPMS frpm the rpmdir.
> Added seconds granularity to git tag for bumpgit target.
> Made it so version file is no longer edited by makefile.
> Instead configure.ac file is used to store version. For
> developers setting OVIRT_DEV env var causes extra_dist to be
> passed to rpmbuild adding the git tag onto the RPM.
I reviewed it, verified that it applies and passes "make distcheck".
More information about the ovirt-devel