diff --git a/22.2.0.tar.gz b/22.2.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2092fbdd55475120c51e199502ae5a42d234ad48 Binary files /dev/null and b/22.2.0.tar.gz differ diff --git a/attrs-21.4.0.tar.gz b/attrs-21.4.0.tar.gz deleted file mode 100644 index 9d57f4a652328cbb6c5a4fba665c78c0601b87c7..0000000000000000000000000000000000000000 Binary files a/attrs-21.4.0.tar.gz and /dev/null differ diff --git a/python-attrs.spec b/python-attrs.spec index 7399dfb539cafcc883a3cc9f38896c4456e4dca3..fb3226d67c8eb21f5793c4c208060a77502a6c9b 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -5,17 +5,16 @@ %bcond_without tests Name: python-attrs -Version: 21.4.0 -Release: %{anolis_release}%{dist} +Version: 22.2.0 +Release: %{anolis_release}%{dist} Summary: Python attributes without boilerplate License: MIT URL: http://www.attrs.org/ BuildArch: noarch -Source0: https://github.com/hynek/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz +Source0: https://github.com/%{name}/%{modname}/archive/refs/tags/%{version}.tar.gz BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools %if %{with tests} BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-hypothesis @@ -40,11 +39,15 @@ object protocols. %prep %setup -q -n %{modname}-%{version} +%generate_buildrequires +%pyproject_buildrequires + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files %{modname} %if %{with tests} %check @@ -53,9 +56,11 @@ PYTHONPATH=%{buildroot}/%{python3_sitelib} py.test-3 -v %files -n python%{python3_pkgversion}-%{modname} %license LICENSE -%doc AUTHORS.rst README.rst %{python3_sitelib}/* %changelog -* Mon Apr 18 2022 Zhongling He 21.4.0-1 +* Fri Dec 30 2022 mgb01105731 - 22.2.0-1 +- update to version 22.2.0 + +* Mon Apr 18 2022 Zhongling He - 21.4.0-1 - Init package from upstream v21.4.0