!19 delete -S git from %autosetup

From: @wangqiang95 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2022-07-22 05:55:46 +00:00 committed by Gitee
commit 638ed39d10
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: pcs
Version: 0.10.8
Release: 2
Release: 3
License: GPLv2 and BSD-2-Clause and ASL 2.0 and MIT
URL: https://github.com/ClusterLabs/pcs
Summary: Pacemaker Configuration System
@ -45,7 +45,6 @@ Patch0: 0001-Resolve-the-failure-of-field-matching-in-test-cases.patch
Patch1: 0002-FIX-CVE-2022-1049.patch
# git for patches
BuildRequires: make
BuildRequires: git-core
#printf from coreutils is used in makefile
BuildRequires: coreutils
# python for pcs
@ -164,7 +163,7 @@ Provides: bundled(pyagentx) = %{pyagentx_version}
SNMP agent that provides information about pacemaker cluster to the master agent (snmpd)
%prep
%autosetup -p1 -S git -n %{pcs_source_name}
%autosetup -p1 -n %{pcs_source_name}
# -- following is inspired by python-simplejon.el5 --
# Update timestamps on the files touched by a patch, to avoid non-equal
@ -387,6 +386,12 @@ remove_all_tests
%license pyagentx_LICENSE.txt
%changelog
* Wed Jul 20 2022 wangqiang <wangqiang1@kylinos.cn> - 0.10.8-3
- Type:Feature
- ID:NA
- SUG:NA
- DESC:delete "-S git" from %autosetup
* Fri Jun 17 2022 duyiwei <duyiwei@kylinos.cn> - 0.10.8-2
- FIX-CVE-2022-1049