diff --git a/python-textfsm.spec b/python-textfsm.spec index 28e7e85a7f2e3907c4ee393b2dfd22475910629b..35421cc20fa880eb64f52ea18860ca88dae3eaa1 100644 --- a/python-textfsm.spec +++ b/python-textfsm.spec @@ -1,16 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-textfsm Version: 1.1.0 -Release: 1 +Release: 2 Summary: Python module for parsing semi-structured text into python tables. License: ASL 2.0 URL: https://github.com/google/textfsm Source0: https://github.com/google/textfsm/archive/v%{version}.tar.gz BuildArch: noarch -Requires: python3-future -Requires: python3-six - %description Python module which implements a template based state machine for parsing semi-formatted text. Originally developed to allow programmatic access to @@ -31,9 +28,13 @@ licence for the benefit of the wider community. %package -n python3-textfsm Summary: Python module for parsing semi-structured text into python tables. Provides: python-textfsm +BuildRequires: python3-pip +BuildRequires: python3-pbr BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-six +Requires: python3-future +Requires: python3-six %description -n python3-textfsm Python module which implements a template based state machine for parsing semi-formatted text. Originally developed to allow programmatic access to @@ -72,7 +73,7 @@ licence for the benefit of the wider community. [**See documentation for more details.**](https://github.com/google/textfsm/wiki/TextFSM) %prep -%autosetup -n textfsm-1.1.0 +%autosetup -n textfsm-%{version} %build %py3_build @@ -112,5 +113,7 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 2 2021 huangtianhua +- Adds python3-pip/pbr as BuildRequires * Mon Mar 15 2021 Python_Bot - Package Spec generated