diff --git a/libxml2.spec b/libxml2.spec index 8f40559..e432ba9 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -1,25 +1,25 @@ -Name: libxml2 -Version: 2.9.5 -Release: 3%{?dist}%{?extra_release} -Summary: Library providing XML and HTML support +Name: libxml2 +Version: 2.9.5 +Release: 3%{?dist}%{?extra_release} +Summary: Library providing XML and HTML support -License: MIT -URL: http://xmlsoft.org/ -Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz -Patch0: libxml2-multilib.patch -Patch1: libxml2-2.9.0-do-not-check-crc.patch +License: MIT +URL: http://xmlsoft.org/ +Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz +Patch0: libxml2-multilib.patch +Patch1: libxml2-2.9.0-do-not-check-crc.patch # In python3.6 _PyVerify_fd is no more # 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, # 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: python3-devel -BuildRequires: zlib-devel -BuildRequires: pkgconfig -BuildRequires: xz-devel +BuildRequires: python2-devel +BuildRequires: python3-devel +BuildRequires: zlib-devel +BuildRequires: pkgconfig +BuildRequires: xz-devel %description 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. %package devel -Summary: Libraries, includes, etc. to develop XML and HTML applications -Requires: libxml2 = %{version}-%{release} -Requires: zlib-devel -Requires: xz-devel -Requires: pkgconfig +Summary: Libraries, includes, etc. to develop XML and HTML applications +Requires: libxml2 = %{version}-%{release} +Requires: zlib-devel +Requires: xz-devel +Requires: pkgconfig %description devel 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. %package static -Summary: Static library for libxml2 -Requires: libxml2 = %{version}-%{release} +Summary: Static library for libxml2 +Requires: libxml2 = %{version}-%{release} %description static 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} %{?python_provide:%python_provide python2-%{name}} -Summary: Python bindings for the libxml2 library -Requires: libxml2 = %{version}-%{release} -Obsoletes: %{name}-python < %{version}-%{release} -Provides: %{name}-python = %{version}-%{release} +Summary: Python bindings for the libxml2 library +Requires: libxml2 = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} +Provides: %{name}-python = %{version}-%{release} %description -n python2-%{name} 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. %package -n python3-%{name} -Summary: Python 3 bindings for the libxml2 library -Requires: libxml2 = %{version}-%{release} -Obsoletes: %{name}-python3 < %{version}-%{release} -Provides: %{name}-python3 = %{version}-%{release} +Summary: Python 3 bindings for the libxml2 library +Requires: libxml2 = %{version}-%{release} +Obsoletes: %{name}-python3 < %{version}-%{release} +Provides: %{name}-python3 = %{version}-%{release} %description -n python3-%{name} The libxml2-python3 package contains a Python 3 module that permits