Subpackage python2-yubico has been removed
This commit is contained in:
parent
d702173773
commit
9411e1a5c8
@ -4,7 +4,7 @@
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 1.3.2
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: Pure-python library for interacting with Yubikeys
|
||||
|
||||
License: BSD
|
||||
@ -14,9 +14,6 @@ Patch0: python-yubico-py3.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-nose
|
||||
BuildRequires: pyusb
|
||||
|
||||
BuildRequires: python3-devel
|
||||
@ -28,17 +25,6 @@ BuildRequires: python3-pyusb
|
||||
Pure-python library for interacting with Yubikeys
|
||||
|
||||
|
||||
%package -n python2-%{srcname}
|
||||
Summary: Pure-python library for interacting with Yubikeys
|
||||
Requires: pyusb
|
||||
Obsoletes: python-yubico < %{version}-%{release}
|
||||
|
||||
%{?python_provide:%python_provide python2-%{srcname}}
|
||||
|
||||
%description -n python2-%{srcname}
|
||||
Pure-python library for interacting with Yubikeys. For Python 2.
|
||||
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: Pure-python library for interacting with Yubikeys
|
||||
Requires: python3-pyusb
|
||||
@ -54,25 +40,17 @@ Pure-python library for interacting with Yubikeys. For Python 3.
|
||||
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
|
||||
%check
|
||||
nosetests-%{python2_version} -e test_challenge_response -e test_serial -e test_status
|
||||
nosetests-%{python3_version} -e test_challenge_response -e test_serial -e test_status
|
||||
|
||||
|
||||
%files -n python2-%{srcname}
|
||||
%license COPYING
|
||||
%doc NEWS README
|
||||
%{python2_sitelib}/*
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%license COPYING
|
||||
%doc NEWS README
|
||||
@ -80,6 +58,10 @@ nosetests-%{python3_version} -e test_challenge_response -e test_serial -e test_s
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 09 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.2-11
|
||||
- Subpackage python2-yubico has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user