From 550b5417d4a24ff775e8d7808a743f0b89b1c23df939109abfca51cb50ba4840 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 8 Feb 2019 14:48:57 +0000 Subject: [PATCH] Accepting request 672830 from home:rjdias:branches:devel:languages:python - spec: fix tarball URL - use official upstream release tarball - spec: python3-ify - as of https://github.com/ceph/ceph/pull/26262 this package is a runtime dependency of Ceph - update to 0.0.35: + see changelog at https://github.com/alfredodeza/remoto/blob/master/CHANGELOG.rst OBS-URL: https://build.opensuse.org/request/show/672830 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-remoto?expand=0&rev=5 --- python-remoto.changes | 15 ++++++++++++++ python-remoto.spec | 46 ++++++++++++++++++++++++------------------- remoto-0.0.27.tar.gz | 3 --- remoto-0.0.35.tar.gz | 3 +++ 4 files changed, 44 insertions(+), 23 deletions(-) delete mode 100644 remoto-0.0.27.tar.gz create mode 100644 remoto-0.0.35.tar.gz diff --git a/python-remoto.changes b/python-remoto.changes index 7a78c72..dd666a1 100644 --- a/python-remoto.changes +++ b/python-remoto.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Feb 8 13:36:12 UTC 2019 - ncutler@suse.com + +- spec: fix tarball URL +- use official upstream release tarball + +------------------------------------------------------------------- +Fri Feb 8 11:50:54 UTC 2019 - Ricardo Dias + +- spec: python3-ify +- as of https://github.com/ceph/ceph/pull/26262 this package is a + runtime dependency of Ceph +- update to 0.0.35: + + see changelog at https://github.com/alfredodeza/remoto/blob/master/CHANGELOG.rst + ------------------------------------------------------------------- Sun Feb 21 19:47:42 UTC 2016 - astieger@suse.com diff --git a/python-remoto.spec b/python-remoto.spec index 30723fd..586a3bd 100644 --- a/python-remoto.spec +++ b/python-remoto.spec @@ -15,30 +15,32 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test Name: python-remoto -Version: 0.0.27 +Version: 0.0.35 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 +Source0: https://files.pythonhosted.org/packages/01/6c/2be61c4afdfdfc5b18565def7ef40029d7bdabe9437734f02521f30c592a/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 +BuildRequires: %{python_module execnet} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module virtualenv} +BuildRequires: fdupes +BuildRequires: python-rpm-macros 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 +%if %{with test} +BuildRequires: %{python_module tox >= 1.2} +BuildRequires: %{python_module mock >= 1.0b1} +BuildRequires: %{python_module pytest >= 2.1.3} %endif +%python_subpackages %description Remote command executor using ssh and Python in the remote end. This @@ -50,20 +52,24 @@ connections and processes. %setup -q -n remoto-%{version} %build -# force no new version of remoto -REMOTO_NO_VENDOR=no python setup.py build +export REMOTO_NO_VENDOR=no +%python_build %install -# force no new version of remoto -REMOTO_NO_VENDOR=no python setup.py install --prefix=%{_prefix} --root=%{buildroot} +export REMOTO_NO_VENDOR=no +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with test} %check -# force no new version of remoto -REMOTO_NO_VENDOR=no python setup.py test +export REMOTO_NO_VENDOR=no +%python_exec setup.py test +%endif -%files +%files %{python_files} %defattr(-,root,root,-) -%doc README.rst LICENSE +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog diff --git a/remoto-0.0.27.tar.gz b/remoto-0.0.27.tar.gz deleted file mode 100644 index 2a78836..0000000 --- a/remoto-0.0.27.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:833aca5a25735c27af1b18a4b520ef6131c8d2b72037dbf1ebd780e03ea5f713 -size 73634 diff --git a/remoto-0.0.35.tar.gz b/remoto-0.0.35.tar.gz new file mode 100644 index 0000000..016e188 --- /dev/null +++ b/remoto-0.0.35.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a681de4353d7a0d297d233058712d0ceb80e98216731db1f151b3588f20290c +size 13586