From 6793d0e652473765ba6d426b2f009c2bfe9db7ac00183358946c42be3d7fdc50 Mon Sep 17 00:00:00 2001 From: Mia Herkt <9+suse@cirno.systems> Date: Wed, 31 Jan 2018 19:13:14 +0000 Subject: [PATCH] - 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 --- LICENSE | 21 +++++++++++++++++++++ cfscrape-1.9.1.tar.gz | 3 --- cfscrape-1.9.2.tar.gz | 3 +++ python-cfscrape.changes | 8 ++++++++ python-cfscrape.spec | 7 +++++-- 5 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 LICENSE delete mode 100644 cfscrape-1.9.1.tar.gz create mode 100644 cfscrape-1.9.2.tar.gz diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..bfd018f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Anorov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/cfscrape-1.9.1.tar.gz b/cfscrape-1.9.1.tar.gz deleted file mode 100644 index 7949311..0000000 --- a/cfscrape-1.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9cee3708c643904eaa010a64dd1715890457bb77010d87405fc1bfeb892508d7 -size 3568 diff --git a/cfscrape-1.9.2.tar.gz b/cfscrape-1.9.2.tar.gz new file mode 100644 index 0000000..205d4b8 --- /dev/null +++ b/cfscrape-1.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a10883f9424c7edd27f419209acca9d5af461fbf93e3cb7dfe7188722d3c8d52 +size 3581 diff --git a/python-cfscrape.changes b/python-cfscrape.changes index 19e2731..b9102ad 100644 --- a/python-cfscrape.changes +++ b/python-cfscrape.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jan 31 19:09:03 UTC 2018 - 9+suse@cirno.systems + +- Update to 1.9.2 + * Add __version__ to __init__.py +- Include LICENSE from Git tag for now (not part of PyPI package) + Reported upstream + ------------------------------------------------------------------- Thu Jan 11 11:19:00 UTC 2018 - 9@cirno.systems diff --git a/python-cfscrape.spec b/python-cfscrape.spec index ca1413b..e06b2fa 100644 --- a/python-cfscrape.spec +++ b/python-cfscrape.spec @@ -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