15
0

- Update to 1.9.3

* Add LICENSE and README.md to source distribution
- Remove Git LICENSE source
- Add README.md to doc files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cfscrape?expand=0&rev=3
This commit is contained in:
Mia Herkt
2018-01-31 19:34:56 +00:00
committed by Git OBS Bridge
parent 6793d0e652
commit 778d499827
5 changed files with 13 additions and 27 deletions

View File

@@ -18,14 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cfscrape
Version: 1.9.2
Version: 1.9.3
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
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
@@ -56,7 +55,6 @@ is much more common.
%prep
%setup -q -n cfscrape-%{version}
cp %{SOURCE2} .
%build
%python_build
@@ -67,6 +65,7 @@ cp %{SOURCE2} .
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/*
%changelog