!11 [sync] PR-10: delete python-nose Buildrequires
Merge pull request !11 from openeuler-sync-bot/sync-pr10-openEuler-22.03-LTS-Next-to-master
This commit is contained in:
commit
ab3ed7f83d
@ -1,6 +1,6 @@
|
|||||||
Name: python-memcached
|
Name: python-memcached
|
||||||
Version: 1.59
|
Version: 1.59
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A Python memcached client library
|
Summary: A Python memcached client library
|
||||||
License: Python
|
License: Python
|
||||||
URL: https://github.com/linsomniac/python-memcached
|
URL: https://github.com/linsomniac/python-memcached
|
||||||
@ -12,7 +12,7 @@ BuildArch: noarch
|
|||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
|
||||||
|
|
||||||
%{?with_python3:BuildRequires: python3-devel,python3-setuptools,python3-six,python3-nose}
|
%{?with_python3:BuildRequires: python3-devel,python3-setuptools,python3-six}
|
||||||
|
|
||||||
# Required for running test suite
|
# Required for running test suite
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
@ -54,15 +54,11 @@ Summary: %{summary}
|
|||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
|
||||||
%check
|
|
||||||
pidfile=$(mktemp)
|
|
||||||
memcached -d -P $pidfile
|
|
||||||
|
|
||||||
%{__python3} -m nose
|
|
||||||
|
|
||||||
kill $(cat $pidfile)
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 10 2022 yanglongkang <yanglongkang@huawei.com> - 1.59-2
|
||||||
|
- delete python-nose Buildrequires
|
||||||
|
|
||||||
* Thu Jul 15 2021 huangtianhua <huangtianhua@huawei.com> 1.59-1
|
* Thu Jul 15 2021 huangtianhua <huangtianhua@huawei.com> 1.59-1
|
||||||
- Upgrade to 1.59 to support OpenStack-W
|
- Upgrade to 1.59 to support OpenStack-W
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user