forked from pool/python-CacheControl
Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
3ba3dc9b96 | |||
f1a14bccaf | |||
94680e4b26 | |||
0050043f60 | |||
049e12ad02 | |||
3d42a33257 |
@@ -1,13 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Aug 14 12:53:25 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives on SLE-16-based and newer systems only
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jul 8 12:38:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 6 08:53:17 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Tue May 6 08:53:17 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -16,11 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-CacheControl
|
Name: python-CacheControl
|
||||||
Version: 0.14.3
|
Version: 0.14.3
|
||||||
@@ -38,16 +33,11 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-msgpack >= 0.5.2
|
Requires: python-msgpack >= 0.5.2
|
||||||
Requires: python-requests >= 2.16.0
|
Requires: python-requests >= 2.16.0
|
||||||
Recommends: python-filelock >= 3.8.0
|
|
||||||
Provides: python-cachecontrol = %{version}-%{release}
|
Provides: python-cachecontrol = %{version}-%{release}
|
||||||
BuildArch: noarch
|
|
||||||
%if %{with libalternatives}
|
|
||||||
BuildRequires: alts
|
|
||||||
Requires: alts
|
|
||||||
%else
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
Recommends: python-filelock >= 3.8.0
|
||||||
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module CherryPy}
|
BuildRequires: %{python_module CherryPy}
|
||||||
BuildRequires: %{python_module filelock >= 3.8.0}
|
BuildRequires: %{python_module filelock >= 3.8.0}
|
||||||
@@ -80,9 +70,6 @@ requests session object.
|
|||||||
# test_file_cache_recognizes_consumed_file_handle uses httpbin.org directly
|
# test_file_cache_recognizes_consumed_file_handle uses httpbin.org directly
|
||||||
%pytest -v -k 'not test_file_cache_recognizes_consumed_file_handle'
|
%pytest -v -k 'not test_file_cache_recognizes_consumed_file_handle'
|
||||||
|
|
||||||
%pre
|
|
||||||
%python_libalternatives_reset_alternative doesitcache
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative doesitcache
|
%python_install_alternative doesitcache
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user