--- /dev/null
+<manifest>
+ <request>
+ <domain name="_" />
+ </request>
+ <assign>
+ <filesystem path="/usr/bin/xmlwf" exec_label="none" />
+ </assign>
+</manifest>
--- /dev/null
+--- lib/xmltok_impl.c 2006-11-26 18:34:46.000000000 +0100
++++ lib/xmltok_impl.c.oden 2009-08-21 23:01:22.000000000 +0200
+@@ -1744,7 +1744,7 @@ PREFIX(updatePosition)(const ENCODING *e
+ const char *end,
+ POSITION *pos)
+ {
+- while (ptr != end) {
++ while (ptr < end) {
+ switch (BYTE_TYPE(enc, ptr)) {
+ #define LEAD_CASE(n) \
+ case BT_LEAD ## n: \
--- /dev/null
+
+Configure for C++ too so the testsuite works.
+
+--- expat-2.0.1/configure.in.confcxx
++++ expat-2.0.1/configure.in
+@@ -62,6 +62,7 @@ AC_SUBST(LIBAGE)
+
+ dnl Checks for programs.
+ AC_PROG_CC
++AC_PROG_CXX
+ AC_PROG_INSTALL
+
+ if test "$GCC" = yes ; then
Release: 8
Summary: An XML parser library
Group: System/Libraries
-Source: http://download.sourceforge.net/expat/expat-%{version}.tar.gz
+Source: %{name}-%{version}.tar.gz
Patch0: expat-2.0.1-CVE-2009-3720.diff
Patch1: expat-2.0.1-confcxx.patch
%install
+mkdir -p %{buildroot}/usr/share/license
+cp COPYING %{buildroot}/usr/share/license/%{name}
+
rm -f examples/*.dsp
chmod 644 README COPYING Changes doc/* examples/*
%postun -p /sbin/ldconfig
%files
+%manifest expat.manifest
%defattr(-,root,root,-)
%doc COPYING
%{_bindir}/*
/%{_lib}/lib*.so.*
+/usr/share/license/%{name}
%files devel
%defattr(-,root,root)
+++ /dev/null
-this package is not used in OBS