diff --git a/python-drgn.spec b/python-drgn.spec index a180572..24dfe11 100644 --- a/python-drgn.spec +++ b/python-drgn.spec @@ -8,7 +8,7 @@ %global pypi_name drgn -%global common_description %{expand: +%global _description %{expand: drgn (pronounced "dragon") is a debugger with an emphasis on programmability. drgn exposes the types and variables in a program for easy, expressive scripting in Python.} @@ -42,14 +42,12 @@ BuildRequires: libkdumpfile-devel BuildRequires: zlib-devel BuildRequires: xz-devel -%description -%{common_description} +%description %{_description} %package -n %{pypi_name} Summary: %{summary} -%description -n %{pypi_name} -%{common_description} +%description -n %{pypi_name} %{_description} %if %{with docs} %package -n %{pypi_name}-doc @@ -57,8 +55,9 @@ Summary: %{pypi_name} documentation BuildArch: noarch Requires: python3-docs -%description -n %{pypi_name}-doc -Documentation for %{pypi_name}. +%description -n %{pypi_name}-doc %{_description} + +This package contains additional documentation for %{pypi_name}. %endif %prep