From fe5063ccf1b63c19825c4fa6a6763daa416009b1 Mon Sep 17 00:00:00 2001 From: tbli Date: Fri, 13 Dec 2024 16:33:47 +0800 Subject: [PATCH] Fix build warnings: %patchN is deprecated --- xml-security.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xml-security.spec b/xml-security.spec index 3eee495..bee3251 100644 --- a/xml-security.spec +++ b/xml-security.spec @@ -3,7 +3,7 @@ Name: xml-security Version: 2.0.6 -Release: 1 +Release: 2 Epoch: 0 Summary: Implementation of W3C security standards for XML License: ASL 2.0 @@ -43,7 +43,7 @@ Samples for %{name}. %prep %setup -q -n %{oname}-%{version} %pom_xpath_set "pom:properties/pom:jetty.version" 9.0.5.v20130815 -%patch0 -p0 +%patch 0 -p0 %pom_remove_plugin :maven-pmd-plugin %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :animal-sniffer-maven-plugin @@ -103,5 +103,8 @@ cp -pr samples/* $RPM_BUILD_ROOT%{_datadir}/%{name} %license LICENSE NOTICE %changelog +* Fri Dec 13 2024 tbli - 0:2.0.6-2 +- Fix build warnings: %patchN is deprecated + * Mon Aug 17 2020 maminjie - 2.0.6-1 - package init -- Gitee