forked from pool/python-cfscrape
- Update to 1.9.2
* Add __version__ to __init__.py - Include LICENSE from Git tag for now (not part of PyPI package) Reported upstream OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cfscrape?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
42148e0749
commit
6793d0e652
@@ -18,13 +18,14 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-cfscrape
|
||||
Version: 1.9.1
|
||||
Version: 1.9.2
|
||||
Release: 0
|
||||
Summary: Python module to bypass Cloudflare's anti-bot page
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/Anorov/cloudflare-scrape
|
||||
Url: https://github.com/Anorov/cloudflare-scrape
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cfscrape/cfscrape-%{version}.tar.gz
|
||||
Source2: https://github.com/Anorov/cloudflare-scrape/raw/%{version}/LICENSE
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -55,6 +56,7 @@ is much more common.
|
||||
|
||||
%prep
|
||||
%setup -q -n cfscrape-%{version}
|
||||
cp %{SOURCE2} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -64,6 +66,7 @@ is much more common.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user