diff --git a/libsqlite.spec b/libsqlite.spec index 547e578..9069280 100644 --- a/libsqlite.spec +++ b/libsqlite.spec @@ -1,27 +1,27 @@ %define rel 00 #% define tclver %(echo %version | cut -d. -f1-3) %define tclver %(echo %version | sed "s|\.0$||") -%define real_version %(echo %version|sed "s|\.\\([0-9][0-9]\\)|\\1|g"|tr . 0) -%define doc_version %(echo %version |cut -d. -f1-3|sed "s|\.\\([0-9][0-9]\\)|\\1|g"|tr . 0) +%define real_version %(echo %version|sed "s|\.\\([0-9][0-9]\\)|\\1|g"|tr . 0)00 +%define doc_version %(echo %version |cut -d. -f1-3|sed "s|\.\\([0-9][0-9]\\)|\\1|g"|tr . 0)00 %if "%{_host}" == "%{_build}" %ifnarch arm %define with_check 1 %endif %endif -#% define year %(date +%Y) -%define year 2020 +%define year %(date +%Y) +#% define year 2020 Name: libsqlite -Version: 3.33.0.0 +Version: 3.35.5 Release: 1mamba Summary: A C library that implements an embeddable SQL database engine Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.sqlite.org +URL: https://www.sqlite.org/index.html Source0: https://www.sqlite.org/%{year}/sqlite-autoconf-%{real_version}.tar.gz -Source1: https://www.sqlite.org/%{year}/sqlite-doc-%{doc_version}00.zip +Source1: https://www.sqlite.org/%{year}/sqlite-doc-%{doc_version}.zip Patch0: %{name}-3.7.11.0-enable_column_metadata.patch Patch1: %{name}-3.6.18-libdl.patch # support a system-wide lemon template @@ -30,15 +30,15 @@ Patch3: libsqlite-3.7.4-wal2-nodirsync.patch License: Public Domain ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libedit-devel BuildRequires: libncurses-devel -BuildRequires: libreadline-devel +BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libtcl-devel Provides: sqlite3 = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: sqlite3 +Obsoletes: sqlite3 <= 3.33.0.0 Provides: libsqlite3 = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: libsqlite3 -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Obsoletes: libsqlite3 <= 3.33.0.0 %description SQLite is a C library that implements an embeddable SQL database engine. @@ -49,15 +49,14 @@ Summary: Static libraries and headers for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: sqlite3-devel = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: sqlite3-devel +Obsoletes: sqlite3-devel <= 3.33.0.0 Provides: libsqlite3-devel = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: libsqlite3-devel +Obsoletes: libsqlite3-devel <= 3.33.0.0 %description devel SQLite is a C library that implements an embeddable SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. - -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %package doc Summary: Documentation for SQLite @@ -65,7 +64,6 @@ Group: Documentation %description doc SQLite is a C library that implements an embeddable SQL database engine. - This package contains most of the static HTML files that comprise the www.sqlite.org website, including all of the SQL Syntax and the C/C++ interface specs and other miscellaneous documentation. %package -n lemon @@ -80,7 +78,7 @@ Summary: Tools for %{name} Group: Applications/Databases Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: sqlite3-tools = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: sqlite3-tools +Obsoletes: sqlite3-tools <= 3.33.0.0 %description tools A standalone command-line access program (sqlite3) that can be used to administer an SQLite database and which serves as an example of how to use the SQLite library. @@ -90,9 +88,9 @@ Summary: Tcl binding for %{name} Group: Development/Bindings Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: sqlite3-tcl = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: sqlite3-tcl +Obsoletes: sqlite3-tcl <= 3.33.0.0 Provides: tcl-sqlite3 = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: tcl-sqlite3 +Obsoletes: tcl-sqlite3 <= 3.33.0.0 %description tcl Tcl binding for %{name}. @@ -162,9 +160,9 @@ install -D -m644 sqlite3.1 %{buildroot}%{_mandir}/man1/sqlite3.1 #sed -i "s,%{buildroot},," %{buildroot}%{_prefix}/lib/tcl?.?/sqlite?/pkgIndex.tcl mkdir -p %{buildroot}%{_docdir} -cp -a sqlite-doc-%{doc_version}00 %{buildroot}%{_docdir}/ -rm -f %{buildroot}%{_docdir}/sqlite-doc-%{doc_version}00/search -rm -rf %{buildroot}%{_docdir}/sqlite-doc-%{doc_version}00/search.d +cp -a sqlite-doc-%{doc_version} %{buildroot}%{_docdir}/ +rm -f %{buildroot}%{_docdir}/sqlite-doc-%{doc_version}/search +rm -rf %{buildroot}%{_docdir}/sqlite-doc-%{doc_version}/search.d #%if "%{_host}" == "%{_build}" #mkdir -p %{buildroot}%{_datadir}/lemon @@ -198,7 +196,7 @@ make test || : %files doc %defattr(-, root, root) -%doc %{_docdir}/sqlite-doc-%{doc_version}00 +%doc %{_docdir}/sqlite-doc-%{doc_version} #%if "%{_host}" == "%{_build}" #%files -n lemon @@ -220,6 +218,9 @@ make test || : %{_mandir}/mann/* %changelog +* Fri May 21 2021 Silvan Calarco 3.35.5-1mamba +- update to 3.35.5 + * Sun Sep 06 2020 Silvan Calarco 3.33.0.0-1mamba - update to 3.33.0.0