commit python-CacheControl for openSUSE:Factory

2020-06-09 Thread root
Hello community,

here is the log from the commit of package python-CacheControl for 
openSUSE:Factory checked in at 2020-06-10 00:44:44

Comparing /work/SRC/openSUSE:Factory/python-CacheControl (Old)
 and  /work/SRC/openSUSE:Factory/.python-CacheControl.new.3606 (New)


Package is "python-CacheControl"

Wed Jun 10 00:44:44 2020 rev:8 rq:809828 version:0.12.6

Changes:

--- /work/SRC/openSUSE:Factory/python-CacheControl/python-CacheControl.changes  
2020-01-03 17:36:43.467287659 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-CacheControl.new.3606/python-CacheControl.changes
2020-06-10 00:44:49.218395200 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:33 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-CacheControl.spec ++
--- /var/tmp/diff_new_pack.HUa6Ui/_old  2020-06-10 00:44:50.566398565 +0200
+++ /var/tmp/diff_new_pack.HUa6Ui/_new  2020-06-10 00:44:50.570398575 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-CacheControl
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,8 @@
 BuildRequires:  python-rpm-macros
 Requires:   python-msgpack
 Requires:   python-requests
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends: python-lockfile >= 0.9
 Suggests:   python-redis >= 2.10.5
 BuildArch:  noarch
@@ -57,16 +59,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/doesitcache
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 # test_file_cache_recognizes_consumed_file_handle uses httpbin.org directly
 PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_bin_suffix} -v -k 
'not test_file_cache_recognizes_consumed_file_handle'
 
+%post
+%python_install_alternative doesitcache
+
+%postun
+%python_uninstall_alternative doesitcache
+
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst
-%python3_only %{_bindir}/doesitcache
+%python_alternative %{_bindir}/doesitcache
 %{python_sitelib}/*
 
 %changelog




commit python-CacheControl for openSUSE:Factory

2020-01-03 Thread root
Hello community,

here is the log from the commit of package python-CacheControl for 
openSUSE:Factory checked in at 2020-01-03 17:36:41

Comparing /work/SRC/openSUSE:Factory/python-CacheControl (Old)
 and  /work/SRC/openSUSE:Factory/.python-CacheControl.new.6675 (New)


Package is "python-CacheControl"

Fri Jan  3 17:36:41 2020 rev:7 rq:760434 version:0.12.6

Changes:

--- /work/SRC/openSUSE:Factory/python-CacheControl/python-CacheControl.changes  
2019-11-01 15:14:06.804753129 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-CacheControl.new.6675/python-CacheControl.changes
2020-01-03 17:36:43.467287659 +0100
@@ -1,0 +2,12 @@
+Thu Jan  2 11:57:41 UTC 2020 - John Vandenberg 
+
+- Drop merged pytest4.patch
+- Add explanation of one test failure
+- Remove mention of httplib2 from package summary
+- Update to v0.12.6
+  * Test if cache is None before falling back to DictCache
+  * Fixed body in 304 response to etag request
+  * Added check for "*" value in Vary header
+  * Make v4 cache compatible with msgpack 1.0 in the future
+
+---

Old:

  CacheControl-0.12.5.tar.gz
  pytest4.patch

New:

  CacheControl-0.12.6.tar.gz



Other differences:
--
++ python-CacheControl.spec ++
--- /var/tmp/diff_new_pack.DIVV8a/_old  2020-01-03 17:36:44.231288052 +0100
+++ /var/tmp/diff_new_pack.DIVV8a/_new  2020-01-03 17:36:44.235288054 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-CacheControl
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-CacheControl
-Version:0.12.5
+Version:0.12.6
 Release:0
-Summary:httplib2 caching for requests
+Summary:Caching library for Python requests
 License:Apache-2.0
 Group:  Development/Languages/Python
 URL:https://github.com/ionrock/cachecontrol
-Source: 
https://github.com/ionrock/cachecontrol/archive/v0.12.5.tar.gz#/CacheControl-%{version}.tar.gz
-Patch0: pytest4.patch
+Source: 
https://github.com/ionrock/cachecontrol/archive/v%{version}.tar.gz#/CacheControl-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -52,7 +51,6 @@
 
 %prep
 %setup -q -n cachecontrol-%{version}
-%patch0 -p1
 
 %build
 %python_build
@@ -62,8 +60,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# These two failures are possibly bugs needing investigation
-PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_bin_suffix} -v -k 
'not test_file_cache_recognizes_consumed_file_handle and not 
test_etags_get_example'
+# test_file_cache_recognizes_consumed_file_handle uses httpbin.org directly
+PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_bin_suffix} -v -k 
'not test_file_cache_recognizes_consumed_file_handle'
 
 %files %{python_files}
 %license LICENSE.txt

++ CacheControl-0.12.5.tar.gz -> CacheControl-0.12.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cachecontrol-0.12.5/.bumpversion.cfg 
new/cachecontrol-0.12.6/.bumpversion.cfg
--- old/cachecontrol-0.12.5/.bumpversion.cfg2018-06-07 16:53:04.0 
+0200
+++ new/cachecontrol-0.12.6/.bumpversion.cfg2019-12-22 18:43:35.0 
+0100
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 0.12.5
+current_version = 0.12.6
 files = setup.py cachecontrol/__init__.py docs/conf.py
 commit = True
 tag = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cachecontrol-0.12.5/Makefile 
new/cachecontrol-0.12.6/Makefile
--- old/cachecontrol-0.12.5/Makefile2018-06-07 16:53:04.0 +0200
+++ new/cachecontrol-0.12.6/Makefile2019-12-22 18:43:35.0 +0100
@@ -46,10 +46,10 @@
$(VENV)/bin/py.test --cov cachecontrol
 
 release: dist
-   $(VENV)/bin/twine upload dist/CacheControl-*.tar.gz
+   $(VENV)/bin/twine upload dist/*
 
 dist: clean
-   python setup.py sdist
+   python setup.py sdist bdist_wheel
ls -l dist
 
 bump:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cachecontrol-0.12.5/README.rst 
new/cachecontrol-0.12.6/README.rst
--- old/cachecontrol-0.12.5/README.rst  2018-06-07 16:53:04.0 +0200
+++ new/cachecontrol-0.12.6/README.rst  2019-12-22 18:43:35.0 +0100
@@ -13,7 +13,7 @@
 

commit python-CacheControl for openSUSE:Factory

2019-11-01 Thread root
Hello community,

here is the log from the commit of package python-CacheControl for 
openSUSE:Factory checked in at 2019-11-01 15:14:06

Comparing /work/SRC/openSUSE:Factory/python-CacheControl (Old)
 and  /work/SRC/openSUSE:Factory/.python-CacheControl.new.2990 (New)


Package is "python-CacheControl"

Fri Nov  1 15:14:06 2019 rev:6 rq:744702 version:0.12.5

Changes:

--- /work/SRC/openSUSE:Factory/python-CacheControl/python-CacheControl.changes  
2019-09-25 08:10:14.662535467 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-CacheControl.new.2990/python-CacheControl.changes
2019-11-01 15:14:06.804753129 +0100
@@ -1,0 +2,6 @@
+Fri Nov  1 09:31:12 UTC 2019 - Tomáš Chvátal 
+
+- Add patch to work with new pytest:
+  * pytest4.patch
+
+---

New:

  pytest4.patch



Other differences:
--
++ python-CacheControl.spec ++
--- /var/tmp/diff_new_pack.p0yfK0/_old  2019-11-01 15:14:07.512754052 +0100
+++ /var/tmp/diff_new_pack.p0yfK0/_new  2019-11-01 15:14:07.516754057 +0100
@@ -25,6 +25,7 @@
 Group:  Development/Languages/Python
 URL:https://github.com/ionrock/cachecontrol
 Source: 
https://github.com/ionrock/cachecontrol/archive/v0.12.5.tar.gz#/CacheControl-%{version}.tar.gz
+Patch0: pytest4.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -39,7 +40,7 @@
 BuildRequires:  python3-lockfile >= 0.9
 BuildRequires:  python3-mock
 BuildRequires:  python3-msgpack
-BuildRequires:  python3-pytest < 4
+BuildRequires:  python3-pytest
 BuildRequires:  python3-redis >= 2.10.5
 BuildRequires:  python3-requests
 # /SECTION
@@ -51,6 +52,7 @@
 
 %prep
 %setup -q -n cachecontrol-%{version}
+%patch0 -p1
 
 %build
 %python_build

++ pytest4.patch ++
>From 2b886af2a3d0271bf5598ba3917e39395bb8f4b5 Mon Sep 17 00:00:00 2001
From: TheJokr 
Date: Fri, 25 Jan 2019 21:53:53 +0100
Subject: [PATCH] Removed cherrypy.server from pytest namespace

pytest_namespace was removed in pytest version 4.0.
The fixture now points directly to cherrypy.server.
---
 tests/conftest.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/conftest.py b/tests/conftest.py
index f9701cf..c581c0d 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -107,7 +107,7 @@ def __call__(self, env, start_response):
 
 @pytest.fixture(scope="session")
 def server():
-return pytest.server
+return cherrypy.server
 
 
 @pytest.fixture()
@@ -124,7 +124,7 @@ def get_free_port():
 return ip, port
 
 
-def pytest_namespace():
+def pytest_configure(config):
 cherrypy.tree.graft(SimpleApp(), "/")
 
 ip, port = get_free_port()
@@ -136,7 +136,6 @@ def pytest_namespace():
 logger.removeHandler(logger.handlers[0])
 
 cherrypy.server.start()
-return {"server": cherrypy.server}
 
 
 def pytest_unconfigure(config):



commit python-CacheControl for openSUSE:Factory

2019-09-25 Thread root
Hello community,

here is the log from the commit of package python-CacheControl for 
openSUSE:Factory checked in at 2019-09-25 08:10:12

Comparing /work/SRC/openSUSE:Factory/python-CacheControl (Old)
 and  /work/SRC/openSUSE:Factory/.python-CacheControl.new.7948 (New)


Package is "python-CacheControl"

Wed Sep 25 08:10:12 2019 rev:5 rq:732618 version:0.12.5

Changes:

--- /work/SRC/openSUSE:Factory/python-CacheControl/python-CacheControl.changes  
2019-04-05 12:06:57.922580360 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-CacheControl.new.7948/python-CacheControl.changes
2019-09-25 08:10:14.662535467 +0200
@@ -1,0 +2,6 @@
+Wed Sep 18 09:15:22 UTC 2019 - Tomáš Chvátal 
+
+- Restrict pytest to 3.x as newer released do not work with
+  this package
+
+---



Other differences:
--
++ python-CacheControl.spec ++
--- /var/tmp/diff_new_pack.Ob0C3y/_old  2019-09-25 08:10:15.450535356 +0200
+++ /var/tmp/diff_new_pack.Ob0C3y/_new  2019-09-25 08:10:15.450535356 +0200
@@ -39,7 +39,7 @@
 BuildRequires:  python3-lockfile >= 0.9
 BuildRequires:  python3-mock
 BuildRequires:  python3-msgpack
-BuildRequires:  python3-pytest
+BuildRequires:  python3-pytest < 4
 BuildRequires:  python3-redis >= 2.10.5
 BuildRequires:  python3-requests
 # /SECTION




commit python-CacheControl for openSUSE:Factory

2019-04-05 Thread root
Hello community,

here is the log from the commit of package python-CacheControl for 
openSUSE:Factory checked in at 2019-04-05 12:05:27

Comparing /work/SRC/openSUSE:Factory/python-CacheControl (Old)
 and  /work/SRC/openSUSE:Factory/.python-CacheControl.new.3908 (New)


Package is "python-CacheControl"

Fri Apr  5 12:05:27 2019 rev:4 rq:691698 version:0.12.5

Changes:

--- /work/SRC/openSUSE:Factory/python-CacheControl/python-CacheControl.changes  
2019-03-01 16:48:11.81579 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-CacheControl.new.3908/python-CacheControl.changes
2019-04-05 12:06:57.922580360 +0200
@@ -1,0 +2,13 @@
+Fri Apr  5 07:14:44 UTC 2019 - Tomáš Chvátal 
+
+- Run tests only under py3 as CherryPy is available only there
+
+---
+Mon Mar 25 09:46:31 UTC 2019 - John Vandenberg 
+
+- Activate test suite, with two tests currently failing
+- Trim description, removing irrelevant information about httplib2
+- Recommend lockfile, as a lightweight dependency needed for FileCache,
+  which is a primary use of CacheControl.
+
+---



Other differences:
--
++ python-CacheControl.spec ++
--- /var/tmp/diff_new_pack.xUb4Og/_old  2019-04-05 12:06:58.582580614 +0200
+++ /var/tmp/diff_new_pack.xUb4Og/_new  2019-04-05 12:06:58.582580614 +0200
@@ -24,31 +24,33 @@
 License:Apache-2.0
 Group:  Development/Languages/Python
 URL:https://github.com/ionrock/cachecontrol
-Source: 
https://files.pythonhosted.org/packages/source/C/CacheControl/CacheControl-%{version}.tar.gz
+Source: 
https://github.com/ionrock/cachecontrol/archive/v0.12.5.tar.gz#/CacheControl-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-msgpack-python
+Requires:   python-msgpack
 Requires:   python-requests
-Suggests:   python-lockfile >= 0.9
+Recommends: python-lockfile >= 0.9
 Suggests:   python-redis >= 2.10.5
 BuildArch:  noarch
 # SECTION test requirements
-BuildRequires:  %{python_module msgpack-python}
-BuildRequires:  %{python_module requests}
+## cherrypy is python3 only from 18.x series
+BuildRequires:  python3-CherryPy
+BuildRequires:  python3-lockfile >= 0.9
+BuildRequires:  python3-mock
+BuildRequires:  python3-msgpack
+BuildRequires:  python3-pytest
+BuildRequires:  python3-redis >= 2.10.5
+BuildRequires:  python3-requests
 # /SECTION
 %python_subpackages
 
 %description
-CacheControl is a port of the caching algorithms in httplib2_ for use with
-requests_ session object.
-
-It was written because httplib2's better support for caching is often
-mitigated by its lack of threadsafety. The same is true of requests in
-terms of caching.
+CacheControl is a port of the caching algorithms in httplib2 for use with
+requests session object.
 
 %prep
-%setup -q -n CacheControl-%{version}
+%setup -q -n cachecontrol-%{version}
 
 %build
 %python_build
@@ -57,6 +59,10 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+# These two failures are possibly bugs needing investigation
+PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_bin_suffix} -v -k 
'not test_file_cache_recognizes_consumed_file_handle and not 
test_etags_get_example'
+
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst

++ CacheControl-0.12.5.tar.gz ++
 3016 lines of diff (skipped)




commit python-CacheControl for openSUSE:Factory

2019-03-01 Thread root
Hello community,

here is the log from the commit of package python-CacheControl for 
openSUSE:Factory checked in at 2019-03-01 16:48:07

Comparing /work/SRC/openSUSE:Factory/python-CacheControl (Old)
 and  /work/SRC/openSUSE:Factory/.python-CacheControl.new.28833 (New)


Package is "python-CacheControl"

Fri Mar  1 16:48:07 2019 rev:3 rq:680057 version:0.12.5

Changes:

--- /work/SRC/openSUSE:Factory/python-CacheControl/python-CacheControl.changes  
2018-12-13 19:40:51.313280026 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-CacheControl.new.28833/python-CacheControl.changes
   2019-03-01 16:48:11.81579 +0100
@@ -1,0 +2,7 @@
+Thu Feb 28 09:10:36 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.12.5:
+  * various test fixes
+  * few crasher fixes
+
+---

Old:

  CacheControl-0.12.4.tar.gz

New:

  CacheControl-0.12.5.tar.gz



Other differences:
--
++ python-CacheControl.spec ++
--- /var/tmp/diff_new_pack.YIO2FP/_old  2019-03-01 16:48:12.381781351 +0100
+++ /var/tmp/diff_new_pack.YIO2FP/_new  2019-03-01 16:48:12.385781349 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-CacheControl
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-CacheControl
-Version:0.12.4
+Version:0.12.5
 Release:0
 Summary:httplib2 caching for requests
 License:Apache-2.0

++ CacheControl-0.12.4.tar.gz -> CacheControl-0.12.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CacheControl-0.12.4/CacheControl.egg-info/PKG-INFO 
new/CacheControl-0.12.5/CacheControl.egg-info/PKG-INFO
--- old/CacheControl-0.12.4/CacheControl.egg-info/PKG-INFO  2018-01-27 
07:24:39.0 +0100
+++ new/CacheControl-0.12.5/CacheControl.egg-info/PKG-INFO  2018-06-07 
16:53:12.0 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: CacheControl
-Version: 0.12.4
+Version: 0.12.5
 Summary: httplib2 caching for requests
 Home-page: https://github.com/ionrock/cachecontrol
 Author: Eric Larson
@@ -56,10 +56,11 @@
 Classifier: Environment :: Web Environment
 Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.2
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Topic :: Internet :: WWW/HTTP
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CacheControl-0.12.4/CacheControl.egg-info/requires.txt 
new/CacheControl-0.12.5/CacheControl.egg-info/requires.txt
--- old/CacheControl-0.12.4/CacheControl.egg-info/requires.txt  2018-01-27 
07:24:39.0 +0100
+++ new/CacheControl-0.12.5/CacheControl.egg-info/requires.txt  2018-06-07 
16:53:12.0 +0200
@@ -1,5 +1,5 @@
 requests
-msgpack-python
+msgpack
 
 [filecache]
 lockfile>=0.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CacheControl-0.12.4/PKG-INFO 
new/CacheControl-0.12.5/PKG-INFO
--- old/CacheControl-0.12.4/PKG-INFO2018-01-27 07:24:39.0 +0100
+++ new/CacheControl-0.12.5/PKG-INFO2018-06-07 16:53:12.0 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: CacheControl
-Version: 0.12.4
+Version: 0.12.5
 Summary: httplib2 caching for requests
 Home-page: https://github.com/ionrock/cachecontrol
 Author: Eric Larson
@@ -56,10 +56,11 @@
 Classifier: Environment :: Web Environment
 Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.2
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
+Classifier: 

commit python-CacheControl for openSUSE:Factory

2018-12-13 Thread root
Hello community,

here is the log from the commit of package python-CacheControl for 
openSUSE:Factory checked in at 2018-12-13 19:40:34

Comparing /work/SRC/openSUSE:Factory/python-CacheControl (Old)
 and  /work/SRC/openSUSE:Factory/.python-CacheControl.new.28833 (New)


Package is "python-CacheControl"

Thu Dec 13 19:40:34 2018 rev:2 rq:653957 version:0.12.4

Changes:

--- /work/SRC/openSUSE:Factory/python-CacheControl/python-CacheControl.changes  
2018-03-28 10:29:24.729294851 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-CacheControl.new.28833/python-CacheControl.changes
   2018-12-13 19:40:38.125294062 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:46:22 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-CacheControl.spec ++
--- /var/tmp/diff_new_pack.pVN3Ts/_old  2018-12-13 19:40:38.853293287 +0100
+++ /var/tmp/diff_new_pack.pVN3Ts/_new  2018-12-13 19:40:38.857293283 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,22 +23,20 @@
 Summary:httplib2 caching for requests
 License:Apache-2.0
 Group:  Development/Languages/Python
-Url:https://github.com/ionrock/cachecontrol
+URL:https://github.com/ionrock/cachecontrol
 Source: 
https://files.pythonhosted.org/packages/source/C/CacheControl/CacheControl-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  python-rpm-macros
-# SECTION test requirements
-BuildRequires:  %{python_module msgpack-python}
-BuildRequires:  %{python_module requests}
-# /SECTION
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:   python-msgpack-python
 Requires:   python-requests
 Suggests:   python-lockfile >= 0.9
 Suggests:   python-redis >= 2.10.5
 BuildArch:  noarch
-
+# SECTION test requirements
+BuildRequires:  %{python_module msgpack-python}
+BuildRequires:  %{python_module requests}
+# /SECTION
 %python_subpackages
 
 %description
@@ -60,7 +58,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
-%doc LICENSE.txt README.rst
+%license LICENSE.txt
+%doc README.rst
 %python3_only %{_bindir}/doesitcache
 %{python_sitelib}/*