diff --git a/python-cloudscraper.changes b/python-cloudscraper.changes index 34e07d2..84a4d9c 100644 --- a/python-cloudscraper.changes +++ b/python-cloudscraper.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Jun 17 11:11:34 UTC 2025 - Matej Cepl + +- Refresh sources + +------------------------------------------------------------------- +Mon Jun 16 06:12:17 UTC 2025 - Steve Kowalik + +- Switch to pyroject macros. + ------------------------------------------------------------------- Thu Feb 29 12:33:16 UTC 2024 - Daniel Garcia diff --git a/python-cloudscraper.spec b/python-cloudscraper.spec index e893fe1..1b554f9 100644 --- a/python-cloudscraper.spec +++ b/python-cloudscraper.spec @@ -1,7 +1,7 @@ # # spec file for package python-cloudscraper # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,9 @@ Summary: A Python module to bypass Cloudflare's anti-bot page License: MIT URL: https://github.com/venomous/cloudscraper Source: https://github.com/VeNoMouS/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module Js2Py} @@ -50,10 +52,10 @@ A Python module to bypass Cloudflare's anti-bot page. %autosetup -p1 -n cloudscraper-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -69,6 +71,6 @@ donttest+=" or test_reCaptcha_providers" %doc README.md %license LICENSE %{python_sitelib}/cloudscraper -%{python_sitelib}/cloudscraper-%{version}*-info +%{python_sitelib}/cloudscraper-%{version}.dist-info %changelog