From 80622c151fcb442384fe31d42948cc8112f8cb2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Tue, 17 Dec 2024 09:56:30 +0800 Subject: [PATCH] fix build warnings: %patchN is deprecated, use %patch N (or %patch -P N) --- jboss-rmi-1.0-api.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jboss-rmi-1.0-api.spec b/jboss-rmi-1.0-api.spec index 406923d..d859e0b 100644 --- a/jboss-rmi-1.0-api.spec +++ b/jboss-rmi-1.0-api.spec @@ -2,7 +2,7 @@ %define namedversion %{version}%{?namedreltag} Name: jboss-rmi-1.0-api Version: 1.0.4 -Release: 1 +Release: 2 Summary: Java Remote Method Invocation 1.0 API License: GPLv2+ URL: https://github.com/jboss/jboss-rmi-api_spec @@ -22,7 +22,7 @@ This package contains the API documentation for %{name}. %prep %setup -q -n jboss-rmi-api_spec-jboss-rmi-api_1.0_spec-%{namedversion} -%patch0 -p1 +%patch -P 0 -p1 %pom_xpath_remove "pom:dependency[pom:groupId = 'jacorb']/pom:scope" %mvn_file : %{name} @@ -39,5 +39,8 @@ This package contains the API documentation for %{name}. %license src/main/resources/LICENSE %changelog +* Tue Dec 17 2024 litian - 1.0.4-2 +- fix %patchN is deprecated warning + * Wed May 12 2021 caodongxia - 1.0.4-1 - package init -- Gitee