|
 |
0d5575 |
%global module uhashring
|
|
 |
0d5575 |
|
|
 |
0d5575 |
Name: python-%{module}
|
|
 |
0d5575 |
Version: 2.3
|
|
 |
0d5575 |
Release: 8%{?dist}
|
|
 |
0d5575 |
Summary: Python module uhashring
|
|
 |
0d5575 |
|
|
 |
0d5575 |
License: BSD-3-Clause
|
|
 |
0d5575 |
URL: https://github.com/ultrabug/uhashring/
|
|
 |
0d5575 |
Source: https://github.com/ultrabug/%{module}/archive/refs/tags/%{version}.tar.gz
|
|
 |
0d5575 |
|
|
 |
0d5575 |
BuildArch: noarch
|
|
 |
0d5575 |
BuildRequires: python3-devel
|
|
 |
0d5575 |
# Required to run unit tests
|
|
 |
0d5575 |
BuildRequires: python3-pytest
|
|
 |
0d5575 |
BuildRequires: python3-memcached
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%global _description %{expand:
|
|
 |
0d5575 |
uhashring implements consistent hashing in pure Python.}
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%description %_description
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%package -n python3-%{module}
|
|
 |
0d5575 |
Summary: %{summary}
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%description -n python3-%{module}
|
|
 |
0d5575 |
%_description
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%prep
|
|
 |
0d5575 |
%autosetup -p1 -n %{module}-%{version}
|
|
 |
0d5575 |
|
|
 |
0d5575 |
sed -i 's/ *"black",//g' pyproject.toml
|
|
 |
0d5575 |
sed -i 's/ *"flake8",//g' pyproject.toml
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%generate_buildrequires
|
|
 |
0d5575 |
%pyproject_buildrequires -t
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%build
|
|
 |
0d5575 |
%pyproject_wheel
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%install
|
|
 |
0d5575 |
%pyproject_install
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%pyproject_save_files %{module}
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%check
|
|
 |
0d5575 |
%pytest
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%files -n python3-%{module} -f %{pyproject_files}
|
|
 |
0d5575 |
%doc README.rst
|
|
 |
0d5575 |
%license LICENSE
|
|
 |
0d5575 |
|
|
 |
0d5575 |
%changelog
|
|
 |
0d5575 |
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-8
|
|
 |
0d5575 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
 |
0d5575 |
|
|
 |
0d5575 |
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-7
|
|
 |
0d5575 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
 |
0d5575 |
|
|
 |
0d5575 |
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 2.3-6
|
|
 |
0d5575 |
- Rebuilt for Python 3.13
|
|
 |
0d5575 |
|
|
 |
0d5575 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-5
|
|
 |
0d5575 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
 |
0d5575 |
|
|
 |
0d5575 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-4
|
|
 |
0d5575 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
 |
0d5575 |
|
|
 |
0d5575 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-3
|
|
 |
0d5575 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
 |
0d5575 |
|
|
 |
0d5575 |
* Thu Jul 13 2023 Alfredo Moralejo <amoralej@redhat.com> - 2.3-2
|
|
 |
0d5575 |
- Update to 2.3
|
|
 |
0d5575 |
|
|
 |
0d5575 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
|
|
 |
0d5575 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
0d5575 |
|
|
 |
0d5575 |
* Fri Nov 18 2022 Alfredo Moralejo <amoralej@redhat.com> - 2.1-1
|
|
 |
0d5575 |
- Initial build with version 2.1
|
|
 |
0d5575 |
|