15
0

Accepting request 868030 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/868030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-configshell-fb?expand=0&rev=14
This commit is contained in:
2021-02-04 19:22:00 +00:00
committed by Git OBS Bridge
6 changed files with 21 additions and 37 deletions

View File

@@ -1,25 +0,0 @@
From 949c674b807ddfb312cbac234b1b995066c77dad Mon Sep 17 00:00:00 2001
From: Matt Coleman <matt@datto.com>
Date: Thu, 7 Nov 2019 19:43:57 -0500
Subject: [PATCH] Ensure that all output reaches the client when daemonized
---
configshell/console.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configshell/console.py b/configshell/console.py
index 8ed6b506aea9..003a855080e3 100644
--- a/configshell/console.py
+++ b/configshell/console.py
@@ -191,7 +191,7 @@ class Console(object):
break
else:
clean_text = text
- self.raw_write(clean_text)
+ self.raw_write(clean_text, output=self._stdout)
def indent(self, text, margin=2):
'''
--
2.16.4

View File

@@ -5,10 +5,9 @@
<param name="subdir"></param>
<param name="filename">python-configshell-fb</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(\d*\.\d*\.)fb(\d*)</param>
<param name="versionrewrite-pattern">v(\d*\.\d*\.)(\d*)</param>
<param name="versionrewrite-replacement">\1\2</param>
<param name="revision">v1.1.27</param>
<param name="changesgenerate">enable</param>
<param name="revision">v1.1.28</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*configshell-fb*.tar</param>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a534d0e4c890f14e93c4750cd64dd047b5e6d6fce2c202e6845da52a86c447f0
size 28528

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b937f283c18ee40ab2c30cdfbdbbdae9391f15cc05ea3f709012dc87a5a392c
size 29804

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Jan 30 21:39:26 UTC 2021 - Lee Duncan <lduncan@suse.com>
- Update to version v1.1.28 from v1.1.27 (jre#SLE-17360):
* version 1.1.28
* Ensure that all output reaches the client when daemonized
* Remove Epydoc markup from command messages
* Remove epydoc imports and epydoc calls
Which removed the need for patch:
* Ensure-that-all-output-reaches-the-client-when-daemo.patch
-------------------------------------------------------------------
Tue Mar 03 17:32:48 UTC 2020 - lduncan@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-configshell-fb
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,17 +18,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-configshell-fb
Version: 1.1.27
Version: 1.1.28
Release: 0%{?dist}
Summary: A Python library for building configuration shells
License: Apache-2.0
Group: Development/Libraries/Python
URL: https://github.com/open-iscsi/configshell-fb
Source: %{name}-v%{version}.tar.xz
Patch1: Ensure-that-all-output-reaches-the-client-when-daemo.patch
Source: %{name}-%{version}.tar.xz
BuildRequires: %{python_module pyparsing}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: %{_bindir}/env
@@ -65,8 +65,7 @@ rtslib, and configshell, or stick with all non-fb versions, since they are
no longer strictly compatible.
%prep
%setup -q -n %{name}-v%{version}
%patch1 -p1
%setup -q -n %{name}-%{version}
%build
%python_build