upgrade
This commit is contained in:
parent
5e5dc7d380
commit
0525cb1cac
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
|
Name: python-redis
|
||||||
Version: 2.10.6
|
Version: 3.4.1
|
||||||
Release: 7
|
Release: 1
|
||||||
Summary: The Python interface to the Redis key-value store
|
Summary: The Python interface to the Redis key-value store
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/andymccurdy/redis-py
|
URL: https://github.com/andymccurdy/redis-py
|
||||||
@ -20,17 +20,16 @@ The Python3 interface to the Redis key-value store.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n redis-py-%{version} -p1
|
%autosetup -n redis-py-%{version} -p1
|
||||||
rm tests/test_commands.py*
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python3} setup.py build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
redis-server &
|
redis-server &
|
||||||
%{__python3} setup.py test
|
%{__python3} -m pytest
|
||||||
kill %1
|
kill %1
|
||||||
|
|
||||||
%files -n python3-redis
|
%files -n python3-redis
|
||||||
@ -39,6 +38,9 @@ kill %1
|
|||||||
%{python3_sitelib}/redis-%{version}-py%{python3_version}.egg-info
|
%{python3_sitelib}/redis-%{version}-py%{python3_version}.egg-info
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Aug 05 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 2.10.6-7
|
||||||
- Remove python2
|
- Remove python2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user