diff --git a/python-wrapt.spec b/python-wrapt.spec index 43b5619..2126fa0 100644 --- a/python-wrapt.spec +++ b/python-wrapt.spec @@ -14,13 +14,18 @@ BuildRequires: gcc BuildRequires: python3-devel BuildRequires: python3-setuptools -%global _description\ -The aim of the wrapt module is to provide a transparent object proxy\ -for Python, which can be used as the basis for the construction of\ -function wrappers and decorator functions. +%global _description %{expand: +The aim of the wrapt module is to provide a transparent object proxy for +Python, which can be used as the basis for the construction of function +wrappers and decorator functions.} %description %_description +%package -n python3-wrapt +Summary: %{summary} + +%description -n python3-wrapt %_description + %if %{with docs} %package doc Summary: Documentation for the wrapt module @@ -29,17 +34,9 @@ BuildRequires: python3-sphinx BuildRequires: python3-sphinx_rtd_theme %description doc -Documentation for the wrapt module +%{summary}. %endif -%package -n python3-wrapt -Summary: A Python module for decorators, wrappers and monkey patching - -%description -n python3-wrapt -The aim of the wrapt module is to provide a transparent object proxy -for Python, which can be used as the basis for the construction of -function wrappers and decorator functions. - %prep %setup -q -n wrapt-%{version}