Browse code

Downgrade libxml to version 2.9.2. (bug 1560742)

Change-Id: Icd30dd879b34e6a6b6923b9772e1cb5819b95463
Reviewed-on: http://photon-jenkins.eng.vmware.com/480
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: suezzelur <anishs@vmware.com>

xiaolin-vmware authored on 2016/01/29 11:13:31
Showing 1 changed files
... ...
@@ -1,6 +1,6 @@
1
-Summary:	Libxml2-2.9.3
1
+Summary:	Libxml2-2.9.2
2 2
 Name:		libxml2
3
-Version:	2.9.3
3
+Version:	2.9.2
4 4
 Release:	1%{?dist}
5 5
 License:	MIT
6 6
 URL:		http://xmlsoft.org/
... ...
@@ -8,7 +8,7 @@ Group:		System Environment/General Libraries
8 8
 Vendor:		VMware, Inc.
9 9
 Distribution: 	Photon
10 10
 Source0:	ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz
11
-%define sha1 libxml2=0301ce933637e0ceda049047dbefd18714f59b6e
11
+%define sha1 libxml2=f46a37ea6d869f702e03f393c376760f3cbee673
12 12
 Requires:	python2
13 13
 BuildRequires:	python2-devel
14 14
 BuildRequires:	python2-libs
... ...
@@ -37,6 +37,11 @@ Static libraries and header files for the support library for libxml
37 37
 
38 38
 %prep
39 39
 %setup -q
40
+sed \
41
+  -e /xmlInitializeCatalog/d \
42
+  -e 's/((ent->checked =.*&&/(((ent->checked == 0) ||\
43
+          ((ent->children == NULL) \&\& (ctxt->options \& XML_PARSE_NOENT))) \&\&/' \
44
+  -i parser.c
40 45
 %build
41 46
 ./configure \
42 47
 	--prefix=%{_prefix} \
... ...
@@ -79,6 +84,10 @@ rm -rf %{buildroot}/*
79 79
 
80 80
 
81 81
 %changelog
82
+*   Thu Jan 28 2016 Xiaolin Li <xiaolinl@vmware.com> 2.9.2-1
83
+-   Downgrade to version 2.9.2
84
+-   libxml 2.9.3 has been found to have major functional issues. 
85
+-   Until these are resolved, please roadmap updating to 2.9.2.
82 86
 *   Wed Dec 2 2015 Xiaolin Li <xiaolinl@vmware.com> 2.9.3-1
83 87
 -   Update to version 2.9.3
84 88
 *   Thu Jul 2 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.9.1-3