From aab4c955b4cb2b16c166c9c76b1250a386131357 Mon Sep 17 00:00:00 2001 From: cao-fei8 Date: Sat, 7 Jan 2023 14:26:02 +0800 Subject: [PATCH 1/2] Fix typo Signed-off-by: cao-fei8 --- 0001-Fix-typo.patch | 25 +++++++++++++++++++++++++ python-attrs.spec | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0001-Fix-typo.patch diff --git a/0001-Fix-typo.patch b/0001-Fix-typo.patch new file mode 100644 index 0000000..ab0d1fb --- /dev/null +++ b/0001-Fix-typo.patch @@ -0,0 +1,25 @@ +From 92ef1421b62cd7edcea8980f717b8758a51ac931 Mon Sep 17 00:00:00 2001 +From: Hynek Schlawack +Date: Thu, 11 Aug 2022 07:11:18 +0200 +Subject: [PATCH] Fix typo + +--- + CHANGELOG.rst | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CHANGELOG.rst b/CHANGELOG.rst +index c61aeb5..6a8d02f 100644 +--- a/CHANGELOG.rst ++++ b/CHANGELOG.rst +@@ -312,7 +312,7 @@ Backward-incompatible Changes + Changes + ^^^^^^^ + +-- ``attr.define()`` et al now correct detect ``__eq__`` and ``__ne__``. ++- ``attr.define()`` et al now correctly detect ``__eq__`` and ``__ne__``. + `#671 `_ + - ``attr.define()`` et al's hybrid behavior now also works correctly when arguments are passed. + `#675 `_ +-- +2.33.0 + diff --git a/python-attrs.spec b/python-attrs.spec index 1995153..06d2c6d 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -9,12 +9,13 @@ object protocols. \ Name: python-attrs Summary: Python attributes without boilerplate Version: 22.1.0 -Release: 2 +Release: 3 License: MIT URL: http://www.attrs.org/ Source0: https://github.com/hynek/attrs/archive/%{version}/attrs-%{version}.tar.gz Patch0: 0001-Update-.gitignore.patch +Patch1: 0001-Fix-typo.patch BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-devel @@ -59,6 +60,9 @@ PYTHONPATH=$RPM_BUILD_ROOT/%{python3_sitelib} py.test-3 -v %doc AUTHORS.rst README.rst %changelog +* Mon Jan 9 2023 caofei - 22.1.0-3 +- Fix typo + * Sat Jan 7 2023 caofei - - 22.1.0-2 - Update .gitignore -- Gitee From 2a133177001bce8b44be0364de2454bb95046fc6 Mon Sep 17 00:00:00 2001 From: cao-fei8 Date: Sat, 7 Jan 2023 15:06:05 +0800 Subject: [PATCH 2/2] fix markup Signed-off-by: cao-fei8 --- 0001-fix-markup.patch | 25 +++++++++++++++++++++++++ python-attrs.spec | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0001-fix-markup.patch diff --git a/0001-fix-markup.patch b/0001-fix-markup.patch new file mode 100644 index 0000000..3688c69 --- /dev/null +++ b/0001-fix-markup.patch @@ -0,0 +1,25 @@ +From c9cb0ffd2382fbceb13211065a741af81a7d357f Mon Sep 17 00:00:00 2001 +From: Hynek Schlawack +Date: Mon, 22 Aug 2022 16:16:56 +0200 +Subject: [PATCH] fix markup + +--- + README.rst | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/README.rst b/README.rst +index 84a3d48..bb692d6 100644 +--- a/README.rst ++++ b/README.rst +@@ -112,7 +112,7 @@ Project Information + - **Documentation**: https://www.attrs.org/ + - **Changelog**: https://www.attrs.org/en/stable/changelog.html + - **Get Help**: please use the ``python-attrs`` tag on `StackOverflow `_ +-- **Contributing**: `_ ++- **Contributing**: https://github.com/python-attrs/attrs/blob/main/.github/CONTRIBUTING.md + - **Third-party Extensions**: https://github.com/python-attrs/attrs/wiki/Extensions-to-attrs + - **Supported Python Versions**: 3.6 and later (last 2.7-compatible release is `21.4.0 `_) + +-- +2.33.0 + diff --git a/python-attrs.spec b/python-attrs.spec index 06d2c6d..a5abdf0 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -9,13 +9,14 @@ object protocols. \ Name: python-attrs Summary: Python attributes without boilerplate Version: 22.1.0 -Release: 3 +Release: 4 License: MIT URL: http://www.attrs.org/ Source0: https://github.com/hynek/attrs/archive/%{version}/attrs-%{version}.tar.gz Patch0: 0001-Update-.gitignore.patch Patch1: 0001-Fix-typo.patch +Patch2: 0001-fix-markup.patch BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-devel @@ -60,6 +61,9 @@ PYTHONPATH=$RPM_BUILD_ROOT/%{python3_sitelib} py.test-3 -v %doc AUTHORS.rst README.rst %changelog +* Mon Jan 9 2023 caofei - 22.1.0-4 +- fix markup + * Mon Jan 9 2023 caofei - 22.1.0-3 - Fix typo -- Gitee