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
Version: 5.0.6
Release: 15
Release: 17
Summary: ConfigObj is a simple but powerful config file reader and writer
License: BSD
URL: http://configobj.readthedocs.org/
Source0: https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz
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
%description
@ -47,7 +47,7 @@ Requires: python3-six
config file reader and writer
%prep
%autosetup -n configobj-%{version} -p1 -Sgit
%autosetup -n configobj-%{version} -p1
%build
%py2_build
@ -73,5 +73,8 @@ export PYTHONWARNINGS=always
%{python3_sitelib}/*
%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
- Package init