[omd-commits] OMD Git: omd: Debian: change version from natty1 to 0.natty

git version control git at mathias-kettner.de
Sun May 8 12:17:06 CEST 2011


Module:   omd
Branch:   master
Commit:   d0c9bed86cf6064aa4af2bf138ba6ecb8cd8a2f9
URL:      http://omdistro.org/projects/omd/repository/revisions/d0c9bed86cf6064aa4af2bf138ba6ecb8cd8a2f9

Author:   Mathias Kettner <mk at mathias-kettner.de>
Date:     Sun May  8 12:16:53 2011 +0200
Commiter: Mathias Kettner <mk at mathias-kettner.de>
Date:     Sun May  8 12:16:53 2011 +0200

Debian: change version from natty1 to 0.natty

This fixes a build problem on Ubuntu 11.04 which probably
will also arise in future debian versions. The version
number must begin with a number, otherwise the build will
fail.

---

 Makefile |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 87f2c63..183cf30 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,10 @@ PACKAGES=perl-modules \
          mod-gearman \
          patch
 
+# If you just want to test package building, you can reduce the
+# number of packages to just "omd" - to speed up your tests.
+# PACKAGES="omd"
+
 # This file is kept by 'make config' and also may override
 # the list of packages
 -include .config
@@ -233,7 +237,7 @@ deb-changelog: deb-environment
 	# this is a hack!
 	rm -f debian/changelog
 	dch --create --package omd-$(OMD_VERSION) \
-	    --newversion $(DISTRO_CODE)1 "`cat debian/changelog.tmpl`"
+	    --newversion 0.$(DISTRO_CODE) "`cat debian/changelog.tmpl`"
 	dch --release "releasing ...."
 
 deb: deb-changelog



More information about the omd-commits mailing list