Browse Source

remove warning

Ralf S. Engelschall 19 years ago
parent
commit
4065db90b6
2 changed files with 20 additions and 0 deletions
  1. 18 0
      tailor/tailor.patch
  2. 2 0
      tailor/tailor.spec

+ 18 - 0
tailor/tailor.patch

@@ -0,0 +1,18 @@
+Index: vcpx/repository/cvs.py
+--- vcpx/repository/cvs.py.orig	2006-12-11 22:08:24 +0100
++++ vcpx/repository/cvs.py	2007-01-27 23:15:13 +0100
+@@ -335,12 +335,12 @@
+         """Parse a complete CVS log."""
+ 
+         from os.path import split, join
+-        import sre
++        import re
+         from time import strptime
+         from datetime import datetime
+         from vcpx.changes import Changeset
+ 
+-        revcount_regex = sre.compile('\\bselected revisions:\\s*(\\d+)\\b')
++        revcount_regex = re.compile('\\bselected revisions:\\s*(\\d+)\\b')
+ 
+         self.__currentdir = None
+ 

+ 2 - 0
tailor/tailor.spec

@@ -37,6 +37,7 @@ Release:      20070127
 
 #   list of sources
 Source0:      http://darcs.arstecnica.it/tailor-%{version}.tar.gz
+Patch0:       tailor.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -60,6 +61,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %patch -p0
 
 %build