%{?python_enable_dependency_generator} %global srcname yubico Name: python-%{srcname} Version: 1.3.3 Release: 16%{?dist} Summary: Pure-python library for interacting with Yubikeys License: BSD-2-Clause URL: https://github.com/Yubico/%{name} Source0: https://github.com/Yubico/%{name}/archive/%{name}-%{version}.tar.gz Patch0001: 0001-literal-comparison.patch BuildArch: noarch %description Pure-python library for interacting with Yubikeys %package -n python3-%{srcname} Summary: Pure-python library for interacting with Yubikeys BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pytest BuildRequires: python3-pyusb %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} Pure-python library for interacting with Yubikeys. For Python 3. %prep %autosetup -n %{name}-%{name}-%{version} -p1 %build %py3_build %install %py3_install %check %pytest test/soft/ %files -n python3-%{srcname} %license COPYING %doc NEWS README %{python3_sitelib}/* %changelog * Fri Jun 07 2024 Python Maint - 1.3.3-16 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.3.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.3.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.3.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.3.3-12 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.3.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.3.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 16 2022 Python Maint - 1.3.3-9 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.3.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.3.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.3.3-6 - Rebuilt for Python 3.10 * Wed Feb 03 18:03:23 CET 2021 Christian Heimes - 1.3.3-5 - Use pytest instead of nose (#1918336) - Don't use is to compare literals (#1749216) * Wed Jan 27 2021 Fedora Release Engineering - 1.3.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.3.3-2 - Rebuilt for Python 3.9 * Thu Mar 05 2020 Mohan Boddu - 1.3.3-1 - Update to 1.3.3 - Removing py3 patches * Thu Jan 30 2020 Fedora Release Engineering - 1.3.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Oct 21 2019 Miro Hrončok - 1.3.2-17 - Drop forgotten build dependency on python2-pyusb * Thu Oct 03 2019 Miro Hrončok - 1.3.2-16 - Rebuilt for Python 3.8.0rc1 (#1748018) * Sun Aug 18 2019 Zbigniew Jędrzejewski-Szmek - 1.3.2-15 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.3.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.3.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jan 11 2019 Igor Gnatenko - 1.3.2-12 - Enable python dependency generator * Wed Jan 09 2019 Miro Hrončok - 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 - 1.3.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.3.2-9 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 24 2017 Nathaniel McCallum - 1.3.2-7 - Backport an upstream python3 fix (#1484862) * Thu Jul 27 2017 Fedora Release Engineering - 1.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.3.2-4 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 1.3.2-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed May 11 2016 Nathaniel McCallum - 1.3.2-2 - Add missing provide for python-yubico - Add missing obsoletes for python-yubico * Tue May 10 2016 Nathaniel McCallum - 1.3.2-1 - Cleanup obsolete conditions (like RHEL 6) - Update to v1.3.2 * Thu Feb 04 2016 Fedora Release Engineering - 1.2.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jan 11 2016 Will Thompson - 1.2.3-5 - Add python3-pyusb dependency to python3 subpackage (#1278210) * Mon Jan 11 2016 Ville Skyttä - Ship COPYING as %%license where applicable * Tue Nov 10 2015 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Mon Jul 20 2015 Miro Hrončok - 1.2.3-3 - Add Python 3 subpackage (#1244237) * Thu Jun 18 2015 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Mar 23 2015 Nathaniel McCallum - 1.2.3-1 - Upstream 1.2.3 - Require pyusb during building when running tests * Mon Jun 23 2014 Nathaniel McCallum - 1.2.1-3 - Enable build on EL6. * Sat Jun 21 2014 Nathaniel McCallum - 1.2.1-2 - Run upstream tests during build. * Thu Jun 19 2014 Nathaniel McCallum - 1.2.1-1 - Initial release.