Summary(pl.UTF-8): Biblioteka libXML wersja 2
Summary(pt_BR.UTF-8): Biblioteca libXML versão 2
Name: libxml2
-Version: 2.10.0
+Version: 2.11.5
Release: 1
Epoch: 1
License: MIT
Group: Libraries
#Source0: ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz
-Source0: https://download.gnome.org/sources/libxml2/2.10/%{name}-%{version}.tar.xz
-# Source0-md5: 54fdcf2404eb5c1ca59ffc82b2edff78
+Source0: https://download.gnome.org/sources/libxml2/2.11/%{name}-%{version}.tar.xz
+# Source0-md5: b2e7332289f5784087448a0717f45ac3
Patch0: %{name}-open.gz.patch
Patch1: %{name}-largefile.patch
Patch2: %{name}-libx32.patch
+Patch3: %{name}-python-setup.patch
# Fedora patches
# https://bugzilla.gnome.org/show_bug.cgi?id=789714
Patch11: %{name}-python3-unicode-errors.patch
URL: http://xmlsoft.org/
BuildRequires: autoconf >= 2.68
-BuildRequires: automake >= 1:1.15
+BuildRequires: automake >= 1:1.16.3
BuildRequires: libtool >= 2:2.0
BuildRequires: pkgconfig
%if %{with python2}
%endif
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%patch11 -p1
%build
--disable-silent-rules \
%{?with_static_libs:--enable-static} \
%{?with_ftp:--with-ftp} \
- --with-html-dir=%{_docdir}/libxml2 \
%{?with_legacy:--with-legacy} \
--with-lzma \
--with-mem-debug%{!?with_mem_debug:=no} \
cd ..
%endif
-
%if %{with python3}
cd python
%py3_build
%files
%defattr(644,root,root,755)
-%doc Copyright NEWS README.md TODO TODO_SCHEMAS
+%doc Copyright NEWS README.md
%attr(755,root,root) %{_libdir}/libxml2.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libxml2.so.2
%dir %{_sysconfdir}/xml