forked from pool/python-remoto
0.0.27, package a license file (boo#967555) OBS-URL: https://build.opensuse.org/request/show/360751 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-remoto?expand=0&rev=3
70 lines
2.1 KiB
RPMSpec
70 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package python-remoto
|
|
#
|
|
# Copyright (c) 2016 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: python-remoto
|
|
Version: 0.0.27
|
|
Release: 0
|
|
Summary: Remote command executor using ssh and Python in the remote end
|
|
License: MIT
|
|
Group: Development/Languages/Python
|
|
Url: https://pypi.python.org/pypi/remoto/%{version}
|
|
Source0: https://pypi.python.org/packages/source/r/remoto/remoto-%{version}.tar.gz
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-execnet
|
|
BuildRequires: python-mock >= 1.0b1
|
|
BuildRequires: python-setuptools
|
|
BuildRequires: python-tox >= 1.2
|
|
BuildRequires: python-virtualenv
|
|
Requires: python-execnet
|
|
Requires: python-setuptools
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
%if 0%{?suse_version}
|
|
BuildRequires: python-pytest >= 2.1.3
|
|
%else
|
|
BuildRequires: pytest
|
|
%endif
|
|
|
|
%description
|
|
Remote command executor using ssh and Python in the remote end. This
|
|
package is primarily built to support the ceph-deploy project.
|
|
python-remoto is built upon python-execnet which manages the
|
|
connections and processes.
|
|
|
|
%prep
|
|
%setup -q -n remoto-%{version}
|
|
|
|
%build
|
|
# force no new version of remoto
|
|
REMOTO_NO_VENDOR=no python setup.py build
|
|
|
|
%install
|
|
# force no new version of remoto
|
|
REMOTO_NO_VENDOR=no python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
|
|
%check
|
|
# force no new version of remoto
|
|
REMOTO_NO_VENDOR=no python setup.py test
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README.rst LICENSE
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|