[Pkg-crosswire-devel] [Branch ~pkgcrosswire/libsword/main] Rev 44: * debian/rules:

noreply at launchpad.net noreply at launchpad.net
Sun May 24 15:16:08 BST 2009


------------------------------------------------------------
revno: 44
committer: Dmitrijs Ledkovs <dmitrij.ledkov at gmail.com>
branch nick: main
timestamp: Sun 2009-05-24 15:13:21 +0100
message:
  * debian/rules:
    - tightened download-tarball target to download exactly required version.
modified:
  debian/changelog
  debian/rules

=== modified file 'debian/changelog'
--- debian/changelog	2009-05-24 13:29:38 +0000
+++ debian/changelog	2009-05-24 14:13:21 +0000
@@ -33,7 +33,9 @@
   * debian/control: Removed all references of 1.5.11.99 version number
   * debian/watch: Fixed a small mistake which was resulting in extra "."
     in final version name.
-  * debian/rules: simplified manpage processing.
+  * debian/rules:
+    - simplified manpage processing.
+    - tightened download-tarball target to download exactly required version.
   * debian/libsword8.lintian-overrides: added override for module
     installation directory.
   * debian/copyright: Updated with information about everyfile.

=== modified file 'debian/rules'
--- debian/rules	2009-05-23 20:30:30 +0000
+++ debian/rules	2009-05-24 14:13:21 +0000
@@ -41,11 +41,12 @@
 
 TEMP_DIR := $(shell mktemp -d)
 SOURCE_DIR = $(shell ls $(TEMP_DIR) | grep sword- | grep .tar.gz | sed s/.tar.gz//)
-SOURCE_VER = $(shell echo $(notdir $(SOURCE_DIR)) | sed s/sword-//)
+SOURCE_VER = $(shell parsechangelog $(dir $(_))changelog | sed -n "s/Version: \(.*\)+dfsg.*/\1/p")
 
 download-tarball:
-	uscan --download --package sword --destdir=$(TEMP_DIR) \
-	      --no-symlink --upstream-version 0 --watchfile=$(dir $(_))/watch
+	uscan --force-download --package sword --destdir=$(TEMP_DIR) \
+	      --no-symlink --upstream-version $(SOURCE_VER) --watchfile=$(dir $(_))watch \
+	      --download-version $(SOURCE_VER)
 	cd $(TEMP_DIR) && tar zxf sword-*.tar.gz
 
 remove-unwanted-files: download-tarball



--
Main packaging branch
https://code.launchpad.net/~pkgcrosswire/libsword/main

Your team Crosswire Packaging Team is subscribed to branch lp:libsword.
To unsubscribe from this branch go to https://code.launchpad.net/~pkgcrosswire/libsword/main/+edit-subscription.




More information about the Pkg-crosswire-devel mailing list