relax version requirement for pyrate-limiter [release 0.10.0-2mamba;Wed Feb 21 2024]

This commit is contained in:
Silvan Calarco 2024-02-23 15:56:58 +01:00
parent 6b7c115813
commit 70253fd14d

View File

@ -1,7 +1,7 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-moddb
Version: 0.9.0
Release: 1mamba
Version: 0.10.0
Release: 2mamba
Summary: A scrapper for ModDB Mod and Game pages
Group: System/Libraries
Vendor: openmamba
@ -11,11 +11,11 @@ URL: https://github.com/ClementJ18/moddb
Source: https://pypi.debian.net/moddb/moddb-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython310-devel
BuildRequires: python3.10dist(beautifulsoup4)
BuildRequires: python3.10dist(pyrate-limiter)
BuildRequires: python3.10dist(requests)
BuildRequires: python3.10dist(toolz)
BuildRequires: (python3.11dist(beautifulsoup4) >= 4 with python3.11dist(beautifulsoup4) < 5)
BuildRequires: (python3.11dist(requests) >= 2 with python3.11dist(requests) < 3)
BuildRequires: (python3.11dist(toolz) >= 0 with python3.11dist(toolz) < 1)
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(pyrate-limiter)
## AUTOBUILDREQ-END
%description
@ -27,9 +27,7 @@ BuildRequires: python3.10dist(toolz)
%prep
%setup -q -n moddb-%{version}
sed -i "s|beautifulsoup4 ==|beautifulsoup4 >=|" setup.py
sed -i "s|toolz ==|toolz >=|" setup.py
sed -i "s|pyrate-limiter==|pyrate-limiter>=|" setup.py
sed -i "s|pyrate-limiter == 2.*|pyrate-limiter >= 2|" requirements.txt
%build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
@ -54,6 +52,12 @@ CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%doc LICENSE
%changelog
* Wed Feb 21 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.0-2mamba
- relax version requirement for pyrate-limiter
* Tue Feb 13 2024 Automatic Build System <autodist@openmamba.org> 0.10.0-1mamba
- automatic version update by autodist
* Sat Aug 26 2023 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
- automatic version update by autodist