!9 Adds pip/pbr/pytest-runner as BuildRequires

From: @huangtianhua
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2021-08-06 03:18:14 +00:00 committed by Gitee
commit 51ac5428e9

View File

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