diff --git a/python-sshpubkeys.changes b/python-sshpubkeys.changes index 3b7ecee..5400786 100644 --- a/python-sshpubkeys.changes +++ b/python-sshpubkeys.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 16 12:36:00 UTC 2019 - Tomáš Chvátal + +- Update to SUSE style specfile + ------------------------------------------------------------------- Thu Jan 10 09:34:28 UTC 2019 - Jordi Fita diff --git a/python-sshpubkeys.spec b/python-sshpubkeys.spec index a26c454..174299a 100644 --- a/python-sshpubkeys.spec +++ b/python-sshpubkeys.spec @@ -1,35 +1,46 @@ # # spec file for package python-sshpubkeys # +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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.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} +License: BSD-3-Clause +URL: https://github.com/ojarva/python-sshpubkeys +Source: https://github.com/ojarva/python-sshpubkeys/archive/v%{version}.tar.gz +BuildRequires: %{python_module cryptography >= 2.6.1} BuildRequires: %{python_module ecdsa >= 0.13} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module yapf >= 0.21.0} BuildRequires: fdupes -Requires: python-cryptography >= 2.1.4 +BuildRequires: python-rpm-macros +Requires: python-cryptography >= 2.6.1 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} +%setup -q -n python-sshpubkeys-%{version} %build %python_build @@ -38,8 +49,12 @@ OpenSSH Public Key Parser for Python %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_exec setup.py test + %files %{python_files} %doc README.rst +%license LICENSE.txt %{python_sitelib}/* %changelog diff --git a/sshpubkeys-3.1.0.tar.gz b/sshpubkeys-3.1.0.tar.gz deleted file mode 100644 index 7054971..0000000 --- a/sshpubkeys-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b388399caeeccdc145f06fd0d2665eeecc545385c60b55c282a15a022215af80 -size 10597 diff --git a/v3.1.0.tar.gz b/v3.1.0.tar.gz new file mode 100644 index 0000000..344088c --- /dev/null +++ b/v3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e411b7d7d42b6909c09c4f8899f4ff55eff52dc13026ef9c26f7a2762766657c +size 55289