Enable python dependency generator

References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent ff07505d8e
commit a91c64554d
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,10 +1,11 @@
%{?python_enable_dependency_generator}
%global commit 1c707b27e0a00f737dbdb1c3d8a61f7854f1018f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global owner Yubico
Name: yubikey-manager
Version: 2.0.0
Release: 1.git%{shortcommit}%{?dist}
Release: 2.git%{shortcommit}%{?dist}
Summary: Python library and command line tool for configuring a YubiKey
License: BSD
@ -12,9 +13,9 @@ URL: https://github.com/%{owner}/%{name}/
Source0: https://github.com/%{owner}/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel swig pcsc-lite-devel python3-fido2
BuildRequires: python3-devel swig pcsc-lite-devel
# install_requires from setup.py
BuildRequires: %{py3_dist six pyusb pyscard click cryptography pyOpenSSL}
BuildRequires: %{py3_dist six pyscard pyusb click cryptography pyopenssl fido2}
Requires: python3-%{name} u2f-host
%description
@ -23,8 +24,6 @@ Command line tool for configuring a YubiKey.
%package -n python3-%{name}
Summary: Python library for configuring a YubiKey
Requires: ykpers pcsc-lite
# install_requires from setup.py
Requires: %{py3_dist six pyusb pyscard click cryptography pyOpenSSL}
%{?python_provide:%python_provide python3-%{name}}
@ -52,7 +51,10 @@ Python library for configuring a YubiKey.
%{_bindir}/ykman
%changelog
* Mon Dec 31 2018 Gerald Cox <gbcox@fedoraproject.org> - 2.0.0-1.git%{shortcommit}
* Tue Jan 01 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-2.git1c707b2
- Enable python dependency generator
* Mon Dec 31 2018 Gerald Cox <gbcox@fedoraproject.org> - 2.0.0-1.git1c707b2
- Upstream release - rhbz#1655888
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4

Loading…
Cancel
Save