From 82bf5ad32f1698df1fc4a0df25da01dfab08cf366e32bd08842a2ef4fbf821c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 21 Jun 2018 07:28:22 +0000 Subject: [PATCH] Accepting request 618143 from home:yeey:branches:Cloud:OpenStack:Master Incorporate the comments from the previous review. OBS-URL: https://build.opensuse.org/request/show/618143 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textfsm?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + python-textfsm.changes | 30 +++++++++++++++++++++++ python-textfsm.spec | 55 ++++++++++++++++++++++++++++++++++++++++++ textfsm-0.4.1.tar.gz | 3 +++ 5 files changed, 112 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-textfsm.changes create mode 100644 python-textfsm.spec create mode 100644 textfsm-0.4.1.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-textfsm.changes b/python-textfsm.changes new file mode 100644 index 0000000..8266ba9 --- /dev/null +++ b/python-textfsm.changes @@ -0,0 +1,30 @@ +------------------------------------------------------------------- +Wed Jun 20 21:02:45 UTC 2018 - gyee@suse.com + +- Remove python-devel requirement as it is not needed. + +------------------------------------------------------------------- +Wed Jun 20 18:01:31 UTC 2018 - gyee@suse.com + +- Remove useless descriptions. + +------------------------------------------------------------------- +Wed Jun 20 16:16:13 UTC 2018 - gyee@suse.com + +- Regenerate the spec file using py2pack. + +------------------------------------------------------------------- +Tue Jun 19 17:58:08 UTC 2018 - gyee@suse.com + +- Fix SingleSpec requirements. + +------------------------------------------------------------------- +Tue Jun 19 16:46:33 UTC 2018 - gyee@suse.com + +- Make it a SingleSpec package. + +------------------------------------------------------------------- +Mon Jun 18 21:50:46 UTC 2018 - gyee@suse.com + +- create initial package version 0.4.1: + Pulled from https://files.pythonhosted.org/packages/a1/0d/a1b490503545b3b4600b965eae5d44cc2b6ce27cfb44f4debc563dbb56d3/textfsm-0.4.1.tar.gz diff --git a/python-textfsm.spec b/python-textfsm.spec new file mode 100644 index 0000000..556c6b9 --- /dev/null +++ b/python-textfsm.spec @@ -0,0 +1,55 @@ +# +# spec file for package python-textfsm +# +# Copyright (c) 2018 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-textfsm +Version: 0.4.1 +Release: 0 +License: Apache-2.0 +Summary: Python module for parsing semi-structured text into python tables +Url: https://github.com/google/textfsm +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/t/textfsm/textfsm-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildArch: noarch + +%python_subpackages + +%description +Python module which implements a template based state machine for parsing +semi-formatted text. Originally developed to allow programmatic access to +information returned from the command line interface (CLI) of networking +devices. + +%prep +%setup -q -n textfsm-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%license COPYING +%doc README.md +%{python_sitelib}/* + +%changelog diff --git a/textfsm-0.4.1.tar.gz b/textfsm-0.4.1.tar.gz new file mode 100644 index 0000000..e726848 --- /dev/null +++ b/textfsm-0.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21a31e212d625d84a8c7a52f35055d536bd3a1c63d3d41ed65ee5d8bd5f29f00 +size 38369