|
|
@ -1,10 +1,10 @@
|
|
|
|
%{?python_enable_dependency_generator}
|
|
|
|
%{?python_enable_dependency_generator}
|
|
|
|
%global forgeurl https://github.com/Yubico/yubikey-manager/
|
|
|
|
%global forgeurl https://github.com/Yubico/yubikey-manager/
|
|
|
|
%global commit ba049e1454a2435e4772b17fec88785a50373cf9
|
|
|
|
%global commit 75e0d3680e5d2537f024e8c24ef65cce752d453b
|
|
|
|
|
|
|
|
|
|
|
|
Name: yubikey-manager
|
|
|
|
Name: yubikey-manager
|
|
|
|
Version: 3.1.2
|
|
|
|
Version: 4.0.0a1
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Python library and command line tool for configuring a YubiKey
|
|
|
|
Summary: Python library and command line tool for configuring a YubiKey
|
|
|
|
|
|
|
|
|
|
|
|
%forgemeta
|
|
|
|
%forgemeta
|
|
|
@ -18,6 +18,7 @@ Source1: %{name}.rpmlintrc
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel swig pcsc-lite-devel ykpers python3-setuptools
|
|
|
|
BuildRequires: python3-devel swig pcsc-lite-devel ykpers python3-setuptools
|
|
|
|
|
|
|
|
BuildRequires: python3-poetry-core pyproject-rpm-macros tox python-tox-current-env
|
|
|
|
# install_requires from setup.py
|
|
|
|
# install_requires from setup.py
|
|
|
|
BuildRequires: %{py3_dist six pyscard pyusb click cryptography pyopenssl fido2}
|
|
|
|
BuildRequires: %{py3_dist six pyscard pyusb click cryptography pyopenssl fido2}
|
|
|
|
Requires: python3-%{name} python3-setuptools u2f-hidraw-policy
|
|
|
|
Requires: python3-%{name} python3-setuptools u2f-hidraw-policy
|
|
|
@ -25,6 +26,9 @@ Requires: python3-%{name} python3-setuptools u2f-hidraw-policy
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Command line tool for configuring a YubiKey.
|
|
|
|
Command line tool for configuring a YubiKey.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{name}
|
|
|
|
%package -n python3-%{name}
|
|
|
|
Summary: Python library for configuring a YubiKey
|
|
|
|
Summary: Python library for configuring a YubiKey
|
|
|
|
Requires: ykpers pcsc-lite
|
|
|
|
Requires: ykpers pcsc-lite
|
|
|
@ -39,13 +43,15 @@ Python library for configuring a YubiKey.
|
|
|
|
%autosetup -n %{archivename}
|
|
|
|
%autosetup -n %{archivename}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
# Remove tests temporarily for early alpha code
|
|
|
|
%{__python3} setup.py test
|
|
|
|
# Rawhide / F34 code only
|
|
|
|
|
|
|
|
# check
|
|
|
|
|
|
|
|
# tox
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{name}
|
|
|
|
%files -n python3-%{name}
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
@ -56,6 +62,9 @@ Python library for configuring a YubiKey.
|
|
|
|
%{_bindir}/ykman
|
|
|
|
%{_bindir}/ykman
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Feb 03 2021 Gerald Cox <gbcox@fedoraproject.org> - 4.0.0a1
|
|
|
|
|
|
|
|
- Upstream release rhbz#1921519
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-2
|
|
|
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|