From 0b6379bf45d9d7a8466c98a622b61a6435c40f10 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 4 Oct 2017 16:42:57 +0200 Subject: [PATCH] don't duplicate description Signed-off-by: Igor Gnatenko --- python-lxml.spec | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/python-lxml.spec b/python-lxml.spec index c9cfa09..97573dd 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -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}