# # spec file for package python-sshpubkeys # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sshpubkeys Version: 3.1.0 Release: 0 License: BSD-3-Clause Summary: SSH public key parser Url: https://github.com/ojarva/python-sshpubkeys Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/s/sshpubkeys/sshpubkeys-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module cryptography >= 2.1.4} BuildRequires: %{python_module ecdsa >= 0.13} BuildRequires: fdupes Requires: python-cryptography >= 2.1.4 Requires: python-ecdsa >= 0.13 Suggests: python-twine Suggests: python-wheel BuildArch: noarch %python_subpackages %description OpenSSH Public Key Parser for Python %prep %setup -q -n sshpubkeys-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README.rst %{python_sitelib}/* %changelog