Enable python dependency generator

References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-11 13:36:31 +01:00
parent 9411e1a5c8
commit 910c395397
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -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