From b584a5ddc2c2c5bf59bd9afb6c261494b35ab9e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Tue, 17 Dec 2024 09:42:18 +0800 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) --- jboss-jsf-2.1-api.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jboss-jsf-2.1-api.spec b/jboss-jsf-2.1-api.spec index 181b5da..9995c16 100644 --- a/jboss-jsf-2.1-api.spec +++ b/jboss-jsf-2.1-api.spec @@ -2,7 +2,7 @@ %global namedversion %{version}%{?namedreltag} Name: jboss-jsf-2.1-api Version: 2.1.29.1 -Release: 2 +Release: 3 Summary: JavaServer Faces 2.1 API License: CDDL-1.1 or GPLv2 with exceptions URL: http://www.jboss.org @@ -24,7 +24,7 @@ This package contains the API documentation for %{name}. %prep %setup -q -n jboss-jsf-api_spec-jboss-jsf-api_2.1_spec-%{namedversion} -%patch0 -p1 +%patch -P 0 -p1 %mvn_file :jboss-jsf-api_2.1_spec %{name} %mvn_alias :jboss-jsf-api_2.1_spec javax.faces:jsf-api @@ -43,6 +43,9 @@ This package contains the API documentation for %{name}. %doc README %changelog +* Tue Dec 17 2024 litian - 2.1.29.1-3 +- fix %patchN is deprecated warning + * Thu Jun 30 2022 Chenyx - 2.1.29.1-2 - License compliance rectification -- Gitee