[Pkg-cli-apps-commits] r4424 - in /packages/ikvm/trunk/debian: changelog rules

laney-guest at users.alioth.debian.org laney-guest at users.alioth.debian.org
Mon Jan 12 19:50:14 UTC 2009


Author: laney-guest
Date: Mon Jan 12 19:50:14 2009
New Revision: 4424

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4424
Log:
* Parse the version number from the changelog instead of using uscan -
  buildds do not have internet access.
* Call dh_prep instead of dh_clean -k (lintian) 

Modified:
    packages/ikvm/trunk/debian/changelog
    packages/ikvm/trunk/debian/rules

Modified: packages/ikvm/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/ikvm/trunk/debian/changelog?rev=4424&op=diff
==============================================================================
--- packages/ikvm/trunk/debian/changelog (original)
+++ packages/ikvm/trunk/debian/changelog Mon Jan 12 19:50:14 2009
@@ -1,3 +1,11 @@
+ikvm (0.38.0.2+dfsg-2) UNRELEASED; urgency=low
+
+  * Parse the version number from the changelog instead of using uscan -
+    buildds do not have internet access.
+  * Call dh_prep instead of dh_clean -k (lintian) 
+
+ -- Iain Lane <laney at ubuntu.com>  Mon, 12 Jan 2009 19:49:40 +0000
+
 ikvm (0.38.0.2+dfsg-1) experimental; urgency=low
 
   [ Jo Shields ]

Modified: packages/ikvm/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/ikvm/trunk/debian/rules?rev=4424&op=diff
==============================================================================
--- packages/ikvm/trunk/debian/rules (original)
+++ packages/ikvm/trunk/debian/rules Mon Jan 12 19:50:14 2009
@@ -11,7 +11,7 @@
 DEB_CLI_ABI_VERSION = 0.38
 DEB_CLI_API_VERSION = 0.38.0.2
 DEB_CLI_RUNTIME = cli
-UPVERSION = $(shell uscan --dehs | sed -n 's/.*<upstream-version>\(.*\)<\/upstream-version>.*/\1/p')
+UPVERSION = $(shell dpkg-parsechangelog | grep '^Version: ' | sed -n 's/^Version: \([.0-9]*\).*/\1/p')
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -112,7 +112,7 @@
 install-arch-stamp:
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
 	mkdir -p $(CURDIR)/debian/libikvm-native/usr/lib/ikvm
@@ -123,7 +123,7 @@
 install-indep-stamp:
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
 	mkdir -p $(CURDIR)/debian/ikvm/usr/lib/cli/ikvm-$(DEB_CLI_ABI_VERSION)




More information about the Pkg-cli-apps-commits mailing list