|
@@ -1,12 +1,15 @@
|
|
|
Summary: Library providing XML and HTML support
|
|
|
Summary(ja): XML や HTML サポートを提供するライブラリ
|
|
|
Name: libxml2
|
|
|
-Version: 2.7.7
|
|
|
-Release: 2%{_dist_release}
|
|
|
+Version: 2.7.8
|
|
|
+Release: 1%{_dist_release}
|
|
|
License: MIT
|
|
|
Group: System Environment/Libraries
|
|
|
Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz
|
|
|
+
|
|
|
Patch0: libxml2-multilib.patch
|
|
|
+Patch1: libxml2-2.7.8-reactivate-versionning-script.patch
|
|
|
+Patch10: libxml2-2.7.8-CVE-2010-4494.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: python
|
|
@@ -163,7 +166,11 @@ DTDであってもパースと確認が出来ます。
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
+
|
|
|
%patch0 -p1
|
|
|
+%patch1 -p1
|
|
|
+
|
|
|
+%patch10 -p1 -b .CVE-2010-4494
|
|
|
|
|
|
%build
|
|
|
%configure
|
|
@@ -248,6 +255,11 @@ touch -m --reference=$RPM_BUILD_ROOT/%{_includedir}/libxml2/libxml/parser.h $RPM
|
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Apr 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.7.8-1
|
|
|
+- new upstream release with security fix (CVE-2010-4008)
|
|
|
+- add patch1 from fc16
|
|
|
+- add patch10 for fix CVE-2010-4494 (xpath)
|
|
|
+
|
|
|
* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.7.7-2
|
|
|
- build with rpm-4.8.1-1 for pkg-config file
|
|
|
|