!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:
openeuler-ci-bot 2022-01-24 01:40:57 +00:00 committed by Gitee
commit ab3ed7f83d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: python-memcached
Version: 1.59
Release: 1
Release: 2
Summary: A Python memcached client library
License: Python
URL: https://github.com/linsomniac/python-memcached
@ -12,7 +12,7 @@ BuildArch: noarch
%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
%if %{with check}
@ -54,15 +54,11 @@ Summary: %{summary}
%py3_install
%check
pidfile=$(mktemp)
memcached -d -P $pidfile
%{__python3} -m nose
kill $(cat $pidfile)
%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
- Upgrade to 1.59 to support OpenStack-W