delete -S git from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:26:40 +08:00
parent 7b3f92f11e
commit 2e0ab72ae8
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

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