diff --git a/python-uhashring.spec b/python-uhashring.spec index ea55257c4c6dcc638645c3e87028ab6c40dbc2f6..30f81485c75ea1b9037bbdd5abe6e7467d624da1 100644 --- a/python-uhashring.spec +++ b/python-uhashring.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-uhashring -Version: 2.1 +Version: 2.2 Release: 1 Summary: Full featured consistent hashing python library compatible with ketama. License: BSD URL: https://github.com/ultrabug/uhashring -Source0: https://files.pythonhosted.org/packages/b5/39/1d56c749f455f9a6439492cfa35aa2e34e76a2d3a33718273b665c96eaf2/uhashring-2.1.tar.gz +Source0: https://files.pythonhosted.org/packages/e3/ff/e42d593c7216048ec0bcd51c9118043f6407390afdc59a3c40af2de93a4b/uhashring-2.2.tar.gz BuildArch: noarch %description uhashring implements consistent hashing in pure Python. @@ -34,10 +34,10 @@ uhashring implements consistent hashing in pure Python. %autosetup -n uhashring-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi @@ -75,6 +75,11 @@ pytest %{_docdir}/* %changelog +* Tue Jul 30 2024 muxiaohui - 2.2-1 +- Update package to version 2.2 +- drop support of EOL python 3.6 +- fix test_distribution to be deterministic + * Wed May 18 2022 OpenStack_SIG - 2.1-1 - Upgrade package python3-uhashring to version 2.1 diff --git a/uhashring-2.1.tar.gz b/uhashring-2.1.tar.gz deleted file mode 100644 index 86f7c6d237260fe2b2ee8e12773e2d07dbf1d6ff..0000000000000000000000000000000000000000 Binary files a/uhashring-2.1.tar.gz and /dev/null differ diff --git a/uhashring-2.2.tar.gz b/uhashring-2.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f5cea77f88e011d2177a5591202882d1a9a68d49 Binary files /dev/null and b/uhashring-2.2.tar.gz differ