Blame SPECS/python-uhashring.spec

rdobuilder 0c405f
%global module uhashring
rdobuilder 0c405f
rdobuilder 0c405f
Name:           python-%{module}
rdobuilder 0c405f
Version:        2.1
rdobuilder 0c405f
Release:        1%{?dist}
rdobuilder 0c405f
Summary:        Python module uhashring
rdobuilder 0c405f
rdobuilder 0c405f
License:        BSD-3-Clause
rdobuilder 0c405f
URL:            https://github.com/ultrabug/uhashring/
rdobuilder 0c405f
Source:         https://github.com/ultrabug/%{module}/archive/refs/tags/%{version}.tar.gz
rdobuilder 0c405f
rdobuilder 0c405f
BuildArch:      noarch
rdobuilder 0c405f
BuildRequires:  python3-devel
rdobuilder 0c405f
BuildRequires:  pyproject-rpm-macros
rdobuilder 0c405f
rdobuilder 0c405f
%global _description %{expand:
rdobuilder 0c405f
uhashring implements consistent hashing in pure Python.}
rdobuilder 0c405f
rdobuilder 0c405f
%description %_description
rdobuilder 0c405f
rdobuilder 0c405f
%package -n python3-%{module}
rdobuilder 0c405f
Summary:        %{summary}
rdobuilder 0c405f
rdobuilder 0c405f
%description -n python3-%{module}
rdobuilder 0c405f
%_description
rdobuilder 0c405f
rdobuilder 0c405f
%prep
rdobuilder 0c405f
%autosetup -p1 -n %{module}-%{version}
rdobuilder 0c405f
rdobuilder 0c405f
%generate_buildrequires
rdobuilder 0c405f
%pyproject_buildrequires -t
rdobuilder 0c405f
rdobuilder 0c405f
%build
rdobuilder 0c405f
%pyproject_wheel
rdobuilder 0c405f
rdobuilder 0c405f
%install
rdobuilder 0c405f
%pyproject_install
rdobuilder 0c405f
rdobuilder 0c405f
%pyproject_save_files %{module}
rdobuilder 0c405f
rdobuilder 0c405f
%check
rdobuilder 0c405f
%pytest
rdobuilder 0c405f
rdobuilder 0c405f
%files -n python3-%{module} -f %{pyproject_files}
rdobuilder 0c405f
%doc README.rst
rdobuilder 0c405f
%license LICENSE
rdobuilder 0c405f
rdobuilder 0c405f
%changelog
rdobuilder 0c405f
* Fri Nov 18 2022 Alfredo Moralejo <amoralej@redhat.com> - 2.1-1
rdobuilder 0c405f
- Initial build with version 2.1 
rdobuilder 0c405f