!8 python-configshell delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-20 10:06:06 +00:00 committed by Gitee
commit bc8d34ede5

View File

@ -4,7 +4,7 @@
Name: python-configshell
Summary: Python library that provides a framework for building simple but nice CLI-based applications.
Version: 1.1.27
Release: 3
Release: 4
License: ASL 2.0
URL: https://github.com/open-iscsi/configshell-fb
Source0: https://github.com/open-iscsi/configshell-fb/archive/v1.1.27.tar.gz
@ -18,14 +18,14 @@ This runs with Python 3 and python 3 is run by setup.py to run on Python 3.\
%package -n python3-configshell
Summary: %summary
BuildRequires: git python3-devel
BuildRequires: python3-devel
Requires: python3-pyparsing python3-urwid
%{?python_provide:%python_provide python3-configshell}
%description -n python3-configshell %_description
%prep
%autosetup -n configshell-fb-%{version} -p1 -Sgit
%autosetup -n configshell-fb-%{version} -p1
rm -rf %{py3dir}
cp -a . %{py3dir}
@ -47,6 +47,9 @@ popd
%doc README.md
%changelog
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.1.27-4
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Wed Oct 21 2020 zhangtao <zhangtao221@huawei.com> - 1.1.27-3
- delete python2