!17 Update package to version 4.6.0
From: @lingjuer Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
4a9e4635f2
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-redis
|
Name: python-redis
|
||||||
Version: 4.5.5
|
Version: 4.6.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Python client for Redis key-value store
|
Summary: Python client for Redis key-value store
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/redis/redis-py
|
URL: https://github.com/redis/redis-py
|
||||||
Source0: https://github.com/redis/redis-py/archive/v%{version}/redis-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/73/88/63d802c2b18dd9eaa5b846cbf18917c6b2882f20efda398cc16a7500b02c/redis-4.6.0.tar.gz
|
||||||
Source1: redis.conf
|
Source1: redis.conf
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
@ -22,6 +22,9 @@ BuildRequires: python3-pytest
|
|||||||
BuildRequires: python3-pytest-asyncio
|
BuildRequires: python3-pytest-asyncio
|
||||||
BuildRequires: python3-mock
|
BuildRequires: python3-mock
|
||||||
BuildRequires: redis
|
BuildRequires: redis
|
||||||
|
Requires: python3-async-timeout
|
||||||
|
Requires: python3-importlib-metadata
|
||||||
|
Requires: python3-typing-extensions
|
||||||
%description -n python3-redis
|
%description -n python3-redis
|
||||||
The Python interface to the Redis key-value store.
|
The Python interface to the Redis key-value store.
|
||||||
|
|
||||||
@ -32,7 +35,7 @@ Provides: python3-redis-doc
|
|||||||
The Python interface to the Redis key-value store.
|
The Python interface to the Redis key-value store.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n redis-py-%{version}
|
%autosetup -n redis-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -45,6 +48,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
|
||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
if [ -d usr/lib ]; then
|
if [ -d usr/lib ]; then
|
||||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
@ -81,7 +87,9 @@ PYTEST_XDIST_AUTO_NUM_WORKERS=%{_smp_build_ncpus}} \
|
|||||||
/usr/bin/pytest -m 'onlynoncluster and not ssl and not redismod' \
|
/usr/bin/pytest -m 'onlynoncluster and not ssl and not redismod' \
|
||||||
--ignore "tests/test_credentials.py" \
|
--ignore "tests/test_credentials.py" \
|
||||||
--ignore "tests/test_asyncio/test_credentials.py" \
|
--ignore "tests/test_asyncio/test_credentials.py" \
|
||||||
--ignore "tests/test_asyncio/test_cwe_404.py"
|
--ignore "tests/test_asyncio/test_cwe_404.py" \
|
||||||
|
--ignore "tests/test_asyncio/test_cluster.py" \
|
||||||
|
--ignore "tests/test_ssl.py"
|
||||||
kill %1
|
kill %1
|
||||||
|
|
||||||
%files -n python3-redis -f filelist.lst
|
%files -n python3-redis -f filelist.lst
|
||||||
@ -92,6 +100,9 @@ kill %1
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 13 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 4.6.0-1
|
||||||
|
- Update package to version 4.6.0
|
||||||
|
|
||||||
* Thu Apr 6 2023 Dongxing Wang <dxwangk@isoftstone.com> - 4.5.5-1
|
* Thu Apr 6 2023 Dongxing Wang <dxwangk@isoftstone.com> - 4.5.5-1
|
||||||
- upgrade version to 4.5.5
|
- upgrade version to 4.5.5
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user