Move autoreconf to build

(cherry picked from commit 8984e431446a8b4d326877f6d6bdadbe749c14e4)
This commit is contained in:
ZhouPengcheng 2022-12-13 19:21:24 +08:00 committed by openeuler-sync-bot
parent 7b38a8aced
commit a711392068

View File

@ -1,7 +1,7 @@
%define Rversion %(echo %{version} | sed -e 's/\\./_/g' -e 's/^/R_/')
Name: expat
Version: 2.2.9
Release: 9
Release: 10
Summary: An XML parser library
License: MIT
URL: https://libexpat.github.io/
@ -72,8 +72,8 @@ This package provides with static libraries and header files for developing wit
%prep
%autosetup -p1
autoreconf -fiv
%build
autoreconf -fiv
%configure CFLAGS="$RPM_OPT_FLAGS -fPIC" DOCBOOK_TO_MAN="xmlto man --skip-validation"
%make_build
@ -105,6 +105,9 @@ make check
%{_mandir}/man1/*
%changelog
* Tue Dec 13 2022 zhoupengcheng <zhoupengcheng11@huawei.com> - 2.2.9-10
- Move autoreconf to build
* Sat Oct 29 2022 fuanan <fuanan3@h-partners.com> - 2.2.9-9
- fix CVE-2022-43680