!5 [sync] PR-4: fix build warnings:patchN is deprecated, use patch N (or %patch -P N )

From: @openeuler-sync-bot 
Reviewed-by: @tangjie02 
Signed-off-by: @tangjie02
This commit is contained in:
openeuler-ci-bot 2025-01-24 08:22:33 +00:00 committed by Gitee
commit 574a03291d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <dev11201@linx-info.com> - 0.40-2
- Fix %patchN is deprecated warning
* Wed May 10 2023 peijiankang <peijiankang@kylinos.cn> - 0.40-1
- Init Package