diff --git a/Fix-long-description.patch b/Fix-long-description.patch new file mode 100644 index 0000000000000000000000000000000000000000..1e6af8714ba5728a6639ed7b06a32e89ae45a587 --- /dev/null +++ b/Fix-long-description.patch @@ -0,0 +1,28 @@ +From 108c792ec8e8b6446e835b33a39f416b2cd1734d Mon Sep 17 00:00:00 2001 +From: Hynek Schlawack +Date: Fri, 20 Nov 2020 10:13:38 +0100 +Subject: [PATCH] Fix long description + +--- + setup.py | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 64af96e..51f4178 100644 +--- a/setup.py ++++ b/setup.py +@@ -87,7 +87,10 @@ def find_meta(meta): + VERSION = find_meta("version") + URL = find_meta("url") + LONG = ( +- read("README.rst") ++ "======================================\n" ++ "``attrs``: Classes Without Boilerplate\n" ++ "======================================\n" ++ + read("README.rst").split(".. teaser-begin")[1] + + "\n\n" + + "Release Information\n" + + "===================\n\n" +-- +2.27.0 + diff --git a/python-attrs.spec b/python-attrs.spec index b93d7a968df0b5edf5e967855abe7aa95b19d38b..84cd6e7c14e457a3b665376a29834b24e61a8285 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -10,10 +10,11 @@ object protocols. \ Name: python-attrs Summary: Python attributes without boilerplate Version: 20.3.0 -Release: 1 +Release: 2 License: MIT URL: http://www.attrs.org/ Source0: https://github.com/hynek/attrs/archive/%{version}/attrs-%{version}.tar.gz +Patch0: Fix-long-description.patch BuildRequires: python2-devel python%{python3_pkgversion}-setuptools BuildRequires: python2-setuptools python%{python3_pkgversion}-devel @@ -72,6 +73,9 @@ PYTHONPATH=$RPM_BUILD_ROOT/%{python3_sitelib} py.test-3 -v %doc AUTHORS.rst README.rst %changelog +* Wed Dec 27 2023 fandehui - 20.3.0-2 +- Fix long description + * Mon Aug 16 2021 liyanan - 20.3.0-1 - update to 20.3.0