From 30526ef1c3bd946a2d66a4f26dbf894bb84bbacb Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Mon, 2 Aug 2021 02:42:04 +0000 Subject: [PATCH] Add python3-setuptools_scm as buildrequire --- python-cmd2.spec | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/python-cmd2.spec b/python-cmd2.spec index 9e67e71..41bf10f 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -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 - 1.4.0-3 +- Add python3-setuptools_scm as buildrequire * Fri Jan 29 2021 zhangy - Add buildrequires * Wed Dec 09 2020 Python_Bot -- Gitee