From 4d62ea3bfee9196f5c0611f5e6077172dc310446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Fri, 13 Dec 2024 08:17:03 +0000 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) --- gcc-7.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc-7.spec b/gcc-7.spec index bbab1d4..9f0d7a9 100644 --- a/gcc-7.spec +++ b/gcc-7.spec @@ -92,7 +92,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: %{?scl_prefix}gcc%{gcc_ver} Version: 7.3.0 -Release: 2 +Release: 3 # libgcc, libgfortran, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD @@ -661,9 +661,9 @@ not stable, so plugins must be rebuilt any time GCC is updated. %prep %setup -q -n gcc-7.3.0 -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%patch 0 -p1 +%patch 1 -p1 +%patch 2 -p1 echo '%{vendor} %{version}-%{release}' > gcc/DEV-PHASE @@ -2729,6 +2729,9 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Fri Dec 13 2024 litian 7.3.0-3 +- fix %patchN is deprecated warning + * Wed Dec 13 2023 eastb233 7.3.0-2 - Delete rpath -- Gitee