!10 python-openstacksdk 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 03:21:36 +00:00 committed by Gitee
commit 8af3d71e28

View File

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