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

This commit is contained in:
chenyanpanHW 2021-07-30 23:27:17 +08:00
parent decbd87d5c
commit 2c15ddf46e
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -4,7 +4,7 @@
Name: python-openstacksdk
Version: 0.55.0
Release: 1
Release: 2
Summary: An SDK for building applications to work with OpenStack
License: ASL 2.0
@ -12,7 +12,6 @@ URL: http://www.openstack.org/
Source0: https://pypi.io/packages/source/o/openstacksdk/openstacksdk-%{version}.tar.gz
BuildArch: noarch
BuildRequires: git
%description
A collection of libraries for building applications to work with OpenStack clouds.
@ -88,7 +87,7 @@ clouds - documentation.
%endif
%prep
%autosetup -n openstacksdk-%{version} -S git
%autosetup -n openstacksdk-%{version} -p1
rm -rf {,test-}requirements.txt
rm -f openstack/tests/unit/test_stats.py
@ -128,6 +127,9 @@ PYTHON=python3 stestr --test-path ./openstack/tests/unit run
%endif
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.55.0-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Wed Jul 28 2021 huangtianhua <huangtianhua@huawei.com> 0.55.0-1
- Upgrade to 0.55.0
* Thu Jan 26 2021 Python_Bot <Python_Bot@openeuler.org>