[Python-modules-commits] r20416 - in packages/sphinx/trunk/debian (changelog rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Sun Feb 12 17:38:37 UTC 2012


    Date: Sunday, February 12, 2012 @ 17:38:37
  Author: jwilk
Revision: 20416

Don't run dh_testroot in the clean target.

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

Modified: packages/sphinx/trunk/debian/changelog
===================================================================
--- packages/sphinx/trunk/debian/changelog	2012-02-12 17:33:56 UTC (rev 20415)
+++ packages/sphinx/trunk/debian/changelog	2012-02-12 17:38:37 UTC (rev 20416)
@@ -4,8 +4,12 @@
     build subdirectory anyway).
   * Move python-all and python-setuptools from Build-Depends to
     Build-Depends-Indep, as it's not needed in the clean target anymore.
+  * Don't run dh_testroot in the clean target. There's a good chance that root
+    privileges are not needed (e.g. because binary target was run under
+    fakeroot), and even if they are actually needed, the target will fail
+    quickly.
 
- -- Jakub Wilk <jwilk at debian.org>  Sun, 12 Feb 2012 18:30:39 +0100
+ -- Jakub Wilk <jwilk at debian.org>  Sun, 12 Feb 2012 18:34:51 +0100
 
 sphinx (1.1.2+dfsg-4) unstable; urgency=low
 

Modified: packages/sphinx/trunk/debian/rules
===================================================================
--- packages/sphinx/trunk/debian/rules	2012-02-12 17:33:56 UTC (rev 20415)
+++ packages/sphinx/trunk/debian/rules	2012-02-12 17:38:37 UTC (rev 20416)
@@ -42,7 +42,6 @@
 
 clean:
 	dh_testdir
-	dh_testroot
 	find . -name '*.py[co]' -delete
 	rm -rf build
 	rm -f $(basename $(wildcard debian/*.in))




More information about the Python-modules-commits mailing list