!9 [sync] PR-8: Solve the problem that python-yubico compilation depends on the python3-nose decay package.

From: @openeuler-sync-bot 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2022-04-29 02:31:22 +00:00 committed by Gitee
commit 31a6aa558c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,14 +2,14 @@
Name: python-yubico Name: python-yubico
Version: 1.3.3 Version: 1.3.3
Release: 1 Release: 2
Summary: Python package for talking to YubiKeys Summary: Python package for talking to YubiKeys
License: BSD License: BSD
URL: https://github.com/Yubico/python-yubico URL: https://github.com/Yubico/python-yubico
Source0: https://github.com/Yubico/python-yubico/archive/python-yubico-%{version}.tar.gz Source0: https://github.com/Yubico/python-yubico/archive/python-yubico-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel python3-setuptools python3-nose python3-pyusb BuildRequires: python3-devel python3-setuptools python3-pytest python3-pyusb
%description %description
Python package for talking to YubiKeys Python package for talking to YubiKeys
@ -39,7 +39,7 @@ Docs for python-yubico
%py3_install %py3_install
%check %check
nosetests-%{python3_version} -e test_challenge_response -e test_serial -e test_status %{__python3} -m pytest test/soft/
%files -n python3-yubico %files -n python3-yubico
%doc COPYING %doc COPYING
@ -49,5 +49,8 @@ nosetests-%{python3_version} -e test_challenge_response -e test_serial -e test_s
%doc NEWS README %doc NEWS README
%changelog %changelog
* Mon Jan 10 2022 yaoxin <yaoxin30@huawei.com> - 1.3.3-2
- Solve the problem that python-yubico compilation depends on the python3-nose decay package.
* Tue Apr 14 2020 huanghaitao <huanghaitao8@huawei.com> - 1.3.3-1 * Tue Apr 14 2020 huanghaitao <huanghaitao8@huawei.com> - 1.3.3-1
- Package init - Package init