forked from pool/python-scp
Accepting request 515014 from home:mnhauke:network:automation
- Convert to singlespec OBS-URL: https://build.opensuse.org/request/show/515014 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-scp?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
5159b7aac7
commit
721b42bf0a
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 6 18:01:13 UTC 2017 - mardnh@gmx.de
|
||||
|
||||
- Convert to singlespec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 15 09:21:22 UTC 2016 - mardnh@gmx.de
|
||||
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#
|
||||
# spec file for package python-scp
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,6 +17,8 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-scp
|
||||
Version: 0.10.2
|
||||
Release: 0
|
||||
@@ -24,12 +26,16 @@ Summary: SSH scp module for paramiko
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/jbardin/scp.py
|
||||
Source: https://pypi.python.org/packages/source/s/scp/scp-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
Source: https://files.pythonhosted.org/packages/source/s/scp/scp-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-paramiko
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module paramiko}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
The scp.py module uses a paramiko transport to send and receive files via the
|
||||
@@ -40,13 +46,12 @@ and has only been tested with this implementation.
|
||||
%setup -q -n scp-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%files %{python_files}
|
||||
%doc LICENSE.txt README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
Reference in New Issue
Block a user