From ae6db236ae08f373f335c8a13d467d8eb699ee29 Mon Sep 17 00:00:00 2001 From: Carl George Date: Tue, 16 Apr 2019 11:37:20 -0500 Subject: [PATCH] Rename _description to common_description --- python-prompt-toolkit.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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