move the libtoolize and autoreconf to build.

(cherry picked from commit f14d185a46dd2800773fa01b3f837a550209f2da)
This commit is contained in:
huangduirong 2022-10-05 16:22:16 +08:00 committed by openeuler-sync-bot
parent ff8c1223f1
commit 53b60385b7

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