rpms/tclxml/F-10 tclxml-3.1-sgmlparser.patch, NONE, 1.1 tclxml.spec, 1.13, 1.14

Michael Thomas wart at fedoraproject.org
Wed Dec 17 23:56:39 UTC 2008


Author: wart

Update of /cvs/extras/rpms/tclxml/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26625

Modified Files:
	tclxml.spec 
Added Files:
	tclxml-3.1-sgmlparser.patch 
Log Message:
Fix parsing of stylesheet entity (BZ #474766)



tclxml-3.1-sgmlparser.patch:

--- NEW FILE tclxml-3.1-sgmlparser.patch ---
--- tclxml-3.1/library/sgmlparser.tcl.orig	2008-12-17 15:40:28.000000000 -0800
+++ tclxml-3.1/library/sgmlparser.tcl	2008-12-17 15:40:56.000000000 -0800
@@ -606,7 +606,7 @@
 			    }
 			} elseif {![regexp ^$Name\$ $tag]} {
 			    uplevel #0 $options(-errorcommand) [list illegalcharacter "illegal character in processing instruction target \"$tag\""]
-			} elseif {[regexp {[xX][mM][lL]} $tag]} {
+			} elseif {[regexp {^[xX][mM][lL]} $tag]} {
 			    uplevel #0 $options(-errorcommand) [list illegalcharacters "characters \"xml\" not permitted in processing instruction target \"$tag\""]
 			} elseif {![regsub {\?$} $param {} param]} {
 			    uplevel #0 $options(-errorcommand) [list missingquestion "PI: expected '?' character around line $state(line)"]


Index: tclxml.spec
===================================================================
RCS file: /cvs/extras/rpms/tclxml/F-10/tclxml.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- tclxml.spec	9 Feb 2008 16:49:59 -0000	1.13
+++ tclxml.spec	17 Dec 2008 23:56:09 -0000	1.14
@@ -1,15 +1,16 @@
 %{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%(echo 'puts $tcl_version' | tclsh)}
 
-Summary: TclXML is a package that provides XML parsing for the Tcl scripting language
+Summary: XML parsing library for the Tcl scripting language
 Name:    tclxml
 Version: 3.1
-Release: 13%{?dist}
+Release: 14%{?dist}
 License: BSD
 Group:   Development/Libraries
 URL:     http://tclxml.sourceforge.net/
 Source:  http://downloads.sourceforge.net/tclxml/tclxml-3.1.tar.gz
 Patch0:  tclxml.patch
 Patch1:  tclxml-3.1-sgmlversion.patch
+Patch2:  tclxml-3.1-sgmlparser.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  tcl-devel libxml2-devel expat-devel
 Requires:       tcl(abi) = 8.5 tcllib
@@ -49,6 +50,7 @@
 %setup -q
 %patch0 -p1
 %patch1
+%patch2 -p1
 
 # Clean up rpmlint warning about line endings on
 # one of the documentation files.
@@ -126,6 +128,10 @@
 %{tcl_sitearch}/Tclxml%{version}/*.a
 
 %changelog
+* Wed Dec 17 2008 Wart <wart at kobold.org> - 3.1-14
+- Fix parsing of stylesheet entity (BZ #474766)
+- Remove package name from Summary
+
 * Sat Feb 8 2008 Wart <wart at kobold.org> - 3.1-13
 - Better download URL
 - rebuild for gcc 4.3




More information about the fedora-extras-commits mailing list