don't duplicate description

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-10-04 16:42:57 +02:00
parent f4dff19db5
commit 0b6379bf45

View File

@ -9,13 +9,15 @@ License: BSD
URL: http://lxml.de
Source0: http://lxml.de/files/%{modname}-%{version}.tgz
%description
lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It
provides safe and convenient access to these libraries using the ElementTree It
extends the ElementTree API significantly to offer support for XPath, RelaxNG,
XML Schema, XSLT, C14N and much more.To contact the project, go to the project
%global _description \
lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It\
provides safe and convenient access to these libraries using the ElementTree It\
extends the ElementTree API significantly to offer support for XPath, RelaxNG,\
XML Schema, XSLT, C14N and much more.To contact the project, go to the project\
home page < or see our bug tracker at case you want to use the current ...
%description %{_description}
%package -n python2-%{modname}
Summary: %{summary}
BuildRequires: python-setuptools
@ -27,12 +29,9 @@ Requires: python-html5lib
Requires: python-beautifulsoup4
%{?python_provide:%python_provide python2-%{modname}}
%description -n python2-%{modname}
lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It
provides safe and convenient access to these libraries using the ElementTree It
extends the ElementTree API significantly to offer support for XPath, RelaxNG,
XML Schema, XSLT, C14N and much more.To contact the project, go to the project
home page < or see our bug tracker at case you want to use the current ...
%description -n python2-%{modname} %{_description}
Python 2 version.
%package -n python3-%{modname}
Summary: %{summary}
@ -43,12 +42,9 @@ Requires: python3-html5lib
Requires: python3-beautifulsoup4
%{?python_provide:%python_provide python3-%{modname}}
%description -n python3-%{modname}
lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It
provides safe and convenient access to these libraries using the ElementTree It
extends the ElementTree API significantly to offer support for XPath, RelaxNG,
XML Schema, XSLT, C14N and much more.To contact the project, go to the project
home page < or see our bug tracker at case you want to use the current ...
%description -n python3-%{modname} %{_description}
Python 3 version.
%prep
%autosetup -n %{modname}-%{version}