|
|
@ -14,6 +14,8 @@ Source0: %{forgesource}
|
|
|
|
Source1: %{name}.rpmlintrc
|
|
|
|
Source1: %{name}.rpmlintrc
|
|
|
|
Patch0: rhbz-2009934.patch
|
|
|
|
Patch0: rhbz-2009934.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/Yubico/yubikey-manager/issues/456
|
|
|
|
|
|
|
|
Patch1: do-not-install-docs-to-site-packages.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: swig pcsc-lite-devel ykpers pyproject-rpm-macros
|
|
|
|
BuildRequires: swig pcsc-lite-devel ykpers pyproject-rpm-macros
|
|
|
@ -41,21 +43,21 @@ Python library for configuring a YubiKey.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%forgesetup
|
|
|
|
%forgesetup
|
|
|
|
%autosetup -n %{archivename}
|
|
|
|
%autosetup -p1 -n %{archivename}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%pyproject_wheel
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%pyproject_install
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
%pyproject_save_files ykman yubikit
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%tox
|
|
|
|
%tox
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{name}
|
|
|
|
%files -n python3-%{name} -f %{pyproject_files}
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
|
|
|
%doc README.adoc NEWS
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%{_bindir}/ykman
|
|
|
|
%{_bindir}/ykman
|
|
|
@ -63,6 +65,7 @@ Python library for configuring a YubiKey.
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Oct 04 2021 Miro Hrončok <mhroncok@redhat.com> - 4.0.7-3
|
|
|
|
* Mon Oct 04 2021 Miro Hrončok <mhroncok@redhat.com> - 4.0.7-3
|
|
|
|
- Require the exact same version-release of python3-yubikey-manager
|
|
|
|
- Require the exact same version-release of python3-yubikey-manager
|
|
|
|
|
|
|
|
- Do not install docs to site-packages
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 04 2021 Gerald Cox <gbcox@member.fsf.org> - 4.0.7-2
|
|
|
|
* Mon Oct 04 2021 Gerald Cox <gbcox@member.fsf.org> - 4.0.7-2
|
|
|
|
- Patch until upstream corrects for rhbz#2009934
|
|
|
|
- Patch until upstream corrects for rhbz#2009934
|
|
|
|