diff --git a/sqlite3.changes b/sqlite3.changes index f87edd4..770a321 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -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 diff --git a/sqlite3.spec b/sqlite3.spec index df6a72c..4c8c331 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -16,11 +16,9 @@ # -# Simplify building on RH for Application:Geo (SR#212812). -%define pname sqlite3 %define oname sqlite %define tarversion 3130000 -Name: %{pname} +Name: sqlite3 Version: 3.13.0 Release: 0 Summary: Embeddable SQL Database Engine @@ -34,22 +32,14 @@ Patch1: sqlite-fts5-link.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: unzip +BuildRequires: update-desktop-files Requires: libsqlite3-0 = %{version} Provides: %{oname} = %{version} Obsoletes: %{oname} < %{version} 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 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 Summary: Documentation for %{name} -Group: Documentation -%if 0%{?suse_version} >= 1130 +Group: Documentation/Other BuildArch: noarch -%endif %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 %build -autoreconf -fi +autoreconf -fiv export CFLAGS="%{optflags} \ -DSQLITE_ENABLE_API_ARMOR \ -DSQLITE_ENABLE_COLUMN_METADATA \ @@ -144,11 +132,12 @@ export CFLAGS="%{optflags} \ make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install find %{buildroot} -type f -name "*.la" -delete -print %post -n libsqlite3-0 -p /sbin/ldconfig %postun -n libsqlite3-0 -p /sbin/ldconfig + %files %defattr(-,root,root) %{_bindir}/sqlite3