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\ perl-YAML-Syck-0.82-2.fc6\ perl-UNIVERSAL-require-0.11-1.fc6/noarch\ perl-Devel-Cover-0.61-1.fc6\ perl-Test-Differences-0.47-2.fc6/noarch) /* the buildtools packages */ !profile.packages mEXTRA(perl-LCFG-Build-PkgSpec-0.0.4-1/noarch\ perl-LCFG-Build-VCS-0.0.5-1/noarch)
Once you have that installed you just need this in your Makefile:
include lcfg/release.mk
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