delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-08-02 10:07:49 +08:00
parent 524c70d42d
commit ddb8098fa3
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -4,7 +4,7 @@
Name: python-configshell Name: python-configshell
Summary: Python library that provides a framework for building simple but nice CLI-based applications. Summary: Python library that provides a framework for building simple but nice CLI-based applications.
Version: 1.1.27 Version: 1.1.27
Release: 3 Release: 4
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/open-iscsi/configshell-fb URL: https://github.com/open-iscsi/configshell-fb
Source0: https://github.com/open-iscsi/configshell-fb/archive/v1.1.27.tar.gz 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 %package -n python3-configshell
Summary: %summary Summary: %summary
BuildRequires: git python3-devel BuildRequires: python3-devel
Requires: python3-pyparsing python3-urwid Requires: python3-pyparsing python3-urwid
%{?python_provide:%python_provide python3-configshell} %{?python_provide:%python_provide python3-configshell}
%description -n python3-configshell %_description %description -n python3-configshell %_description
%prep %prep
%autosetup -n configshell-fb-%{version} -p1 -Sgit %autosetup -n configshell-fb-%{version} -p1
rm -rf %{py3dir} rm -rf %{py3dir}
cp -a . %{py3dir} cp -a . %{py3dir}
@ -47,6 +47,9 @@ popd
%doc README.md %doc README.md
%changelog %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 * Wed Oct 21 2020 zhangtao <zhangtao221@huawei.com> - 1.1.27-3
- delete python2 - delete python2