Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-24 06:47:18 +01:00
parent 72593ec17b
commit b48abf9eb2

View File

@ -1,25 +1,25 @@
Name: libxml2 Name: libxml2
Version: 2.9.5 Version: 2.9.5
Release: 3%{?dist}%{?extra_release} Release: 3%{?dist}%{?extra_release}
Summary: Library providing XML and HTML support Summary: Library providing XML and HTML support
License: MIT License: MIT
URL: http://xmlsoft.org/ URL: http://xmlsoft.org/
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
Patch0: libxml2-multilib.patch Patch0: libxml2-multilib.patch
Patch1: libxml2-2.9.0-do-not-check-crc.patch Patch1: libxml2-2.9.0-do-not-check-crc.patch
# In python3.6 _PyVerify_fd is no more # In python3.6 _PyVerify_fd is no more
# http://bugs.python.org/issue23524 # http://bugs.python.org/issue23524
Patch2: libxml2-2.9.4-remove-pyverify_fd.patch Patch2: libxml2-2.9.4-remove-pyverify_fd.patch
# Fix reporting error about undefined XPath variables, bug #1493613, # Fix reporting error about undefined XPath variables, bug #1493613,
# Gnome bug #787941, fixed in upstream after 2.9.5 # Gnome bug #787941, fixed in upstream after 2.9.5
Patch3: libxml2-2.9.5-Report-undefined-XPath-variable-error-message.patch Patch3: libxml2-2.9.5-Report-undefined-XPath-variable-error-message.patch
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: xz-devel BuildRequires: xz-devel
%description %description
This library allows to manipulate XML files. It includes support This library allows to manipulate XML files. It includes support
@ -33,11 +33,11 @@ available, with existing HTTP and FTP modules and combined to an
URI library. URI library.
%package devel %package devel
Summary: Libraries, includes, etc. to develop XML and HTML applications Summary: Libraries, includes, etc. to develop XML and HTML applications
Requires: libxml2 = %{version}-%{release} Requires: libxml2 = %{version}-%{release}
Requires: zlib-devel Requires: zlib-devel
Requires: xz-devel Requires: xz-devel
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
Libraries, include files, etc you can use to develop XML applications. Libraries, include files, etc you can use to develop XML applications.
@ -52,8 +52,8 @@ available, with existing HTTP and FTP modules and combined to an
URI library. URI library.
%package static %package static
Summary: Static library for libxml2 Summary: Static library for libxml2
Requires: libxml2 = %{version}-%{release} Requires: libxml2 = %{version}-%{release}
%description static %description static
Static library for libxml2 provided for specific uses or shaving a few Static library for libxml2 provided for specific uses or shaving a few
@ -61,10 +61,10 @@ microseconds when parsing, do not link to them for generic purpose packages.
%package -n python2-%{name} %package -n python2-%{name}
%{?python_provide:%python_provide python2-%{name}} %{?python_provide:%python_provide python2-%{name}}
Summary: Python bindings for the libxml2 library Summary: Python bindings for the libxml2 library
Requires: libxml2 = %{version}-%{release} Requires: libxml2 = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release} Obsoletes: %{name}-python < %{version}-%{release}
Provides: %{name}-python = %{version}-%{release} Provides: %{name}-python = %{version}-%{release}
%description -n python2-%{name} %description -n python2-%{name}
The libxml2-python package contains a Python 2 module that permits applications The libxml2-python package contains a Python 2 module that permits applications
@ -77,10 +77,10 @@ this includes parsing and validation even with complex DTDs, either
at parse time or later once the document has been modified. at parse time or later once the document has been modified.
%package -n python3-%{name} %package -n python3-%{name}
Summary: Python 3 bindings for the libxml2 library Summary: Python 3 bindings for the libxml2 library
Requires: libxml2 = %{version}-%{release} Requires: libxml2 = %{version}-%{release}
Obsoletes: %{name}-python3 < %{version}-%{release} Obsoletes: %{name}-python3 < %{version}-%{release}
Provides: %{name}-python3 = %{version}-%{release} Provides: %{name}-python3 = %{version}-%{release}
%description -n python3-%{name} %description -n python3-%{name}
The libxml2-python3 package contains a Python 3 module that permits The libxml2-python3 package contains a Python 3 module that permits