Release Tools

I’ve added some more functionality to the new LCFG release tools, in particular you can now use lcfg-reltool via a Makefile with ease.

Here are the setup details:

/* dependencies */

#include <ed/options/moose.h>
!profile.packages     mEXTRA(perl-Data-Structure-Util-0.12-2.fc6\

/* the buildtools packages */

!profile.packages     mEXTRA(perl-LCFG-Build-PkgSpec-0.0.4-1/noarch\

Once you have that installed you just need this in your Makefile:

include lcfg/

and you can do the usual make release, make majorversion, make minorversion with everything driven from lcfg.yml.

There is still lots more stuff to add to the buildtools suite for LCFG components but this should be quite useful for other software. There have also been changes to the LCFG-Build-PkgSpec toolset, the lcfg-pkgcfg script is now much more useful, here’s a synopsis:

           lcfg-pkgcfg --get=name

           lcfg-pkgcfg --get=name --in ~/cvs/lcfg-foo

           lcfg-pkgcfg --get=name --in ~/cvs/lcfg-foo/lcfg.yml

           lcfg-pkgcfg --set schema=2 --set license=gpl

           lcfg-pkgcfg --skeleton

           lcfg-pkgcfg --skeleton --set name=foo --set version=1.0.0

           lcfg-pkgcfg --in META.yml --out lcfg.yml

Comments are closed.