diff --git a/python-prompt-toolkit.spec b/python-prompt-toolkit.spec index e9a04ba..a63d22b 100644 --- a/python-prompt-toolkit.spec +++ b/python-prompt-toolkit.spec @@ -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