14
0
Files
python-sshpubkeys/python-sshpubkeys.spec
Matej Cepl ddc5030d8e Accepting request 917889 from home:pgajdos:python
- version update to 3.3.1
  3.3.1
  Revert changes breaking python 3.5.
  3.3.0
  Python 3 only
  3.2.1
  Maintenance release
  3.2.0
  Multiple small changes and new features

OBS-URL: https://build.opensuse.org/request/show/917889
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sshpubkeys?expand=0&rev=4
2021-09-10 09:02:01 +00:00

59 lines
1.7 KiB
RPMSpec

#
# spec file for package python-sshpubkeys
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sshpubkeys
Version: 3.3.1
Release: 0
Summary: SSH public key parser
License: BSD-3-Clause
URL: https://github.com/ojarva/python-sshpubkeys
Source: https://github.com/ojarva/python-sshpubkeys/archive/%{version}.tar.gz
BuildRequires: %{python_module cryptography >= 3.2}
BuildRequires: %{python_module ecdsa >= 0.13.3}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography >= 3.2
Requires: python-ecdsa >= 0.13.3
BuildArch: noarch
%python_subpackages
%description
OpenSSH Public Key Parser for Python
%prep
%setup -q -n python-sshpubkeys-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest discover -v
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/*
%changelog