!56 将autoreconf文件内容的生成移到build中

From: @zhoupengcheng11 
Reviewed-by: @lvying6 
Signed-off-by: @lvying6
This commit is contained in:
openeuler-ci-bot 2022-12-17 09:44:25 +00:00 committed by Gitee
commit 4fdd8e02c2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%define Rversion %(echo %{version} | sed -e 's/\\./_/g' -e 's/^/R_/')
Name: expat
Version: 2.4.8
Release: 4
Release: 5
Summary: An XML parser library
License: MIT
URL: https://libexpat.github.io/
@ -30,8 +30,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
@ -64,6 +64,9 @@ make check
%{_mandir}/man1/*
%changelog
* Tue Dec 13 2022 zhoupengcheng <zhoupengcheng11@huawei.com> - 2.4.8-5
- Move autoreconf to build
* Sat Oct 29 2022 fuanan <fuanan3@h-partners.com> - 2.4.8-4
- fix CVE-2022-43680