[Koha-patches] [PATCH 1/5] Use a native Debian package.

Lars Wirzenius lars at catalyst.net.nz
Wed May 26 08:52:57 CEST 2010


Since the packaging is part of the upstream source, there's no point
in having a Debian version.
---
 debian/build-git-snapshot |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/build-git-snapshot b/debian/build-git-snapshot
index 9bdd365..bcf71d4 100755
--- a/debian/build-git-snapshot
+++ b/debian/build-git-snapshot
@@ -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
 }
 
-- 
1.7.1




More information about the Koha-patches mailing list