gunnar: server/kolabconf/lib/Kolab Conf.pm,1.5,1.6
cvs at kolab.org
cvs at kolab.org
Mon Aug 13 08:49:43 CEST 2007
Author: gunnar
Update of /kolabrepository/server/kolabconf/lib/Kolab
In directory doto:/tmp/cvs-serv8332/lib/Kolab
Modified Files:
Conf.pm
Log Message:
Fix version numbering for kolabconf.
Index: Conf.pm
===================================================================
RCS file: /kolabrepository/server/kolabconf/lib/Kolab/Conf.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Conf.pm 7 Aug 2007 11:40:15 -0000 1.5
+++ Conf.pm 13 Aug 2007 06:49:41 -0000 1.6
@@ -57,7 +57,21 @@
);
-our $VERSION = sprintf "%d.%03d", q$Revision$ =~ /(\d+)/g;
+# The Kolab version number for the perl-kolab package
+our $KOLAB_BASE_VERSION = "2.1.0";
+
+# Are current releases cvs based or is this a real release?
+my $KOLAB_CVS = 1;
+
+our $KOLAB_RELEASE = sprintf "%0004d%02d%02d", ((gmtime)[5] + 1900), ((gmtime)[4] + 1), (gmtime)[3];
+
+if ($KOLAB_CVS) {
+ our $KOLAB_VERSION = $KOLAB_BASE_VERSION . "_cvs";
+ our $VERSION = $KOLAB_VERSION . "-" . $KOLAB_RELEASE;
+} else {
+ our $KOLAB_VERSION = $KOLAB_BASE_VERSION;
+ our $VERSION = $KOLAB_VERSION;
+}
my %templates = ();
my %ownership = ();
More information about the commits
mailing list