Use a native Debian package.
authorLars Wirzenius <lars@catalyst.net.nz>
Wed, 26 May 2010 06:52:57 +0000 (18:52 +1200)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 26 May 2010 12:28:05 +0000 (08:28 -0400)
Since the packaging is part of the upstream source, there's no point
in having a Debian version.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
debian/build-git-snapshot

index 9bdd365..bcf71d4 100755 (executable)
@@ -34,7 +34,7 @@ newversion() {
 }
 
 adjust_debian_changelog() {
-    dch -v "$1-1" "Building git snapshot."
+    dch -v "$1" "Building git snapshot."
     dch -r "Building git snapshot."
 }
 
@@ -44,7 +44,7 @@ reset_debian_changelog() {
 
 build_package() {
     git archive --format=tar --prefix="koha-$1/" HEAD | 
-        gzip -9 > "../koha_$1.orig.tar.gz"
+        gzip -9 > "../koha_$1.tar.gz"
     debuild -us -uc
 }