delete python-nose Buildrequires

(cherry picked from commit 8abe8ae48f0a441190dc1f1922d45b8ff3d2ba2f)
This commit is contained in:
markeryang 2022-01-10 15:50:40 +08:00 committed by openeuler-sync-bot
parent 57b0e3b402
commit daedce90ad

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