Enable python dependency generator
References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
9411e1a5c8
commit
910c395397
@ -1,10 +1,9 @@
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
|
||||
%{?python_enable_dependency_generator}
|
||||
%global srcname yubico
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 1.3.2
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
Summary: Pure-python library for interacting with Yubikeys
|
||||
|
||||
License: BSD
|
||||
@ -16,18 +15,16 @@ BuildArch: noarch
|
||||
|
||||
BuildRequires: pyusb
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-nose
|
||||
BuildRequires: python3-pyusb
|
||||
|
||||
%description
|
||||
Pure-python library for interacting with Yubikeys
|
||||
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: Pure-python library for interacting with Yubikeys
|
||||
Requires: python3-pyusb
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-nose
|
||||
BuildRequires: python3-pyusb
|
||||
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
|
||||
@ -58,6 +55,9 @@ nosetests-%{python3_version} -e test_challenge_response -e test_serial -e test_s
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.2-12
|
||||
- Enable python dependency generator
|
||||
|
||||
* 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user