From 26e9dff8a94314282bd8f18a96ca8314a090bf3a Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Tue, 17 Dec 2024 09:31:23 +0800 Subject: [PATCH] fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) Signed-off-by: Chen Hao (cherry picked from commit 731397845a13bc166fdffc4ac2779d3b59d6dbb3) --- chmlib.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/chmlib.spec b/chmlib.spec index 427f29d..31e2b21 100644 --- a/chmlib.spec +++ b/chmlib.spec @@ -1,7 +1,7 @@ Name: chmlib Summary: Library for dealing with ITSS/CHM format files Version: 0.40 -Release: 1 +Release: 2 License: LGPLv2+ Url: http://www.jedrea.com/chmlib/ Source0: http://www.jedrea.com/chmlib/%{name}-%{version}.tar.bz2 @@ -41,12 +41,12 @@ Files needed for developing apps using chmlib. %prep %setup -q -%patch1 -p1 -b .types -%patch2 -p1 -b .files_dirs -%patch3 -p1 -b .shortopt -%patch4 -p1 -b .localhost -%patch5 -p1 -b .printaddr -%patch6 -p1 +%patch 1 -p1 -b .types +%patch 2 -p1 -b .files_dirs +%patch 3 -p1 -b .shortopt +%patch 4 -p1 -b .localhost +%patch 5 -p1 -b .printaddr +%patch 6 -p1 rm -f libtool mv configure.in configure.ac autoreconf -ivf @@ -81,6 +81,9 @@ rm -f %{buildroot}/%{_libdir}/*.la %changelog +* Tue Dec 17 2024 chenhao - 0.40-2 +- Fix %patchN is deprecated warning + * Wed May 10 2023 peijiankang - 0.40-1 - Init Package