15
0

Accepting request 682852 from home:mcepl:branches:devel:languages:python

- Using now new proper upstream release 1.1.25:
  - Fix failing to parse param like pool/rbd;id=user 
  - Acquire a lock to a preference file before working with it 
  - Fix failing to pasre param like "cfgstr,par=val" 
  - Remove explicit dependency on /usr/bin/python 
  - make run_cmdline() log "Running command line" msg to new loglevel
  - tweak ConfigShell.run_stdin() to strip whitespace/newline from cmds
  - Fix failing to pasre par=val parameters 
  - Add missing dependency on pyparsing and six 
  - Fix path regex for [ and ] 
  - Handle if TERM is not set

OBS-URL: https://build.opensuse.org/request/show/682852
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-configshell-fb?expand=0&rev=23
This commit is contained in:
2019-03-08 13:51:40 +00:00
committed by Git OBS Bridge
parent ca74e6e4f0
commit 8da3aa05bb
6 changed files with 26 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-configshell-fb
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -16,17 +16,16 @@
#
%define oname configshell-fb
%define realver 1.1.fb25
%define modname configshell-fb
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-%{oname}
Version: 1.1.fb25
Name: python-%{modname}
Version: 1.1.25
Release: 0%{?dist}
Summary: A Python library for building configuration shells
License: Apache-2.0
Group: Development/Libraries/Python
Url: http://github.com/open-iscsi/configshell-fb
Source: %{oname}-%{realver}.tar.xz
Source: https://pypi.python.org/packages/source/c/%{modname}/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module pyparsing}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
@@ -37,7 +36,7 @@ Requires: python-pyparsing
Requires: python-six
Requires: python-urwid
Provides: python-configshell = %{version}-%{release}
Obsoletes: python-configshell
Obsoletes: python-configshell < %{version}
BuildArch: noarch
%python_subpackages
@@ -66,7 +65,7 @@ rtslib, and configshell, or stick with all non-fb versions, since they are
no longer strictly compatible.
%prep
%setup -q -n %{oname}-%{realver}
%setup -q -n %{modname}-%{version}
%build
%python_build
@@ -77,6 +76,6 @@ no longer strictly compatible.
%files %{python_files}
%{python_sitelib}/*
%doc examples COPYING README.md
%doc README.md
%changelog