forked from pool/python-parallax
- Fix Source URL
- Fix fdupes call OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parallax?expand=0&rev=26
This commit is contained in:
committed by
Git OBS Bridge
parent
b522738790
commit
622d1159d2
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 10 12:30:31 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix Source URL
|
||||
- Fix fdupes call
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 27 14:41:09 UTC 2018 - jengelh@inai.de
|
||||
|
||||
|
||||
@@ -12,41 +12,38 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
Name: python-parallax
|
||||
Version: 1.0.4
|
||||
Release: 0
|
||||
Summary: Python module for multi-node SSH command execution and file copy
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/krig/parallax/
|
||||
Source: https://files.pythonhosted.org/packages/48/d9/2a5912db7d0bdc26972ecdb7bae50844c77ed098f63295c0283d102d6b0e/parallax-%{version}.tar.gz
|
||||
URL: https://github.com/krig/parallax/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/parallax/parallax-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: openssh
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version}
|
||||
Requires(post): update-alternatives
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%else
|
||||
Requires(post): /usr/sbin/update-alternatives
|
||||
Requires(postun): /usr/sbin/update-alternatives
|
||||
Requires(post): %{_sbindir}/update-alternatives
|
||||
Requires(postun): %{_sbindir}/update-alternatives
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Parallax SSH provides an interface to executing commands on multiple
|
||||
nodes at once using SSH. It also provides commands for sending and receiving files to
|
||||
multiple nodes using SCP.
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%prep
|
||||
%setup -q -n parallax-%{version}
|
||||
|
||||
@@ -57,7 +54,7 @@ multiple nodes using SCP.
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/parallax-askpass
|
||||
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative parallax-askpass
|
||||
@@ -66,7 +63,6 @@ multiple nodes using SCP.
|
||||
%python_uninstall_alternative parallax-askpass
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS README.md
|
||||
%license COPYING
|
||||
%{python_sitelib}/parallax
|
||||
|
||||
Reference in New Issue
Block a user