Bump to libxml2 2.9.4 69/74669/3
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 15 Jun 2016 07:16:01 +0000 (16:16 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 15 Jun 2016 07:25:04 +0000 (16:25 +0900)
[Model] ALL
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] Bump to libxml2 2.9.4
[Cause & Measure]
[Checking Method] N/A

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: I6a7003d55d49d8b22cc7ab28ff5f73ede617dc87
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/libxml2.spec
packaging/python-libxml2.spec
result/namespaces/err_7.xml
result/xmlid/id_tst2.xml
result/xmlid/id_tst3.xml

index 8cfa4b7..f754794 100644 (file)
@@ -1,5 +1,12 @@
+%define run_tests 0
+%if %{run_tests}
+    # check is defined off at .rpmmacros file.
+    %define check %%check
+%endif
+
+
 Name:           libxml2
-Version:        2.9.1
+Version:        2.9.4
 Release:        0
 Summary:        A Library to Manipulate XML Files
 License:        MIT
@@ -73,11 +80,11 @@ cp %{SOURCE1001} .
 make %{?_smp_mflags} BASE_DIR="%_docdir" DOC_MODULE="%name"
 
 %check
-# qemu-arm can't keep up atm, disabling check for arm
-%ifnarch %arm
-make check
+%if %{run_tests}
+    %__make runtests || exit 0
 %endif
 
+
 %install
 make install DESTDIR="%buildroot" BASE_DIR="%_docdir" DOC_MODULE="%name"
 ln -s libxml2/libxml %{buildroot}%{_includedir}/libxml
@@ -113,5 +120,6 @@ ln -s libxml2/libxml %{buildroot}%{_includedir}/libxml
 %{_libdir}/libxml2.la
 %{_libdir}/*.sh
 %{_libdir}/pkgconfig/*.pc
+%{_libdir}/cmake/libxml2/libxml2-config.cmake
 
 %changelog
index e15122f..33a4c80 100644 (file)
@@ -1,5 +1,5 @@
 Name:           python-libxml2
-Version:        2.9.1
+Version:        2.9.4
 Release:        0
 Summary:        Python Bindings for libxml2
 License:        MIT
index f4e5164..4b4c662 100644 (file)
@@ -1,2 +1,2 @@
 <?xml version="1.0"?>
-<foo/>
+<f:foo/>
index 33ee896..856a320 100644 (file)
@@ -1,6 +1,6 @@
 Object is a Node Set :
 Set contains 1 nodes:
-1  ELEMENT foo
+1  ELEMENT n:foo
     ATTRIBUTE id
       TEXT
         content=bar
index e2f8228..6d8865c 100644 (file)
@@ -1,6 +1,6 @@
 Object is a Node Set :
 Set contains 1 nodes:
-1  ELEMENT o:o
+1  ELEMENT f:o:o
     ATTRIBUTE id
       TEXT
         content=bar