Avoid repeating the description and summary in the spec file
This commit is contained in:
parent
2576895d42
commit
a0d6c98192
@ -10,23 +10,20 @@ URL: https://github.com/boto/boto3
|
|||||||
Source: %{pypi_source %{pypi_name}}
|
Source: %{pypi_source %{pypi_name}}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%global _description %{expand:
|
||||||
Boto3 is the Amazon Web Services (AWS) Software Development
|
Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for
|
||||||
Kit (SDK) for Python, which allows Python developers to
|
Python, which allows Python developers to write software that makes use of
|
||||||
write software that makes use of services like Amazon S3
|
services like Amazon S3 and Amazon EC2.}
|
||||||
and Amazon EC2.
|
|
||||||
|
%description %{_description}
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python3-%{pypi_name}
|
||||||
Summary: The AWS SDK for Python
|
Summary: %{summary}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||||
|
|
||||||
%description -n python3-%{pypi_name}
|
%description -n python3-%{pypi_name} %{_description}
|
||||||
Boto3 is the Amazon Web Services (AWS) Software Development
|
|
||||||
Kit (SDK) for Python, which allows Python developers to
|
|
||||||
write software that makes use of services like Amazon S3
|
|
||||||
and Amazon EC2.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pypi_name}-%{version}
|
%setup -q -n %{pypi_name}-%{version}
|
||||||
@ -50,6 +47,7 @@ rm -rf tests/integration
|
|||||||
* Wed Jan 03 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 1.34.11-2
|
* Wed Jan 03 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 1.34.11-2
|
||||||
- Do not number the sole Source
|
- Do not number the sole Source
|
||||||
- Do not use the deprecated zero-argument form of %%pypi_source
|
- Do not use the deprecated zero-argument form of %%pypi_source
|
||||||
|
- Avoid repeating the description and summary in the spec file
|
||||||
|
|
||||||
* Tue Jan 02 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.34.11-1
|
* Tue Jan 02 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.34.11-1
|
||||||
- 1.34.11
|
- 1.34.11
|
||||||
|
Loading…
Reference in New Issue
Block a user