From fb836b14b6a3689793bfd7546ede32635206722c Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Tue, 17 Dec 2024 15:01:27 +0800 Subject: [PATCH] fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) --- eclipse-m2e-workspace.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eclipse-m2e-workspace.spec b/eclipse-m2e-workspace.spec index 9be7aab..ca4be0f 100644 --- a/eclipse-m2e-workspace.spec +++ b/eclipse-m2e-workspace.spec @@ -1,7 +1,7 @@ %global short_name m2e-workspace Name: eclipse-m2e-workspace Version: 0.4.0 -Release: 2 +Release: 3 Summary: M2E CLI workspace resolver License: EPL-1.0 URL: https://www.eclipse.org/m2e/ @@ -26,7 +26,7 @@ This package provides %{summary}. %prep %setup -q -n org.eclipse.m2e.workspace-%{short_name}-%{version} -%patch0 -p1 +%patch -P 0 -p1 cp -a %{SOURCE1} . pushd org.eclipse.m2e.workspace.cli %pom_remove_dep org.sonatype.aether @@ -50,6 +50,9 @@ popd %license epl-v10.html %changelog +* Tue Dec 17 2024 chenhao - 0.4.0-3 +- Fix %patchN is deprecated warning + * Wed Nov 09 2022 Ge Wang - 0.4.0-2 - Bring source file into correspondence with described in spec file -- Gitee