diff --git a/.gitignore b/.gitignore index 94dcfcd..5468184 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ /wxsqlite3-4.12.5.tar.gz /wxsqlite3-4.12.6.tar.gz /wxsqlite3-4.12.7.tar.gz +/wxsqlite3-5.0.1.tar.gz diff --git a/sources b/sources index 13fcb70..4aee81a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wxsqlite3-4.12.7.tar.gz) = cb26c9db90ab9f773b56b46ca1bb99fc0a859f61ede97d73af432cd8dd46de0fd3aab98e35464daf6c6f8bd6b52e369ba444781ef41466c244c72c48531e07dc +SHA512 (wxsqlite3-5.0.1.tar.gz) = 59c635a5254247276249f8c151ffae0ab8bdeb3f0c27a255313ba5e215f11c42b04699d23b217cf3fd446daec1b2f18376cb26761bc9fc528312fabeebe69f39 diff --git a/wxsqlite3.spec b/wxsqlite3.spec index 308f140..e2b0e57 100644 --- a/wxsqlite3.spec +++ b/wxsqlite3.spec @@ -3,7 +3,7 @@ %global wxincdir %{_includedir}/wx-%{wxversion} Name: wxsqlite3 -Version: 4.12.7 +Version: 5.0.1 Release: 1%{?dist} Summary: C++ wrapper around the SQLite 3.x database @@ -61,7 +61,7 @@ that use %{name}. %prep -%autosetup -n %{name}-%{version} +%autosetup -p1 -n %{name}-%{version} # activate correct build folder #mv build30 build @@ -83,6 +83,12 @@ chmod a-x include/wx/wxsqlite3.h src/wxsqlite3.cpp chmod -x LICENCE.txt readme.md %build +%set_build_flags + +# disable GCC LTO froür wxSQLite3 +export CFLAGS="%{build_cflags} -fno-lto" +export CXXFLAGS="%{build_cxxflags} -fno-lto" + #autoreconf --install --force autoreconf %configure --enable-shared=yes --enable-static=no --enable-codec=chacha20 \ @@ -107,14 +113,8 @@ mv %{buildroot}%{_includedir}/wx %{buildroot}%{wxincdir} find %{buildroot} -name '*.la' -exec rm -f {} ';' -# install pkgconfig file -### mkdir -p %{buildroot}%{_libdir}/pkgconfig -###mv %{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc - - %ldconfig_scriptlets - %files %doc readme.md %license LICENCE.txt @@ -128,8 +128,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %files doc %doc docs/html - %changelog +* Fri Aug 14 2026 Martin Gansser 5.0.1-1 +- Update to 5.0.1 + * Thu Aug 06 2026 Martin Gansser 4.12.7-1 - Update to 4.12.7