[Python-apps-commits] r7739 - in packages/mercurial/trunk/debian (changelog rules)

vicho-guest at users.alioth.debian.org vicho-guest at users.alioth.debian.org
Mon Oct 31 20:55:29 UTC 2011


    Date: Monday, October 31, 2011 @ 20:55:13
  Author: vicho-guest
Revision: 7739

Don't include empty directories

Modified:
  packages/mercurial/trunk/debian/changelog
  packages/mercurial/trunk/debian/rules	(contents, properties)

Modified: packages/mercurial/trunk/debian/changelog
===================================================================
--- packages/mercurial/trunk/debian/changelog	2011-10-31 16:49:34 UTC (rev 7738)
+++ packages/mercurial/trunk/debian/changelog	2011-10-31 20:55:13 UTC (rev 7739)
@@ -1,3 +1,9 @@
+mercurial (1.9.999+2.0rc1-2) UNRELEASED; urgency=low
+
+  * Don't include empty directories in the package
+
+ -- Javi Merino <cibervicho at gmail.com>  Sun, 30 Oct 2011 15:50:27 +0000
+
 mercurial (1.9.999+2.0rc1-1) experimental; urgency=low
 
   * Upstream 2.0 Release Candidate 1

Modified: packages/mercurial/trunk/debian/rules
===================================================================
--- packages/mercurial/trunk/debian/rules	2011-10-31 16:49:34 UTC (rev 7738)
+++ packages/mercurial/trunk/debian/rules	2011-10-31 20:55:13 UTC (rev 7739)
@@ -62,6 +62,10 @@
 		-name '*.so' ! -type d -delete , \
 		-type d -empty -delete
 
+override_dh_python2:
+	dh_python2
+	find debian/mercurial/usr/share -type d -empty -delete
+
 override_dh_auto_clean: mercurial/__version__.py
 	cp -a mercurial/__version__.py mercurial/__version__.py.save
 	dh_auto_clean




More information about the Python-apps-commits mailing list