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:
parent
bb535f3a89
commit
26e9dff8a9
17
chmlib.spec
17
chmlib.spec
@ -1,7 +1,7 @@
|
|||||||
Name: chmlib
|
Name: chmlib
|
||||||
Summary: Library for dealing with ITSS/CHM format files
|
Summary: Library for dealing with ITSS/CHM format files
|
||||||
Version: 0.40
|
Version: 0.40
|
||||||
Release: 1
|
Release: 2
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Url: http://www.jedrea.com/chmlib/
|
Url: http://www.jedrea.com/chmlib/
|
||||||
Source0: http://www.jedrea.com/chmlib/%{name}-%{version}.tar.bz2
|
Source0: http://www.jedrea.com/chmlib/%{name}-%{version}.tar.bz2
|
||||||
@ -41,12 +41,12 @@ Files needed for developing apps using chmlib.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .types
|
%patch 1 -p1 -b .types
|
||||||
%patch2 -p1 -b .files_dirs
|
%patch 2 -p1 -b .files_dirs
|
||||||
%patch3 -p1 -b .shortopt
|
%patch 3 -p1 -b .shortopt
|
||||||
%patch4 -p1 -b .localhost
|
%patch 4 -p1 -b .localhost
|
||||||
%patch5 -p1 -b .printaddr
|
%patch 5 -p1 -b .printaddr
|
||||||
%patch6 -p1
|
%patch 6 -p1
|
||||||
rm -f libtool
|
rm -f libtool
|
||||||
mv configure.in configure.ac
|
mv configure.in configure.ac
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
@ -81,6 +81,9 @@ rm -f %{buildroot}/%{_libdir}/*.la
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed May 10 2023 peijiankang <peijiankang@kylinos.cn> - 0.40-1
|
||||||
- Init Package
|
- Init Package
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user