gunnar: server/perl-kolab/lib Kolab.pm,1.1,1.2

cvs at kolab.org cvs at kolab.org
Fri Aug 10 16:52:02 CEST 2007


Author: gunnar

Update of /kolabrepository/server/perl-kolab/lib
In directory doto:/tmp/cvs-serv2287/lib

Modified Files:
	Kolab.pm 
Log Message:
Modified release scheme for perl-kolab

Index: Kolab.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/lib/Kolab.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Kolab.pm	1 Aug 2007 14:57:42 -0000	1.1
+++ Kolab.pm	10 Aug 2007 14:52:00 -0000	1.2
@@ -58,7 +58,21 @@
     &KOLAB_DEBUG
 );
 
-our $VERSION = '2.1.99';
+# 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 = ((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;
+}
 
 sub KOLAB_SILENT()      { 0 }
 sub KOLAB_ERROR()       { 1 }





More information about the commits mailing list