Solve the problem that python-yubico compilation depends on the python3-nose decay package.
(cherry picked from commit 40e4c7df39d2d9b6855e04d4636b2a1ee523bcc7)
This commit is contained in:
parent
d696cc888d
commit
a8b494d136
@ -2,14 +2,14 @@
|
||||
|
||||
Name: python-yubico
|
||||
Version: 1.3.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Python package for talking to YubiKeys
|
||||
License: BSD
|
||||
URL: https://github.com/Yubico/python-yubico
|
||||
Source0: https://github.com/Yubico/python-yubico/archive/python-yubico-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel python3-setuptools python3-nose python3-pyusb
|
||||
BuildRequires: python3-devel python3-setuptools python3-pytest python3-pyusb
|
||||
|
||||
%description
|
||||
Python package for talking to YubiKeys
|
||||
@ -39,7 +39,7 @@ Docs for python-yubico
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
nosetests-%{python3_version} -e test_challenge_response -e test_serial -e test_status
|
||||
%{__python3} -m pytest test/soft/
|
||||
|
||||
%files -n python3-yubico
|
||||
%doc COPYING
|
||||
@ -49,5 +49,8 @@ nosetests-%{python3_version} -e test_challenge_response -e test_serial -e test_s
|
||||
%doc NEWS README
|
||||
|
||||
%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
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user