From: @cao-fei8 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2023-01-09 06:28:56 +00:00 committed by Gitee
commit 23b93fe88b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 30 additions and 1 deletions

25
0001-Fix-typo.patch Normal file
View File

@ -0,0 +1,25 @@
From 92ef1421b62cd7edcea8980f717b8758a51ac931 Mon Sep 17 00:00:00 2001
From: Hynek Schlawack <hs@ox.cx>
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 <https://github.com/python-attrs/attrs/issues/671>`_
- ``attr.define()`` et al's hybrid behavior now also works correctly when arguments are passed.
`#675 <https://github.com/python-attrs/attrs/issues/675>`_
--
2.33.0

View File

@ -9,12 +9,13 @@ object protocols. \
Name: python-attrs Name: python-attrs
Summary: Python attributes without boilerplate Summary: Python attributes without boilerplate
Version: 22.1.0 Version: 22.1.0
Release: 2 Release: 3
License: MIT License: MIT
URL: http://www.attrs.org/ URL: http://www.attrs.org/
Source0: https://github.com/hynek/attrs/archive/%{version}/attrs-%{version}.tar.gz Source0: https://github.com/hynek/attrs/archive/%{version}/attrs-%{version}.tar.gz
Patch0: 0001-Update-.gitignore.patch Patch0: 0001-Update-.gitignore.patch
Patch1: 0001-Fix-typo.patch
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
@ -59,6 +60,9 @@ PYTHONPATH=$RPM_BUILD_ROOT/%{python3_sitelib} py.test-3 -v
%doc AUTHORS.rst README.rst %doc AUTHORS.rst README.rst
%changelog %changelog
* Mon Jan 9 2023 caofei <caofei@xfusion.com> - 22.1.0-3
- Fix typo
* Sat Jan 7 2023 caofei <caofei@xfusion.com> - - 22.1.0-2 * Sat Jan 7 2023 caofei <caofei@xfusion.com> - - 22.1.0-2
- Update .gitignore - Update .gitignore