forked from pool/sqlite3
Accepting request 619771 from home:pluskalm:branches:server:database
- Run tests during build OBS-URL: https://build.opensuse.org/request/show/619771 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=211
This commit is contained in:
parent
8d3cb8c1de
commit
5513048e30
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 29 10:21:38 UTC 2018 - mpluskal@suse.com
|
||||
|
||||
- Run tests during build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 8 14:01:06 UTC 2018 - guillaume.gardet@opensuse.org
|
||||
|
||||
|
18
sqlite3.spec
18
sqlite3.spec
@ -32,7 +32,7 @@ BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: tcl
|
||||
BuildRequires: tcl-devel
|
||||
BuildRequires: unzip
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Provides: %{oname} = %{version}
|
||||
@ -93,9 +93,7 @@ application which supports the Qt database plug-ins.
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Documentation/Other
|
||||
%if 0%{?suse_version} >= 1130
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description doc
|
||||
|
||||
@ -135,13 +133,23 @@ export CFLAGS="%{optflags} \
|
||||
--enable-json1 \
|
||||
--enable-update-limit \
|
||||
--enable-rtree
|
||||
make sqlite3.c
|
||||
make %{?_smp_mflags} sqlite3.c
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%ifnarch %ix86
|
||||
# Tests fail due to slight precision variation caused by FPU being 80-bit internally.
|
||||
# see https://bugs.gentoo.org/628242
|
||||
%check
|
||||
make %{?_smp_mflags} test
|
||||
%endif
|
||||
|
||||
%install
|
||||
%make_install
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1/
|
||||
cp sqlite3.1 %{buildroot}/%{_mandir}/man1/
|
||||
install -Dpm 0644 sqlite3.1 \
|
||||
%{buildroot}/%{_mandir}/man1/sqlite3.1
|
||||
# tcl bindings are provided by tcl itself
|
||||
rm -rf %{buildroot}%{_libdir}/tcl/tcl8.?/sqlite3*
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n libsqlite3-0 -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user