delete -Sgit from %autosetup, and delete BuildRequires git

(cherry picked from commit 07eaa1bc00cbd22ec545a25d51099adf6fc451d3)
This commit is contained in:
chenyanpanHW 2021-07-30 23:21:36 +08:00 committed by openeuler-sync-bot
parent b8d207611a
commit 73449a1d6c

View File

@ -3,14 +3,14 @@
Name: python-configobj Name: python-configobj
Version: 5.0.6 Version: 5.0.6
Release: 15 Release: 17
Summary: ConfigObj is a simple but powerful config file reader and writer Summary: ConfigObj is a simple but powerful config file reader and writer
License: BSD License: BSD
URL: http://configobj.readthedocs.org/ URL: http://configobj.readthedocs.org/
Source0: https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz Source0: https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz
BuildRequires:python2-devel python2-pytest python2-setuptools python2-six BuildRequires:python2-devel python2-pytest python2-setuptools python2-six
BuildRequires:python3-devel python3-pytest python3-setuptools python3-six git BuildRequires:python3-devel python3-pytest python3-setuptools python3-six
BuildArch: noarch BuildArch: noarch
%description %description
@ -47,7 +47,7 @@ Requires: python3-six
config file reader and writer config file reader and writer
%prep %prep
%autosetup -n configobj-%{version} -p1 -Sgit %autosetup -n configobj-%{version} -p1
%build %build
%py2_build %py2_build
@ -73,5 +73,8 @@ export PYTHONWARNINGS=always
%{python3_sitelib}/* %{python3_sitelib}/*
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 5.0.6-17
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Sat Sep 7 2019 wubo<wubo40@huawei.com> - 5.0.6-15 * Sat Sep 7 2019 wubo<wubo40@huawei.com> - 5.0.6-15
- Package init - Package init