Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2020-08-06 10:41:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and      /work/SRC/openSUSE:Factory/.python-parallax.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-parallax"

Thu Aug  6 10:41:52 2020 rev:17 rq:824576 version:1.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2020-05-19 14:49:51.792253567 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-parallax.new.3399/python-parallax.changes    
    2020-08-06 10:42:07.070119968 +0200
@@ -1,0 +2,6 @@
+Wed Aug  5 07:43:16 UTC 2020 - XinLiang <xli...@suse.com>
+
+- Change format of scp command for ipv6 compatible(bsc#1174894)
+  Add patch 0002-Change-format-of-scp-command-for-ipv6-compatible.patch
+
+-------------------------------------------------------------------

New:
----
  0002-Change-format-of-scp-command-for-ipv6-compatible.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-parallax.spec ++++++
--- /var/tmp/diff_new_pack.R1ultc/_old  2020-08-06 10:42:07.762120315 +0200
+++ /var/tmp/diff_new_pack.R1ultc/_new  2020-08-06 10:42:07.762120315 +0200
@@ -26,6 +26,7 @@
 URL:            https://github.com/krig/parallax/
 Source:         
https://files.pythonhosted.org/packages/source/p/parallax/parallax-%{version}.tar.gz
 Patch1:         0001-Add-ssh_key-option-used-by-i-option-of-ssh-scp.patch
+Patch2:         0002-Change-format-of-scp-command-for-ipv6-compatible.patch
 
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -51,6 +52,7 @@
 %prep
 %setup -q -n parallax-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 %python_build

++++++ 0002-Change-format-of-scp-command-for-ipv6-compatible.patch ++++++
>From 1b253513291fe6022b7b832547e43b372886059c Mon Sep 17 00:00:00 2001
From: liangxin1300 <xli...@suse.com>
Date: Thu, 16 Jul 2020 00:19:26 +0800
Subject: [PATCH] Change format of scp command for ipv6 compatible

---
 parallax/__init__.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/parallax/__init__.py b/parallax/__init__.py
index 1008ca2..50a2268 100644
--- a/parallax/__init__.py
+++ b/parallax/__init__.py
@@ -226,9 +226,9 @@ def _build_copy_cmd(host, port, user, src, dst, opts):
         cmd.extend(opts.ssh_extra)
     cmd.append(src)
     if user:
-        cmd.append('%s@%s:%s' % (user, host, dst))
+        cmd.append('%s@[%s]:%s' % (user, host, dst))
     else:
-        cmd.append('%s:%s' % (host, dst))
+        cmd.append('[%s]:%s' % (host, dst))
     return cmd
 
 
@@ -320,9 +320,9 @@ def _build_slurp_cmd(host, port, user, src, dst, opts):
     if opts.ssh_extra:
         cmd.extend(opts.ssh_extra)
     if user:
-        cmd.append('%s@%s:%s' % (user, host, src))
+        cmd.append('%s@[%s]:%s' % (user, host, src))
     else:
-        cmd.append('%s:%s' % (host, src))
+        cmd.append('[%s]:%s' % (host, src))
     cmd.append(dst)
     return cmd
 
-- 
2.21.1


Reply via email to