libxml2 2.9.9-3 (i686;x86_64;znver1;armv7hnl) 2019-7957
-1

Status rejected
Submitter nobodydead [@T] gmail.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/635003
Packages
libxml2-2.9.9-3.i686.source
libxml2_2-2.9.9-3.i686.binary
libxml2_2-debuginfo-2.9.9-3.i686.debuginfo
libxml2-debuginfo-2.9.9-3.i686.debuginfo
libxml2-devel-2.9.9-3.i686.binary
libxml2-utils-2.9.9-3.i686.binary
libxml2-utils-debuginfo-2.9.9-3.i686.debuginfo
python2-libxml2-2.9.9-3.i686.binary
python2-libxml2-debuginfo-2.9.9-3.i686.debuginfo
python-libxml2-2.9.9-3.i686.binary
python-libxml2-debuginfo-2.9.9-3.i686.debuginfo
lib64xml2_2-2.9.9-3.x86_64.binary
lib64xml2_2-debuginfo-2.9.9-3.x86_64.debuginfo
lib64xml2-devel-2.9.9-3.x86_64.binary
libxml2-2.9.9-3.x86_64.source
libxml2-debuginfo-2.9.9-3.x86_64.debuginfo
libxml2-utils-2.9.9-3.x86_64.binary
libxml2-utils-debuginfo-2.9.9-3.x86_64.debuginfo
python2-libxml2-2.9.9-3.x86_64.binary
python2-libxml2-debuginfo-2.9.9-3.x86_64.debuginfo
python-libxml2-2.9.9-3.x86_64.binary
python-libxml2-debuginfo-2.9.9-3.x86_64.debuginfo
lib64xml2_2-2.9.9-3.znver1.binary
lib64xml2_2-debuginfo-2.9.9-3.znver1.debuginfo
lib64xml2-devel-2.9.9-3.znver1.binary
libxml2-2.9.9-3.znver1.source
libxml2-debuginfo-2.9.9-3.znver1.debuginfo
libxml2-utils-2.9.9-3.znver1.binary
libxml2-utils-debuginfo-2.9.9-3.znver1.debuginfo
python2-libxml2-2.9.9-3.znver1.binary
python2-libxml2-debuginfo-2.9.9-3.znver1.debuginfo
python-libxml2-2.9.9-3.znver1.binary
python-libxml2-debuginfo-2.9.9-3.znver1.debuginfo
libxml2-2.9.9-3.armv7hnl.source
libxml2_2-2.9.9-3.armv7hnl.binary
libxml2_2-debuginfo-2.9.9-3.armv7hnl.debuginfo
libxml2-debuginfo-2.9.9-3.armv7hnl.debuginfo
libxml2-devel-2.9.9-3.armv7hnl.binary
libxml2-utils-2.9.9-3.armv7hnl.binary
libxml2-utils-debuginfo-2.9.9-3.armv7hnl.debuginfo
python2-libxml2-2.9.9-3.armv7hnl.binary
python2-libxml2-debuginfo-2.9.9-3.armv7hnl.debuginfo
python-libxml2-2.9.9-3.armv7hnl.binary
python-libxml2-debuginfo-2.9.9-3.armv7hnl.debuginfo
Build Date 2019-10-20 02:12:14 +0000 UTC
Last Updated 2019-10-20 19:45:03.262914269 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 30306d3117c49a600a43387e1db61bd6532452ad

commit 30306d3117c49a600a43387e1db61bd6532452ad
Author:     Bernhard Rosenkränzer <bero@lindev.ch>
AuthorDate: Sun Oct 20 03:47:51 2019 +0200
Commit:     Bernhard Rosenkränzer <bero@lindev.ch>
CommitDate: Sun Oct 20 03:47:51 2019 +0200

    Fix -L/usr/lib, enable ICU
---
 libxml2-2.9.9-no-Lusrlib.patch | 24 ++++++++++++++++++++++++
 libxml2.spec                   | 10 +++++++---
 2 files changed, 31 insertions(+), 3 deletions(-)
 create mode 100644 libxml2-2.9.9-no-Lusrlib.patch

diff --git a/libxml2-2.9.9-no-Lusrlib.patch b/libxml2-2.9.9-no-Lusrlib.patch
new file mode 100644
index 0000000..c120269
--- /dev/null
+++ b/libxml2-2.9.9-no-Lusrlib.patch
@@ -0,0 +1,24 @@
+diff -up libxml2-2.9.9/python/setup.py.omv~ libxml2-2.9.9/python/setup.py
+--- libxml2-2.9.9/python/setup.py.omv~	2019-10-20 01:24:00.234981924 +0200
++++ libxml2-2.9.9/python/setup.py	2019-10-20 01:24:21.863079524 +0200
+@@ -85,7 +85,7 @@ if iconv_includes == "":
+ 
+ # those are added in the linker search path for libraries
+ libdirs = [
+-os.path.join(ROOT,'lib'),
++#os.path.join(ROOT,'lib'), -L/usr/lib is EVIL
+ ]
+ 
+ xml_files = ["libxml2-api.xml", "libxml2-python-api.xml",
+diff -up libxml2-2.9.9/python/setup.py.in.omv~ libxml2-2.9.9/python/setup.py.in
+--- libxml2-2.9.9/python/setup.py.in.omv~	2019-10-20 01:29:53.003584609 +0200
++++ libxml2-2.9.9/python/setup.py.in	2019-10-20 01:30:01.736624520 +0200
+@@ -85,7 +85,7 @@ if iconv_includes == "":
+ 
+ # those are added in the linker search path for libraries
+ libdirs = [
+-os.path.join(ROOT,'lib'),
++# os.path.join(ROOT,'lib'), -L/usr/lib is EVIL
+ ]
+ 
+ xml_files = ["libxml2-api.xml", "libxml2-python-api.xml",
diff --git a/libxml2.spec b/libxml2.spec
index 71f4c2c..d335b24 100644
--- a/libxml2.spec
+++ b/libxml2.spec
@@ -1,6 +1,9 @@
 %bcond_without python
-# (tpg) 2018-09-10 disable ICU support, as it looks like we and ArchLinux are one who enabling this
-%bcond_with icu
+# ICU support is needed in order for libreoffice, chromium, qtwebengine and
+# maybe others to use system libxml.
+# Please don't disable it without good reason. And if you do, fix the
+# packages that rely on it.
+%bcond_without icu
 
 # (tpg) enable PGO build
 %ifnarch riscv64
@@ -19,13 +22,14 @@
 Summary:	Library providing XML and HTML support
 Name:		libxml2
 Version:	2.9.9
-Release:	2
+Release:	3
 License:	MIT
 Group:		System/Libraries
 Url:		http://www.xmlsoft.org/
 Source0:	http://xmlsoft.org/sources/%{name}-%{version}.tar.gz
 Patch0:		cve-2016-9318.patch
 #Patch1:		libxml2-2.9.7-fix-python-bindings.patch
+Patch1:		libxml2-2.9.9-no-Lusrlib.patch
 BuildRequires:	gtk-doc
 %if %{with python}
 BuildRequires:	pkgconfig(python3)
Not Available

benbullard79 [@T] cox.netWe seem to be having some issue.1864d 09hrs
benbullard79 [@T] cox.netMistaken rejection.1864d 08hrs