## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://github.com/Yubico/yubikey-manager/ %global commit 669944ee4e57a493c25ef001e91304a0bd3ec479 Name: yubikey-manager Version: 5.5.0 Release: %autorelease Summary: Python library and command line tool for configuring a YubiKey License: BSD-2-Clause %forgemeta URL: %{forgeurl} Source0: %{forgesource} Source1: %{name}.rpmlintrc BuildArch: noarch BuildRequires: swig pcsc-lite-devel ykpers pyproject-rpm-macros BuildRequires: python3-devel tox BuildRequires: %{py3_dist six pyscard pyusb click cryptography pyopenssl} BuildRequires: %{py3_dist tox-current-env poetry-core setuptools} BuildRequires: %{py3_dist makefun pytest} BuildRequires: %{py3_dist fido2} >= 0.9.0 Requires: python3-%{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: u2f-hidraw-policy %description Command line tool for configuring a YubiKey. %generate_buildrequires %pyproject_buildrequires %package -n python3-%{name} Summary: Python library for configuring a YubiKey Requires: ykpers pcsc-lite %description -n python3-%{name} Python library for configuring a YubiKey. %prep %forgesetup %autosetup -p1 -n %{archivename} # Do not upper-bound the version of keyring, since its major version increases # frequently, usually without significant incompatibilities. sed -r -i 's/(keyring = ">=[^"]+), <[^"]+"/\1"/' pyproject.toml %build %pyproject_wheel %install %pyproject_install %pyproject_save_files ykman yubikit %check %tox %files -n python3-%{name} -f %{pyproject_files} %license COPYING %doc README.adoc NEWS %files %{_bindir}/ykman %changelog ## START: Generated by rpmautospec * Sat Jul 20 2024 Fedora Release Engineering - 5.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jun 26 2024 gbcox - 5.5.0-1 - rhbz#2294404 * Mon Jun 10 2024 Python Maint - 5.4.0-3 - Rebuilt for Python 3.13 * Wed Mar 27 2024 Benjamin A. Beasley - 5.4.0-2 - Do not upper-bound the version of keyring * Wed Mar 27 2024 gbcox - 5.4.0-1 - rhbz#2271838 * Wed Jan 31 2024 gbcox - 5.3.0-1 - rhbz#2262086 * Sat Jan 27 2024 Fedora Release Engineering - 5.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Oct 10 2023 gbcox - 5.2.1-1 - rhbz#2243121 * Sat Oct 07 2023 gbcox - 5.2.0-2 - rhbz#2237537 * Mon Aug 21 2023 gbcox - 5.2.0-1 - Upstream release rhbz#2233130 * Sat Jul 22 2023 Fedora Release Engineering - 5.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jul 01 2023 Python Maint - 5.1.0-2 - Rebuilt for Python 3.12 * Mon Apr 17 2023 gbcox - 5.1.0-1 - Upstream release - rhbz#2187264 * Thu Jan 19 2023 Gerald Cox - 5.0.1-2 - Update for SPDX rhbz#2161986 * Wed Jan 18 2023 Gerald Cox - 5.0.1-1 - Upstream release rhbz#2161986 * Thu Oct 20 2022 Gerald Cox - 5.0.0-1 - Upstream release rhbz#2136583 * Sat Jul 23 2022 Fedora Release Engineering - 4.0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Python Maint - 4.0.9-2 - Rebuilt for Python 3.11 * Fri Jun 17 2022 Gerald Cox - 4.0.9-1 - Upstream release rhbz#2098220 * Thu Jun 16 2022 Python Maint - 4.0.8-4 - Rebuilt for Python 3.11 * Fri Jun 10 2022 Gerald Cox - 4.0.8-3 - rhbz#2095489 - Patch to allow new python-fido2 version 1.0 * Thu Jun 09 2022 Gerald Cox - 4.0.8-2 - rhbz#2095489 * Mon Jan 31 2022 Gerald Cox - 4.0.8-1 - rhbz#2026634 * Sat Jan 22 2022 Fedora Release Engineering - 4.0.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Oct 06 2021 Gerald Cox - 4.0.7-5 - Change to upstream patch - rhbz#2009934 - Removed site-packages patch, incorporated into upstream * Mon Oct 04 2021 Gerald Cox - 4.0.7-4 - rhbz#2009934 * Mon Oct 04 2021 Miro Hrončok - 4.0.7-3 - Require the exact same version-release of python3-yubikey-manager - Do not install docs to site-packages - Remove superfluous runtime dependency on python3-setuptools * Mon Oct 04 2021 Gerald Cox - 4.0.7-2 - Patch until upstream corrects for rhbz#2009934 * Wed Sep 08 2021 Gerald Cox - 4.0.7-1 - Upstream release rhbz#2002419 * Fri Jul 23 2021 Fedora Release Engineering - 4.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jul 16 2021 Gerald Cox - 4.0.5-1 - Upstream release rhbz#1983123 * Fri Jun 04 2021 Python Maint - 4.0.3-2 - Rebuilt for Python 3.10 * Tue May 18 2021 Gerald Cox - 4.0.3 - Upstream release rhbz#1961839 * Mon Apr 12 2021 Gerald Cox - 4.0.2 - Upstream release rhbz#1948671 * Mon Mar 29 2021 Gerald Cox - 4.0.1 - Upstream release rhbz#1944387 * Tue Mar 02 2021 Gerald Cox - 4.0.0p1 - Upstream release rhbz#1921519 * Tue Mar 02 2021 Gerald Cox - 4.0.0 - Upstream release rhbz#1921519 * Thu Feb 18 2021 Gerald Cox - 4.0.0a3 - Upstream release rhbz#1921519 * Wed Feb 10 2021 Gerald Cox - 4.0.0a1 - Upstream release rhbz#1921519 * Wed Feb 03 2021 Gerald Cox - 4.0.0a1 - Upstream release rhbz#1921519 * Thu Jan 28 2021 Fedora Release Engineering - 3.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 21 2021 Gerald Cox - 3.1.2.1 - Upstream release rhbz#1919027 * Mon Oct 05 2020 Gerald Cox - 3.1.1.4.git87dd1d8 - BuildRequire python3-setuptools explicitly * Wed Jul 29 2020 Fedora Release Engineering - 3.1.1-3.git87dd1d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 3.1.1-2.git87dd1d8 - Rebuilt for Python 3.9 * Fri Jan 31 2020 Gerald Cox - 3.1.1-1.git87dd1d8 - Upstream release rhbz#1796504 * Fri Jan 31 2020 Fedora Release Engineering - 3.0.0-8.git1f22620 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Nov 11 2019 Gerald Cox - 3.0.0-5.gitcfa1907 - Require python3-setuptools explicitly * Thu Oct 03 2019 Miro Hrončok - 3.0.0-4.gitcfa1907 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 3.0.0-3.gitcfa1907 - Rebuilt for Python 3.8 * Mon Aug 12 2019 Gerald Cox - 3.0.0-2.gitcfa1907 - Upstream release - rhbz#1737243 * Sun Aug 04 2019 Gerald Cox - 3.0.0-1.gitcfa1907 - Upstream release - rhbz#1737243 * Sat Jul 27 2019 Fedora Release Engineering - 2.1.0-3.gitb44d719 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Apr 28 2019 Gerald Cox - 2.1.0-2.gitb44d719 - Upstream release - rhbz#1703827 * Sun Apr 28 2019 Gerald Cox - 2.1.0-1.gitb44d719 - Upstream release - rhbz#1703827 * Sun Feb 03 2019 Fedora Release Engineering - 2.0.0-4.gite17b3de - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 09 2019 Gerald Cox - 2.0.0-3.gite17b3de - Upstream release - rhbz#1655888 * Tue Jan 01 2019 Igor Gnatenko - 2.0.0-2.git1c707b2 - Enable python dependency generator * Mon Dec 31 2018 Gerald Cox - 2.0.0-1.git1c707b2 - Upstream release - rhbz#1655888 * Sat Jul 14 2018 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.6.0-3 - Rebuilt for Python 3.7 * Mon May 7 2018 Seth Jennings - 0.6.0-2 - add u2f-host as dependency * Wed May 2 2018 Seth Jennings - 0.6.0-1 - Upstream release * Fri Feb 09 2018 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 9 2017 Seth Jennings - 0.4.0-1 - New package - Upstream release ## END: Generated by rpmautospec