[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: Iea343e06993bed8a7376a911b51b444816ffb492
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
+%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
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
%{_libdir}/libxml2.la
%{_libdir}/*.sh
%{_libdir}/pkgconfig/*.pc
+%{_libdir}/cmake/libxml2/libxml2-config.cmake
%changelog
Name: python-libxml2
-Version: 2.9.1
+Version: 2.9.4
Release: 0
Summary: Python Bindings for libxml2
License: MIT
<?xml version="1.0"?>
-<foo/>
+<f:foo/>
Object is a Node Set :
Set contains 1 nodes:
-1 ELEMENT foo
+1 ELEMENT n:foo
ATTRIBUTE id
TEXT
content=bar
Object is a Node Set :
Set contains 1 nodes:
-1 ELEMENT o:o
+1 ELEMENT f:o:o
ATTRIBUTE id
TEXT
content=bar