fix build warnings:patchN is deprecated, use patch N (or %patch -P N )

Signed-off-by: Chen Hao <dev11201@linx-info.com>
(cherry picked from commit 731397845a13bc166fdffc4ac2779d3b59d6dbb3)
This commit is contained in:
Chen Hao 2024-12-17 09:31:23 +08:00 committed by openeuler-sync-bot
parent bb535f3a89
commit 6edf037e32

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