From 0ad6b40d4bb79eec23c217d21e4343fa03db9dae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Tue, 17 Dec 2024 10:11:29 +0800 Subject: [PATCH] fix build warnings: %patchN is deprecated, use %patch N (or %patch -P N) --- jdiff.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jdiff.spec b/jdiff.spec index da450ea..9e9b76a 100644 --- a/jdiff.spec +++ b/jdiff.spec @@ -1,6 +1,6 @@ Name: jdiff Version: 1.1.1 -Release: 1 +Release: 2 Summary: An HTML Report of API Differences License: GPL+ and LGPLv2+ URL: http://javadiff.sourceforge.net/ @@ -34,7 +34,7 @@ This package contains javadoc for %{name}. %prep %setup -q -n jdiff -%patch0 -p0 +%patch -P 0 -p0 perl -pi -e 's/\r$//g' doc/CHANGES.txt doc/KNOWN_LIMITATIONS.txt doc/TODO doc/dev_notes.txt perl -pi -e 's/\r$//g' LICENSE.txt README.txt ln -sf $(build-classpath xerces-j2) lib/xerces.jar @@ -73,5 +73,8 @@ install -pm 755 %{SOURCE2} %{buildroot}%{_bindir}/%{name} %license LICENSE.txt %changelog +* Tue Dec 17 2024 litian - 1.1.1-2 +- fix %patchN is deprecated warning + * Wed Sep 2 2020 wutao - 1.1.1-1 - package init -- Gitee