!5 upgrade to fix build error
From: @jackie_wu123 Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
ebd73b6f46
BIN
2.10.6.tar.gz
BIN
2.10.6.tar.gz
Binary file not shown.
BIN
3.4.1.tar.gz
Normal file
BIN
3.4.1.tar.gz
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
Name: python-redis
|
||||
Version: 2.10.6
|
||||
Release: 7
|
||||
Version: 3.4.1
|
||||
Release: 1
|
||||
Summary: The Python interface to the Redis key-value store
|
||||
License: MIT
|
||||
URL: https://github.com/andymccurdy/redis-py
|
||||
@ -20,17 +20,16 @@ The Python3 interface to the Redis key-value store.
|
||||
|
||||
%prep
|
||||
%autosetup -n redis-py-%{version} -p1
|
||||
rm tests/test_commands.py*
|
||||
|
||||
%build
|
||||
%{__python3} setup.py build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
redis-server &
|
||||
%{__python3} setup.py test
|
||||
%{__python3} -m pytest
|
||||
kill %1
|
||||
|
||||
%files -n python3-redis
|
||||
@ -39,6 +38,9 @@ kill %1
|
||||
%{python3_sitelib}/redis-%{version}-py%{python3_version}.egg-info
|
||||
|
||||
%changelog
|
||||
* Tue Jan 12 2021 wutao <wutao61@huawei.com> - 3.4.1-1
|
||||
- upgrade to 3.4.1 adapting to pytest
|
||||
|
||||
* Wed Aug 05 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 2.10.6-7
|
||||
- Remove python2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user