Hello community, here is the log from the commit of package viewvc for openSUSE:Factory checked in at Wed Apr 7 02:20:21 CEST 2010. -------- --- viewvc/viewvc.changes 2010-04-01 11:32:53.000000000 +0200 +++ /mounts/work_src_done/STABLE/viewvc/viewvc.changes 2010-04-06 21:51:44.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Apr 6 21:51:20 CEST 2010 - dmueller@suse.de + +- fix buglink patch again (kde#233525) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ viewvc.spec ++++++ --- /var/tmp/diff_new_pack.DafZuG/_old 2010-04-07 02:20:08.000000000 +0200 +++ /var/tmp/diff_new_pack.DafZuG/_new 2010-04-07 02:20:08.000000000 +0200 @@ -21,7 +21,7 @@ Name: viewvc BuildRequires: apache2-devel python-devel Version: 1.1.5 -Release: 1 +Release: 2 # %define apxs /usr/sbin/apxs2 %define apache_libexecdir %(%{apxs} -q LIBEXECDIR) ++++++ viewvc-buglink.patch ++++++ --- /var/tmp/diff_new_pack.DafZuG/_old 2010-04-07 02:20:08.000000000 +0200 +++ /var/tmp/diff_new_pack.DafZuG/_new 2010-04-07 02:20:08.000000000 +0200 @@ -24,7 +24,7 @@ ## alternative to using the "root=" query key. If ViewVC is configured --- lib/config.py +++ lib/config.py -@@ -421,6 +421,7 @@ +@@ -429,6 +429,7 @@ self.options.dir_pagesize = 0 self.options.log_pagesize = 0 self.options.limit_changes = 100 @@ -34,7 +34,7 @@ self.templates.directory = None --- lib/viewvc.py +++ lib/viewvc.py -@@ -1088,6 +1088,9 @@ +@@ -1085,6 +1085,9 @@ _re_rewrite_email = re.compile('([-a-zA-Z0-9_.\+]+)@' '(([-a-zA-Z0-9]+\.)+[A-Za-z]{2,4})') @@ -44,7 +44,7 @@ class HtmlFormatter: """Format a string as HTML-encoded output with customizable markup -@@ -1101,6 +1104,21 @@ +@@ -1098,6 +1101,20 @@ def __init__(self): self._formatters = [] @@ -58,15 +58,14 @@ + s = mobj.group(0) + trunc_s = maxlen and s[:maxlen] or s + return '<a href="%s%s">%s</a>' % (_re_buglink_prefix, urllib.quote(mobj.group(2)), -+ cgi.escape(trunc_s)), \ -+ len(trunc_s) -+ ++ sapi.escape(trunc_s)), \ ++ len(trunc_s) + + def format_url(self, mobj, userdata, maxlen=0): """Return a 2-tuple containing: - the text represented by MatchObject MOBJ, formatted as -@@ -1250,6 +1268,10 @@ +@@ -1247,6 +1264,10 @@ if htmlize: lf = HtmlFormatter() lf.add_formatter(_re_rewrite_url, lf.format_url) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org