Accepting request 619776 from server:database
OBS-URL: https://build.opensuse.org/request/show/619776 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=106
This commit is contained in:
commit
0b73b6b295
@ -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
|
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: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: tcl
|
BuildRequires: tcl-devel
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
Provides: %{oname} = %{version}
|
Provides: %{oname} = %{version}
|
||||||
@ -93,9 +93,7 @@ application which supports the Qt database plug-ins.
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
%if 0%{?suse_version} >= 1130
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
|
|
||||||
@ -135,13 +133,23 @@ export CFLAGS="%{optflags} \
|
|||||||
--enable-json1 \
|
--enable-json1 \
|
||||||
--enable-update-limit \
|
--enable-update-limit \
|
||||||
--enable-rtree
|
--enable-rtree
|
||||||
make sqlite3.c
|
make %{?_smp_mflags} sqlite3.c
|
||||||
make %{?_smp_mflags}
|
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
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
mkdir -p %{buildroot}/%{_mandir}/man1/
|
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
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libsqlite3-0 -p /sbin/ldconfig
|
%post -n libsqlite3-0 -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user