From ab5454fa3a0a48fae4bc8d7c1a52c6db4a417ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Tue, 17 Dec 2024 13:24:38 +0800 Subject: [PATCH] fix build warnings: %patchN is deprecated, use %patch N (or %patch -P N) --- jhighlight.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jhighlight.spec b/jhighlight.spec index 065d3ba..301ad16 100644 --- a/jhighlight.spec +++ b/jhighlight.spec @@ -1,6 +1,6 @@ Name: jhighlight Version: 1.1.0 -Release: 1 +Release: 2 Summary: An embeddable pure Java syntax highlighting library License: LGPLv2+ or CDDL-1.0 URL: http://svn.rifers.org/jhighlight @@ -24,7 +24,7 @@ This package contains the API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} -%patch0 -p1 +%patch -P 0 -p1 %mvn_alias : com.uwyn: %build @@ -43,6 +43,9 @@ This package contains the API documentation for %{name}. %doc COPYING %changelog +* Tue Dec 17 2024 litian - 1.1.0-2 +- fix %patchN is deprecated warning + * Mon Jan 15 2024 Ge Wang - 1.1.0-1 - update to version 1.1.0 -- Gitee