Update descriptions

This commit is contained in:
Davide Cavalca 2021-08-12 14:53:50 -07:00
parent 126ea63848
commit fb29a14912

View File

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