From c1db5af0c4e0098e3696e670d96689d6ce7914a8 Mon Sep 17 00:00:00 2001 From: wangqiang Date: Wed, 20 Jul 2022 13:57:43 +0800 Subject: [PATCH] Delete -S git from %autosetup (cherry picked from commit 4bbd409f44c9396c8e54df9dee912ddf3cdd7c3f) --- pcs.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pcs.spec b/pcs.spec index 8a45725..274f808 100644 --- a/pcs.spec +++ b/pcs.spec @@ -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 - 0.10.8-3 +- Type:Feature +- ID:NA +- SUG:NA +- DESC:delete "-S git" from %autosetup + * Fri Jun 17 2022 duyiwei - 0.10.8-2 - FIX-CVE-2022-1049 -- Gitee