diff demo.cfg @ 294:aed96809160c

Update the sample configuration
author Bernhard Herzog <bh@intevation.de>
date Tue, 06 Oct 2009 13:18:32 +0000
parents 7b00edc5bf66
children dcdf23dece2d
line wrap: on
line diff
--- a/demo.cfg	Tue Oct 06 13:13:04 2009 +0000
+++ b/demo.cfg	Tue Oct 06 13:18:32 2009 +0000
@@ -40,10 +40,14 @@
 deb_email: packager@example.com
 deb_fullname: Sample Packager
 
-# A prefix used in the package revision number of the generated debian
-# package.  E. g. with a prefix "treepkg", the default, a generated
-# package might be named foo_1.0-treepkg1_all.deb
-debrevision_prefix: treepkg
+# Template for the package revision.  The template should include the
+# specifier "%(pkg_revision)d" which will be replaced by the revision
+# number of the package (usually 1).  Note, that since the format used
+# by the config file also uses %-based interpolation the %-character has
+# to be doubled.
+# E. g. with a prefix "treepkg%(pkg_revision)d", the default, a
+# generated package might be named foo_1.0-treepkg1_all.deb
+debrevision_prefix: treepkg%%(pkg_revision)d
 
 # Whether to handle dependencies between packagers.  This is useful if
 # the tree packager is to build a library and a program using the
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)