!60 [sync] PR-57: 将autoreconf文件内容的生成移到build中

From: @openeuler-sync-bot 
Reviewed-by: @lvying6 
Signed-off-by: @lvying6
This commit is contained in:
openeuler-ci-bot 2022-12-17 09:55:55 +00:00 committed by Gitee
commit 5cee5c7f83
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.1
Release: 7
Release: 8
Summary: An XML parser library
License: MIT
URL: https://libexpat.github.io/
@ -49,8 +49,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
@ -83,6 +83,9 @@ make check
%{_mandir}/man1/*
%changelog
* Tue Dec 13 2022 zhoupengcheng <zhoupengcheng11@huawei.com> - 2.4.8-8
- Move autoreconf to build
* Sat Oct 29 2022 fuanan <fuanan3@h-partners.com> - 2.4.1-7
- fix CVE-2022-43680