Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=4
This commit is contained in:
parent
5c70112032
commit
d1e0f94388
@ -23,21 +23,20 @@ Release: 0
|
|||||||
Summary: httplib2 caching for requests
|
Summary: httplib2 caching for requests
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/C/CacheControl/CacheControl-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
# SECTION test requirements
|
|
||||||
BuildRequires: %{python_module msgpack-python}
|
|
||||||
BuildRequires: %{python_module requests}
|
|
||||||
# /SECTION
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-msgpack-python
|
Requires: python-msgpack-python
|
||||||
Requires: python-requests
|
Requires: python-requests
|
||||||
Suggests: python-lockfile >= 0.9
|
Suggests: python-lockfile >= 0.9
|
||||||
Suggests: python-redis >= 2.10.5
|
Suggests: python-redis >= 2.10.5
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module msgpack-python}
|
||||||
|
BuildRequires: %{python_module requests}
|
||||||
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -59,7 +58,8 @@ terms of caching.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc LICENSE.txt README.rst
|
%license LICENSE.txt
|
||||||
|
%doc README.rst
|
||||||
%python3_only %{_bindir}/doesitcache
|
%python3_only %{_bindir}/doesitcache
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user