diff --git a/python-pdir2.spec b/python-pdir2.spec index 26ef277..194b9fd 100644 --- a/python-pdir2.spec +++ b/python-pdir2.spec @@ -1,6 +1,11 @@ %global _docdir_fmt %{name} %global srcname pdir2 +%global _description \ +An improved version of dir() with better output. Attributes are grouped by\ +types/functionalities, with beautiful colors. Supports ipython, ptpython,\ +bpython, and Jupyter Notebook. + # Run the test on Fedora. In EPEL, we're missing python34-pandas. %{?fedora:%bcond_without tests} @@ -20,10 +25,7 @@ Patch1: xfail-test-pdir-class.patch BuildArch: noarch -%description -An improved version of dir() with better output. Attributes are grouped by -types/functionalities, with beautiful colors. Supports ipython, ptpython, -bpython, and Jupyter Notebook. +%description %{_description} %package -n python2-%{srcname} @@ -39,10 +41,7 @@ Requires: python%{?fedora:2}-enum34 %{?python_provide:%python_provide python2-%{srcname}} -%description -n python2-%{srcname} -An improved version of dir() with better output. Attributes are grouped by -types/functionalities, with beautiful colors. Supports ipython, ptpython, -bpython, and Jupyter Notebook. +%description -n python2-%{srcname} %{_description} %package -n python%{python3_pkgversion}-%{srcname} @@ -56,10 +55,7 @@ BuildRequires: python%{python3_pkgversion}-pandas %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} -%description -n python%{python3_pkgversion}-%{srcname} -An improved version of dir() with better output. Attributes are grouped by -types/functionalities, with beautiful colors. Supports ipython, ptpython, -bpython, and Jupyter Notebook. +%description -n python%{python3_pkgversion}-%{srcname} %{_description} %prep