Rename _description to common_description
This commit is contained in:
parent
2d9bb8c7b0
commit
ae6db236ae
@ -7,9 +7,9 @@
|
|||||||
# package name fragment
|
# package name fragment
|
||||||
%global pkgname prompt-toolkit
|
%global pkgname prompt-toolkit
|
||||||
|
|
||||||
%global _description \
|
%global common_description %{expand:
|
||||||
prompt_toolkit is a library for building powerful interactive command lines and\
|
prompt_toolkit is a library for building powerful interactive command lines and
|
||||||
terminal applications in Python.
|
terminal applications in Python.}
|
||||||
|
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Source0: %pypi_source
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description %{_description}
|
%description %{common_description}
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-%{pkgname}
|
%package -n python3-%{pkgname}
|
||||||
@ -46,7 +46,7 @@ Provides: python3-prompt_toolkit = %{version}-%{release}
|
|||||||
%{?python_provide:%python_provide python3-%{pkgname}}
|
%{?python_provide:%python_provide python3-%{pkgname}}
|
||||||
|
|
||||||
|
|
||||||
%description -n python3-%{pkgname} %{_description}
|
%description -n python3-%{pkgname} %{common_description}
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
Loading…
Reference in New Issue
Block a user