diff --git a/0001-Fix-typo.patch b/0001-Fix-typo.patch new file mode 100644 index 0000000000000000000000000000000000000000..ab0d1fbc5ff92221da51c651cc2d5fa7f6c89eed --- /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 19951531148b49bed7ba2d14a8b99750241ea303..06d2c6d12e356b27f809970787ead884b63d88dd 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