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

This commit is contained in:
chenyanpanHW 2021-07-30 23:25:38 +08:00
parent f26cddc3b2
commit a51bc5560a
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -3,7 +3,7 @@
Name: python-neutron-lib
Version: 2.10.1
Release: 1
Release: 2
Summary: OpenStack Neutron library
License: Apache-2.0
URL: http://launchpad.net/neutron/
@ -14,7 +14,6 @@ BuildRequires: python3-devel
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: git
BuildRequires: openstack-macros
%description
@ -100,7 +99,7 @@ This package contains the documentation.
%endif
%prep
%autosetup -n neutron-lib-%{version} -S git
%autosetup -n neutron-lib-%{version} -p1
%py_req_cleanup
%build
@ -139,6 +138,9 @@ PYTHON=python3 stestr --test-path $OS_TEST_PATH run
%endif
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.10.1-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Jul 15 2021 huangtianhua <huangtianhua@huawei.com> - 2.10.1-1
- Upgrade to 2.10.1 to support OpenStack-W