!81 [sync] PR-80: fix build problem

From: @openeuler-sync-bot 
Reviewed-by: @wbq_sky 
Signed-off-by: @wbq_sky
This commit is contained in:
openeuler-ci-bot 2022-09-15 02:00:39 +00:00 committed by Gitee
commit 4255fd05db
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6,7 +6,7 @@
Name: sqlite
Version: 3.37.2
Release: 2
Release: 3
Summary: Embeded SQL database
License: Public Domain
URL: http://www.sqlite.org/
@ -70,9 +70,9 @@ This contains man files and HTML files for the using of sqlite.
rm -f %{name}-doc-%{extver}/sqlite.css~ || :
autoconf
%build
autoconf
export CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 \
-DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 \
@ -137,6 +137,9 @@ make test
%{_mandir}/man*/*
%changelog
* Wed Sep 14 2022 zhuwentao <zhuwentao5@huawei.com> - 3.37.2-3
- fix build problem
* Mon Sep 5 2022 zhuwentao <zhuwentao5@huawei.com> - 3.37.2-2
- fix integer overflow on gigabyte string