[Python-modules-commits] r32040 - in packages/pysvn/trunk/debian (rules)

noahfx-guest at users.alioth.debian.org noahfx-guest at users.alioth.debian.org
Sun Mar 22 03:27:48 UTC 2015


    Date: Sunday, March 22, 2015 @ 03:27:43
  Author: noahfx-guest
Revision: 32040

Fixed cleanup after build 

Modified:
  packages/pysvn/trunk/debian/rules

Modified: packages/pysvn/trunk/debian/rules
===================================================================
--- packages/pysvn/trunk/debian/rules	2015-03-22 01:28:21 UTC (rev 32039)
+++ packages/pysvn/trunk/debian/rules	2015-03-22 03:27:43 UTC (rev 32040)
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 # Uncomment this to turn on verbose mode.
 # export DH_VERBOSE=1
-export PYBUILD_NAME=pysvn
+export PYBUILD_NAME=svn
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
 
@@ -58,6 +58,11 @@
 	mv $(CURDIR)/Source/pysvn/_pysvn_3_*.so $(CURDIR)/Source/pysvn/python3/
 	$(MAKE) clean -C $(CURDIR)/Source
 
+override_dh_auto_clean:
+        dh_auto_clean
+        rm -rf $(CURDIR)/Source/pysvn/python2
+        rm -rf $(CURDIR)/Source/pysvn/python3
+
 override_dh_strip:
 	dh_strip --dbg-package=python-svn-dbg
 




More information about the Python-modules-commits mailing list