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

This commit is contained in:
chenyanpanHW 2021-07-30 23:20:18 +08:00
parent 908245141d
commit ce2fc34fb8
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -4,7 +4,7 @@
Name: python-castellan Name: python-castellan
Version: 3.6.0 Version: 3.6.0
Release: 2%{?dist} Release: 3
Summary: Generic Key Manager interface for OpenStack Summary: Generic Key Manager interface for OpenStack
Group: Development/Languages Group: Development/Languages
@ -14,7 +14,6 @@ Source0: https://tarballs.openstack.org/castellan/castellan-%{upstream_ve
BuildArch: noarch BuildArch: noarch
BuildRequires: openstack-macros BuildRequires: openstack-macros
BuildRequires: git
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pbr BuildRequires: python3-pbr
@ -53,7 +52,7 @@ Requires: python3-requests >= 2.18.0
Generic Key Manager interface for OpenStack Generic Key Manager interface for OpenStack
%prep %prep
%autosetup -n castellan-%{upstream_version} -S git %autosetup -n castellan-%{upstream_version} -p1
%py_req_cleanup %py_req_cleanup
%build %build
@ -71,5 +70,8 @@ PYTHON=python3 OS_TEST_PATH=./castellan/tests/unit python3 setup.py test
%{python3_sitelib}/castellan-*.egg-info %{python3_sitelib}/castellan-*.egg-info
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.6.0-3
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Mon Nov 23 2020 Python_Bot <Python_Bot@openeuler.org> * Mon Nov 23 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated - Package Spec generated