[Python-modules-commits] r3867 - in packages/python-networkx/trunk/debian (changelog rules)

kibi-guest at users.alioth.debian.org kibi-guest at users.alioth.debian.org
Thu Dec 6 12:04:50 UTC 2007


    Date: Thursday, December 6, 2007 @ 12:04:49
  Author: kibi-guest
Revision: 3867

debian/rules cleanup

Modified:
  packages/python-networkx/trunk/debian/changelog
  packages/python-networkx/trunk/debian/rules

Modified: packages/python-networkx/trunk/debian/changelog
===================================================================
--- packages/python-networkx/trunk/debian/changelog	2007-12-06 11:53:46 UTC (rev 3866)
+++ packages/python-networkx/trunk/debian/changelog	2007-12-06 12:04:49 UTC (rev 3867)
@@ -7,6 +7,9 @@
   [ Cyril Brulebois ]
   * Add version mangling to debian/watch, stripping the “.dfsg” part of the
     Debian version.
+  * debian/rules cleanup: Delete trailing whitespaces, delete unused
+    DEB_UPSTREAM_VERSION (which became wrong anyway, due to the “.dfsg” part
+    of the version).
 
  -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>  Thu, 06 Dec 2007 12:10:33 +0100
 

Modified: packages/python-networkx/trunk/debian/rules
===================================================================
--- packages/python-networkx/trunk/debian/rules	2007-12-06 11:53:46 UTC (rev 3866)
+++ packages/python-networkx/trunk/debian/rules	2007-12-06 12:04:49 UTC (rev 3867)
@@ -9,15 +9,10 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
-        | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
-
 PYSUPPORT_DIR=debian/python-networkx/usr/share/python-support/python-networkx
 
-
 include /usr/share/quilt/quilt.make
 
-
 build: patch
 
 clean: clean-patched unpatch
@@ -32,12 +27,12 @@
 	# Make sure that there's no .pyc left
 	find . -name '*.pyc' -exec rm {} ';'
 
-	dh_clean 
+	dh_clean
 
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k 
+	dh_clean -k
 	dh_installdirs
 
 	# Install w/o compiling *.pyc files
@@ -66,7 +61,7 @@
 binary-arch: build install
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs 
+	dh_installchangelogs
 	dh_installdocs
 	dh_installexamples
 	dh_pysupport




More information about the Python-modules-commits mailing list