!8 python-novaclient delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2021-08-02 02:46:19 +00:00 committed by Gitee
commit cfc8c4f8e1

View File

@ -4,7 +4,7 @@
Name: python-novaclient
Epoch: 1
Version: 17.2.1
Release: 1%{?dist}
Release: 2
Summary: Python API and CLI for OpenStack Nova
License: Apache-2.0
URL: https://launchpad.net/python-novaclient
@ -22,7 +22,6 @@ Summary: Python API and CLI for OpenStack Nova
%{?python_provide:%python_provide python3-novaclient}
Obsoletes: python2-novaclient < 17.2.1-1
BuildRequires: git
BuildRequires: openstack-macros
BuildRequires: python3-devel
BuildRequires: python3-pbr
@ -60,7 +59,7 @@ This package contains auto-generated documentation.
%endif
%prep
%autosetup -n python-novaclient-17.2.1 -S git
%autosetup -n python-novaclient-17.2.1 -p1
%py_req_cleanup
%build
@ -100,5 +99,8 @@ rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo doc/build/html/.htacce
%endif
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 17.2.1-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Jan 12 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated