rpms/viewvc/F-11 viewvc-1.1.5-attributeerror.patch, NONE, 1.1 viewvc.spec, 1.28, 1.29
bojan
bojan at fedoraproject.org
Tue May 25 08:51:23 UTC 2010
Author: bojan
Update of /cvs/pkgs/rpms/viewvc/F-11
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv19939
Modified Files:
viewvc.spec
Added Files:
viewvc-1.1.5-attributeerror.patch
Log Message:
Fix upstream issue #454.
viewvc-1.1.5-attributeerror.patch:
sapi.py | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE viewvc-1.1.5-attributeerror.patch ---
Index: lib/sapi.py
===================================================================
--- lib/sapi.py (revision 2369)
+++ lib/sapi.py (revision 2370)
@@ -33,6 +33,7 @@
# that character as-is, and sometimes needs to embed escaped values
# into HTML attributes.
def escape(s):
+ s = str(s)
s = string.replace(s, '&', '&')
s = string.replace(s, '>', '>')
s = string.replace(s, '<', '<')
Index: viewvc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/viewvc/F-11/viewvc.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- viewvc.spec 29 Mar 2010 20:47:50 -0000 1.28
+++ viewvc.spec 25 May 2010 08:51:22 -0000 1.29
@@ -2,7 +2,7 @@
Name: viewvc
Version: 1.1.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Browser interface for CVS and SVN version control repositories
Group: Development/Tools
@@ -12,6 +12,7 @@ Source0: http://www.viewvc.org/%{
Source1: viewvc.conf
Source2: README.httpd
Source3: viewvc-lexer-mimetypes.py
+Patch1: viewvc-1.1.5-attributeerror.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: %{name}-selinux < 1.0.3-13
@@ -43,6 +44,7 @@ with decent performance when run under A
%prep
%setup -q
+%patch1 -p0 -b .attributeerror
%build
@@ -118,6 +120,9 @@ with decent performance when run under A
%config(noreplace) %{_sysconfdir}/httpd/conf.d/viewvc.conf
%changelog
+* Tue May 25 2010 Bojan Smojver <bojan at rexursive.com> - 1.1.5-2
+- patch upstream issue #454
+
* Tue Mar 30 2010 Bojan Smojver <bojan at rexursive.com> - 1.1.5-1
- bump up to 1.1.5
More information about the scm-commits
mailing list