From be6e2ead7d43f0a0f2706aef5c2d19d6758dd7f8 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Jul 12 2019 07:22:48 +0000 Subject: Remove duplicate %description definition There is only python3 now, now need to mention the version. --- diff --git a/python-tables.spec b/python-tables.spec index 4fc7653..71c72cf 100644 --- a/python-tables.spec +++ b/python-tables.spec @@ -32,9 +32,11 @@ BuildRequires: python%{python3_pkgversion}-numexpr >= 2.4 BuildRequires: python%{python3_pkgversion}-six BuildRequires: python%{python3_pkgversion}-mock -%description +%global _description %{expand: PyTables is a package for managing hierarchical datasets and designed -to efficiently and easily cope with extremely large amounts of data. +to efficiently and easily cope with extremely large amounts of data.} + +%description %_description %package -n python%{python3_pkgversion}-tables Summary: %{summary} @@ -44,11 +46,7 @@ Requires: python%{python3_pkgversion}-six Requires: python%{python3_pkgversion}-numexpr >= 2.4 %{?python_provide:%python_provide python%{python3_pkgversion}-tables} -%description -n python%{python3_pkgversion}-tables -PyTables is a package for managing hierarchical datasets and designed -to efficiently and easily cope with extremely large amounts of data. - -This is the version for Python 3. +%description -n python%{python3_pkgversion}-tables %_description %package doc Summary: Documentation for PyTables