forked from pool/python-sshpubkeys
- Update to SUSE style specfile
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sshpubkeys?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
0129bd9c69
commit
96295158c9
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 16 12:36:00 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to SUSE style specfile
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 10 09:34:28 UTC 2019 - Jordi Fita <jfita@infoblitz.com>
|
Thu Jan 10 09:34:28 UTC 2019 - Jordi Fita <jfita@infoblitz.com>
|
||||||
|
|
||||||
|
@@ -1,35 +1,46 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sshpubkeys
|
# 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-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-sshpubkeys
|
Name: python-sshpubkeys
|
||||||
Version: 3.1.0
|
Version: 3.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
License: BSD-3-Clause
|
|
||||||
Summary: SSH public key parser
|
Summary: SSH public key parser
|
||||||
Url: https://github.com/ojarva/python-sshpubkeys
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
URL: https://github.com/ojarva/python-sshpubkeys
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/sshpubkeys/sshpubkeys-%{version}.tar.gz
|
Source: https://github.com/ojarva/python-sshpubkeys/archive/v%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: %{python_module cryptography >= 2.6.1}
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module cryptography >= 2.1.4}
|
|
||||||
BuildRequires: %{python_module ecdsa >= 0.13}
|
BuildRequires: %{python_module ecdsa >= 0.13}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: %{python_module yapf >= 0.21.0}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-cryptography >= 2.1.4
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-cryptography >= 2.6.1
|
||||||
Requires: python-ecdsa >= 0.13
|
Requires: python-ecdsa >= 0.13
|
||||||
Suggests: python-twine
|
|
||||||
Suggests: python-wheel
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenSSH Public Key Parser for Python
|
OpenSSH Public Key Parser for Python
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n sshpubkeys-%{version}
|
%setup -q -n python-sshpubkeys-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -38,8 +49,12 @@ OpenSSH Public Key Parser for Python
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b388399caeeccdc145f06fd0d2665eeecc545385c60b55c282a15a022215af80
|
|
||||||
size 10597
|
|
3
v3.1.0.tar.gz
Normal file
3
v3.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e411b7d7d42b6909c09c4f8899f4ff55eff52dc13026ef9c26f7a2762766657c
|
||||||
|
size 55289
|
Reference in New Issue
Block a user