set the ubuntu deb version right
authorDana Jansens <danakj@orodu.net>
Fri, 18 May 2007 00:43:04 +0000 (00:43 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 18 May 2007 00:43:04 +0000 (00:43 +0000)
debian/changelog.in
makedeb

index 678b149..a217280 100644 (file)
@@ -1,4 +1,4 @@
-openbox (@version@-0) unstable; urgency=low
+openbox (@version@) unstable; urgency=low
 
   * Upstream release.
 
 
   * Upstream release.
 
diff --git a/makedeb b/makedeb
index ac5f6de..ec0d620 100755 (executable)
--- a/makedeb
+++ b/makedeb
@@ -15,7 +15,7 @@ fi
 VERSION=$(grep AC_INIT\(\\\[openbox\\] configure.ac|cut -d [ -f 3-|cut -d ] -f 1)
 
 echo
 VERSION=$(grep AC_INIT\(\\\[openbox\\] configure.ac|cut -d [ -f 3-|cut -d ] -f 1)
 
 echo
-echo "Building deb for openbox-$VERSION$APPEND"
+echo "Building deb for openbox-$VERSION-0$APPEND"
 echo
 
 TIME="$(date '+%a, %d %B %Y %T %z')"
 echo
 
 TIME="$(date '+%a, %d %B %Y %T %z')"
@@ -28,6 +28,6 @@ make distclean > /dev/null || rm -f config.status
 
 rm -f $OUT
 
 
 rm -f $OUT
 
-sed -e "s!@time@!$TIME!" -e "s!@version@!$VERSION$APPEND!" $IN >$OUT && \
+sed -e "s!@time@!$TIME!" -e "s!@version@!$VERSION-0$APPEND!" $IN >$OUT && \
 fakeroot debian/rules binary && \
 make distclean > /dev/null
 fakeroot debian/rules binary && \
 make distclean > /dev/null