fix BuildRequires/Requires/Provides
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
bca8735c76
commit
04921ce295
23
libxml2.spec
23
libxml2.spec
@ -13,11 +13,10 @@ Patch1: libxml2-2.9.0-do-not-check-crc.patch
|
|||||||
# 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
|
||||||
|
|
||||||
BuildRequires: python2-devel
|
BuildRequires: gcc
|
||||||
BuildRequires: python3-devel
|
BuildRequires: cmake-rpm-macros
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig(liblzma)
|
||||||
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
|
||||||
@ -32,10 +31,9 @@ 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: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: zlib-devel
|
Requires: zlib-devel%{?_isa}
|
||||||
Requires: xz-devel
|
Requires: xz-devel%{?_isa}
|
||||||
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.
|
||||||
@ -51,7 +49,6 @@ URI library.
|
|||||||
|
|
||||||
%package static
|
%package static
|
||||||
Summary: Static library for libxml2
|
Summary: Static library for libxml2
|
||||||
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
|
||||||
@ -60,7 +57,8 @@ 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}
|
BuildRequires: python2-devel
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: %{name}-python < %{version}-%{release}
|
Obsoletes: %{name}-python < %{version}-%{release}
|
||||||
Provides: %{name}-python = %{version}-%{release}
|
Provides: %{name}-python = %{version}-%{release}
|
||||||
|
|
||||||
@ -76,7 +74,8 @@ 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}
|
BuildRequires: python3-devel
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: %{name}-python3 < %{version}-%{release}
|
Obsoletes: %{name}-python3 < %{version}-%{release}
|
||||||
Provides: %{name}-python3 = %{version}-%{release}
|
Provides: %{name}-python3 = %{version}-%{release}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user