|
|
|
@ -1,16 +1,19 @@
|
|
|
|
|
%{?python_enable_dependency_generator}
|
|
|
|
|
%global commit 87dd1d8fb60ba6d6524d4ae49586e596d7cda759
|
|
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
%global owner Yubico
|
|
|
|
|
%global forgeurl https://github.com/Yubico/yubikey-manager/
|
|
|
|
|
%global commit ba049e1454a2435e4772b17fec88785a50373cf9
|
|
|
|
|
|
|
|
|
|
Name: yubikey-manager
|
|
|
|
|
Version: 3.1.1
|
|
|
|
|
Release: 4.git%{shortcommit}%{?dist}
|
|
|
|
|
Version: 3.1.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Python library and command line tool for configuring a YubiKey
|
|
|
|
|
|
|
|
|
|
%forgemeta
|
|
|
|
|
|
|
|
|
|
#https://bugzilla.redhat.com/show_bug.cgi?id=xxxxxx
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://github.com/%{owner}/%{name}/
|
|
|
|
|
Source0: https://github.com/%{owner}/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
|
|
|
|
|
URL: %{forgeurl}
|
|
|
|
|
Source0: %{forgesource}
|
|
|
|
|
Source1: %{name}.rpmlintrc
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -32,7 +35,8 @@ Requires: ykpers pcsc-lite
|
|
|
|
|
Python library for configuring a YubiKey.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{commit}
|
|
|
|
|
%forgesetup
|
|
|
|
|
%autosetup -n %{archivename}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
@ -52,6 +56,9 @@ Python library for configuring a YubiKey.
|
|
|
|
|
%{_bindir}/ykman
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 21 2021 Gerald Cox <gbcox@fedoraproject.org> - 3.1.2.1
|
|
|
|
|
- Upstream release rhbz#1919027
|
|
|
|
|
|
|
|
|
|
* Mon Oct 05 2020 Gerald Cox <gbcox@fedoraproject.org> - 3.1.1.4.git87dd1d8
|
|
|
|
|
- BuildRequire python3-setuptools explicitly
|
|
|
|
|
|
|
|
|
|