From 233b4bcaf5a36c563361c4251812211508c656c4 Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Tue, 17 Dec 2024 15:06:02 +0800 Subject: [PATCH] fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) --- emma.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/emma.spec b/emma.spec index a657883..b0f9808 100644 --- a/emma.spec +++ b/emma.spec @@ -2,7 +2,7 @@ Summary: Code Coverage Tool Name: emma Version: %{shortver}.5312 -Release: 1 +Release: 2 Epoch: 0 License: CPL URL: https://sourceforge.net/projects/emma/ @@ -38,12 +38,12 @@ Summary: Javadoc for %{name} cp -p %{SOURCE3} . cp -p %{SOURCE4} . rm lib/internal/stamptool.jar -%patch0 -b .orig -%patch1 -b .orig -%patch2 -p1 -b .orig -%patch3 -b .orig -%patch4 -b .orig -%patch5 -b .orig +%patch 0 -b .orig +%patch 1 -b .orig +%patch 2 -p1 -b .orig +%patch 3 -b .orig +%patch 4 -b .orig +%patch 5 -b .orig %build [ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java @@ -62,5 +62,8 @@ ant -Dbuild.compiler=modern build javadoc %doc cpl-v10.html %changelog +* Tue Dec 17 2024 chenhao - 0:%{shortver}.5312-2 +- Fix %patchN is deprecated warning + * Fri Aug 14 2020 Anan Fu - %{shortver}.5312-1 - package init -- Gitee