rpms/pysvn/devel pysvn-1.6.1-drop-version.patch,1.1,1.2

Caitlyn O'Hanna ravenoak at fedoraproject.org
Sun Oct 12 04:56:36 UTC 2008


Author: ravenoak

Update of /cvs/pkgs/rpms/pysvn/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20084

Modified Files:
	pysvn-1.6.1-drop-version.patch 
Log Message:
Fixed lingering module versioning in __init__.


pysvn-1.6.1-drop-version.patch:

Index: pysvn-1.6.1-drop-version.patch
===================================================================
RCS file: /cvs/pkgs/rpms/pysvn/devel/pysvn-1.6.1-drop-version.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pysvn-1.6.1-drop-version.patch	6 Oct 2008 20:01:52 -0000	1.1
+++ pysvn-1.6.1-drop-version.patch	12 Oct 2008 04:56:06 -0000	1.2
@@ -96,3 +96,16 @@
  
      else:
          raise ImportError( 'Fix pysvn/__init__.py to support python %d.%d' % tuple(maj_min) )
+--- ./Source/create__init__.py.orig	2008-10-11 21:21:07.000000000 -0700
++++ ./Source/create__init__.py	2008-10-11 21:23:13.000000000 -0700
+@@ -12,8 +12,8 @@
+ block_end_index = pysvn__init__file_contents.index( '### IMPORT BLOCK END\n' ) + 1
+ 
+ pysvn__init__file_contents[ block_begin_index:block_end_index ] = [
+-    '    import _pysvn_%d_%d\n' % (pymaj, pymin),
+-    '    _pysvn = _pysvn_%d_%d\n' % (pymaj, pymin),
++    '    #import _pysvn_%d_%d\n' % (pymaj, pymin),
++    '    #_pysvn = _pysvn_%d_%d\n' % (pymaj, pymin),
+     ]
+ 
+ f = file( sys.argv[2], 'w' )




More information about the scm-commits mailing list