!16 [sync] PR-15: 将spec文件中libtoolize和autoreconf移到build阶段

From: @openeuler-sync-bot 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2022-10-08 01:23:00 +00:00 committed by Gitee
commit dc639cd9e6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: pcre
Version: 8.45
Release: 1
Release: 2
Summary: Perl Compatible Regular Expressions
## Source package only:
# INSTALL: FSFAP
@ -70,10 +70,10 @@ The %{name}-help package contains doc files for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
libtoolize -cf
autoreconf -vif
%build
libtoolize -cf
autoreconf -vif
%configure \
%ifarch riscv64
--disable-jit \
@ -116,6 +116,12 @@ make check VERBOSE=yes
%{_mandir}/man3/*
%changelog
* Wed Oct 5 2022 huangduirong <huangduirong@huawei.com> - 8.45-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update the prep of spec
* Wed Dec 1 2021 wangjie <wangjie375@huawei.com> - 8.45-1
- Type:enhancement
- ID:NA