[Python-modules-commits] r11954 - in packages/python-django-piston/trunk/debian (rules)

svedrin-guest at users.alioth.debian.org svedrin-guest at users.alioth.debian.org
Thu Feb 25 19:28:59 UTC 2010


    Date: Thursday, February 25, 2010 @ 19:28:53
  Author: svedrin-guest
Revision: 11954

properly remove oauth.py and decorator.py

Modified:
  packages/python-django-piston/trunk/debian/rules

Modified: packages/python-django-piston/trunk/debian/rules
===================================================================
--- packages/python-django-piston/trunk/debian/rules	2010-02-25 19:08:43 UTC (rev 11953)
+++ packages/python-django-piston/trunk/debian/rules	2010-02-25 19:28:53 UTC (rev 11954)
@@ -3,10 +3,10 @@
 
 #export DH_VERBOSE=1
 
-build:
-	rm piston/oauth.py
-	rm piston/decorator.py
-	dh build
+override_dh_auto_install:
+	dh_auto_install
+	rm debian/python-django-piston/usr/lib/python*/*-packages/piston/oauth.py
+	rm debian/python-django-piston/usr/lib/python*/*-packages/piston/decorator.py
 
 %:
 	dh  $@




More information about the Python-modules-commits mailing list