Rename _description to common_description

This commit is contained in:
Carl George 2019-04-16 11:37:20 -05:00
parent 2d9bb8c7b0
commit ae6db236ae

View File

@ -7,9 +7,9 @@
# package name fragment
%global pkgname prompt-toolkit
%global _description \
prompt_toolkit is a library for building powerful interactive command lines and\
terminal applications in Python.
%global common_description %{expand:
prompt_toolkit is a library for building powerful interactive command lines and
terminal applications in Python.}
%bcond_without tests
@ -24,7 +24,7 @@ Source0: %pypi_source
BuildArch: noarch
%description %{_description}
%description %{common_description}
%package -n python3-%{pkgname}
@ -46,7 +46,7 @@ Provides: python3-prompt_toolkit = %{version}-%{release}
%{?python_provide:%python_provide python3-%{pkgname}}
%description -n python3-%{pkgname} %{_description}
%description -n python3-%{pkgname} %{common_description}
%prep