diff --git a/python-uhashring.spec b/python-uhashring.spec index ea55257c4c6dcc638645c3e87028ab6c40dbc2f6..ab63e0919c69db40e7b22a0f4b7dbea7b70423e0 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.3 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/b5/39/1d56c749f455f9a6439492cfa35aa2e34e76a2d3a33718273b665c96eaf2/uhashring-%{version}.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 +python3 -m pip wheel . %install -%py3_install +python3 -m pip install . install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi @@ -75,6 +75,9 @@ pytest %{_docdir}/* %changelog +* Tue Mar 12 2024 wangqiang - 2.3-1 +- Update to 2.3 + * Wed May 18 2022 OpenStack_SIG - 2.1-1 - Upgrade package python3-uhashring to version 2.1 diff --git a/python-uhashring.yaml b/python-uhashring.yaml new file mode 100644 index 0000000000000000000000000000000000000000..18fd869600138393ded3da1bf6913749501fa4a3 --- /dev/null +++ b/python-uhashring.yaml @@ -0,0 +1,4 @@ +version_control: pypi +src_repo: uhashring +tag_prefix: ^v +separator: . 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.3.tar.gz b/uhashring-2.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ed9bb38e973151eb82aa6e6612814c5593a75828 Binary files /dev/null and b/uhashring-2.3.tar.gz differ