!11 【轻量级 PR】:Add python3-setuptools_scm as buildrequire

From: @huangtianhua
Reviewed-by: @myeuler
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2021-08-02 08:21:01 +00:00 committed by Gitee
commit 374982087b

View File

@ -1,13 +1,24 @@
%global _empty_manifest_terminate_build 0
Name: python-cmd2
Version: 1.4.0
Release: 2
Release: 3
Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
License: MIT
URL: https://github.com/python-cmd2/cmd2
Source0: https://files.pythonhosted.org/packages/c1/76/98f8767ddc8febfbd6367b2fcd391cd92087496d00e58ad99008e126035e/cmd2-1.4.0.tar.gz
BuildArch: noarch
%description
cmd2 is a tool for building interactive command line applications in Python.
%package -n python3-cmd2
Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
Provides: python-cmd2
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-pbr
BuildRequires: python3-setuptools_scm
Requires: python3-attrs
Requires: python3-colorama
Requires: python3-pyperclip
@ -36,16 +47,6 @@ Requires: python3-pytest-mock
Requires: python3-mock
Requires: python3-gnureadline
%description
cmd2 is a tool for building interactive command line applications in Python.
%package -n python3-cmd2
Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
Provides: python-cmd2
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-pbr
%description -n python3-cmd2
cmd2 is a tool for building interactive command line applications in Python.
@ -96,6 +97,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Mon Aug 2 2021 huangtianhua <huangtianhua@huawei.com> - 1.4.0-3
- Add python3-setuptools_scm as buildrequire
* Fri Jan 29 2021 zhangy <zhangy1317@foxmail.com>
- Add buildrequires
* Wed Dec 09 2020 Python_Bot <Python_Bot@openeuler.org>