Accepting request 416551 from home:scarabeus_iv:branches:server:database
- Reduce the conditions a bit and sort with spec-cleaner - Remove condition for old sle10 ppc machines OBS-URL: https://build.opensuse.org/request/show/416551 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=162
This commit is contained in:
parent
62bae05a2a
commit
777c75ce13
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 2 11:00:30 UTC 2016 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Reduce the conditions a bit and sort with spec-cleaner
|
||||||
|
- Remove condition for old sle10 ppc machines
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 18 19:43:17 UTC 2016 - idonmez@suse.com
|
Wed May 18 19:43:17 UTC 2016 - idonmez@suse.com
|
||||||
|
|
||||||
|
25
sqlite3.spec
25
sqlite3.spec
@ -16,11 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Simplify building on RH for Application:Geo (SR#212812).
|
|
||||||
%define pname sqlite3
|
|
||||||
%define oname sqlite
|
%define oname sqlite
|
||||||
%define tarversion 3130000
|
%define tarversion 3130000
|
||||||
Name: %{pname}
|
Name: sqlite3
|
||||||
Version: 3.13.0
|
Version: 3.13.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Embeddable SQL Database Engine
|
Summary: Embeddable SQL Database Engine
|
||||||
@ -34,22 +32,14 @@ Patch1: sqlite-fts5-link.patch
|
|||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
Requires: libsqlite3-0 = %{version}
|
Requires: libsqlite3-0 = %{version}
|
||||||
Provides: %{oname} = %{version}
|
Provides: %{oname} = %{version}
|
||||||
Obsoletes: %{oname} < %{version}
|
Obsoletes: %{oname} < %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version:1}
|
|
||||||
BuildRequires: update-desktop-files
|
|
||||||
%endif
|
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
|
||||||
Obsoletes: sqlite-64bit < %{version}
|
|
||||||
Provides: sqlite-64bit = %{version}
|
|
||||||
%endif
|
|
||||||
#
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
SQLite is a C library that implements an embeddable SQL database
|
SQLite is a C library that implements an embeddable SQL database
|
||||||
@ -105,10 +95,8 @@ application which supports the Qt database plug-ins.
|
|||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
Group: Documentation
|
Group: Documentation/Other
|
||||||
%if 0%{?suse_version} >= 1130
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
|
|
||||||
@ -123,7 +111,7 @@ rm -v sqlite-doc-%{tarversion}/releaselog/current.html
|
|||||||
ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html
|
ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fiv
|
||||||
export CFLAGS="%{optflags} \
|
export CFLAGS="%{optflags} \
|
||||||
-DSQLITE_ENABLE_API_ARMOR \
|
-DSQLITE_ENABLE_API_ARMOR \
|
||||||
-DSQLITE_ENABLE_COLUMN_METADATA \
|
-DSQLITE_ENABLE_COLUMN_METADATA \
|
||||||
@ -144,11 +132,12 @@ export CFLAGS="%{optflags} \
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
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
|
||||||
%postun -n libsqlite3-0 -p /sbin/ldconfig
|
%postun -n libsqlite3-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/sqlite3
|
%{_bindir}/sqlite3
|
||||||
|
Loading…
Reference in New Issue
Block a user