From 64b983c59b368b9116846585c4956f93f003533f Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Wed, 26 May 2021 15:33:12 +0800 Subject: [PATCH] Fix provides Signed-off-by: Fan Zhang --- python-textfsm.spec | 120 +++----------------------------------------- 1 file changed, 7 insertions(+), 113 deletions(-) diff --git a/python-textfsm.spec b/python-textfsm.spec index 9dad0c8..7867210 100644 --- a/python-textfsm.spec +++ b/python-textfsm.spec @@ -1,139 +1,31 @@ %global _empty_manifest_terminate_build 0 Name: python-textfsm Version: 0.4.1 -Release: 1 +Release: 2 Summary: Python module for parsing semi-structured text into python tables. License: Apache-2.0 URL: https://github.com/google/textfsm Source0: https://files.pythonhosted.org/packages/a1/0d/a1b490503545b3b4600b965eae5d44cc2b6ce27cfb44f4debc563dbb56d3/textfsm-0.4.1.tar.gz BuildArch: noarch %description -TextFSM -======= +Python module for parsing semi-structured text into python tables. -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. - -The engine takes two inputs - a template file, and text input (such as command -responses from the CLI of a device) and returns a list of records that contains -the data parsed from the text. - -A template file is needed for each uniquely structured text input. Some examples -are provided with the code and users are encouraged to develop their own. - -By developing a pool of template files, scripts can call TextFSM to parse useful -information from a variety of sources. It is also possible to use different -templates on the same data in order to create different tables (or views). - -TextFSM was developed internally at Google and released under the Apache 2.0 -licence for the benefit of the wider community. - -Before contributing -------------------- -If you are not a Google employee, our lawyers insist that you sign a Contributor -Licence Agreement (CLA). - -If you are an individual writing original source code and you're sure you own -the intellectual property, then you'll need to sign an -[individual CLA](https://cla.developers.google.com/about/google-individual). -Individual CLAs can be signed electronically. If you work for a company that -wants to allow you to contribute your work, then you'll need to sign a -[corporate CLA](https://cla.developers.google.com/clas). -The Google CLA is based on Apache's. Note that unlike some projects -(notably GNU projects), we do not require a transfer of copyright. You still own -the patch. - -Sadly, even the smallest patch needs a CLA. %package -n python2-textfsm Summary: Python module for parsing semi-structured text into python tables. -Provides: python-textfsm +Provides: python2-textfsm BuildRequires: python2-devel BuildRequires: python2-setuptools %description -n python2-textfsm -TextFSM -======= - -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. - -The engine takes two inputs - a template file, and text input (such as command -responses from the CLI of a device) and returns a list of records that contains -the data parsed from the text. - -A template file is needed for each uniquely structured text input. Some examples -are provided with the code and users are encouraged to develop their own. - -By developing a pool of template files, scripts can call TextFSM to parse useful -information from a variety of sources. It is also possible to use different -templates on the same data in order to create different tables (or views). +Python module for parsing semi-structured text into python tables. -TextFSM was developed internally at Google and released under the Apache 2.0 -licence for the benefit of the wider community. - -Before contributing -------------------- -If you are not a Google employee, our lawyers insist that you sign a Contributor -Licence Agreement (CLA). - -If you are an individual writing original source code and you're sure you own -the intellectual property, then you'll need to sign an -[individual CLA](https://cla.developers.google.com/about/google-individual). -Individual CLAs can be signed electronically. If you work for a company that -wants to allow you to contribute your work, then you'll need to sign a -[corporate CLA](https://cla.developers.google.com/clas). -The Google CLA is based on Apache's. Note that unlike some projects -(notably GNU projects), we do not require a transfer of copyright. You still own -the patch. - -Sadly, even the smallest patch needs a CLA. %package help Summary: Development documents and examples for textfsm Provides: python2-textfsm-doc %description help -TextFSM -======= - -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. - -The engine takes two inputs - a template file, and text input (such as command -responses from the CLI of a device) and returns a list of records that contains -the data parsed from the text. - -A template file is needed for each uniquely structured text input. Some examples -are provided with the code and users are encouraged to develop their own. - -By developing a pool of template files, scripts can call TextFSM to parse useful -information from a variety of sources. It is also possible to use different -templates on the same data in order to create different tables (or views). - -TextFSM was developed internally at Google and released under the Apache 2.0 -licence for the benefit of the wider community. - -Before contributing -------------------- -If you are not a Google employee, our lawyers insist that you sign a Contributor -Licence Agreement (CLA). - -If you are an individual writing original source code and you're sure you own -the intellectual property, then you'll need to sign an -[individual CLA](https://cla.developers.google.com/about/google-individual). -Individual CLAs can be signed electronically. If you work for a company that -wants to allow you to contribute your work, then you'll need to sign a -[corporate CLA](https://cla.developers.google.com/clas). -The Google CLA is based on Apache's. Note that unlike some projects -(notably GNU projects), we do not require a transfer of copyright. You still own -the patch. +Python module for parsing semi-structured text into python tables. -Sadly, even the smallest patch needs a CLA. %prep %autosetup -n textfsm-0.4.1 @@ -176,5 +68,7 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wen May 26 2021 openstack-sig +- Fix Provides * Sun May 16 2021 openstack-sig - Package Spec generated -- Gitee