Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bitcoin for openSUSE:Factory checked in at 2024-02-14 23:20:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bitcoin (Old) and /work/SRC/openSUSE:Factory/.bitcoin.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bitcoin" Wed Feb 14 23:20:04 2024 rev:52 rq:1146595 version:26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/bitcoin/bitcoin.changes 2024-02-07 18:53:41.230152202 +0100 +++ /work/SRC/openSUSE:Factory/.bitcoin.new.1815/bitcoin.changes 2024-02-14 23:20:16.507576246 +0100 @@ -1,0 +2,7 @@ +Wed Feb 14 14:16:11 UTC 2024 - Martin Pluskal <[email protected]> + +- Enable LTO and test package for Leap +- Enable sqlite3 support for wallet +- Enable asm optimizations unconditionally + +------------------------------------------------------------------- Old: ---- bitcoin-26.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bitcoin.spec ++++++ --- /var/tmp/diff_new_pack.UaNNg7/_old 2024-02-14 23:20:17.471611001 +0100 +++ /var/tmp/diff_new_pack.UaNNg7/_new 2024-02-14 23:20:17.471611001 +0100 @@ -23,12 +23,6 @@ %define name_pretty %{base_pretty} %define consensus 1 %define is_base 1 -# Disable tests on Tumbleweed because of an hard to investigate error -%if 0%{?suse_version} > 1500 -%bcond_with tests -%else -%bcond_without tests -%endif Name: bitcoin Version: 26.0 Release: 0 @@ -67,7 +61,11 @@ BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(protobuf) BuildRequires: pkgconfig(python3) +BuildRequires: pkgconfig(sqlite3) %{?systemd_ordering} +%if 0%{?suse_version} < 1550 +BuildRequires: gcc12-c++ +%endif %description %{name_pretty} is a peer-to-peer electronic cash system @@ -157,7 +155,6 @@ This package provides %{name}d, headless %{name} daemon. -%if 0%{with tests} %package test Summary: Automated tests for %{name} client Group: Development/Libraries/Other @@ -173,45 +170,31 @@ several GB of space, slowly growing. This package provides automated tests for %{name}-qt5 and %{name}d. -%endif %prep %autosetup -p1 %build autoreconf -fiv -export CXXFLAGS="%{optflags} -fPIE -fPIC -fcommon" -export CFLAGS="%{optflags} -fPIE -fPIC -fcommon" -export LDFLAGS="-pie" - -# Autodetecting if assembly optimizazions for secp256k1 can be used does not -# work well on non-x86_64 architectures, like i.e. aarch64, which results in -# build errors. At the same time, x86_64 is the only architecture for which -# assembly is properly supported (ARM assembly optimizations are still -# experimental). Let's just disable asm for all the other architectures until -# that doesn't change. +%if 0%{?suse_version} < 1550 +export CXX=g++-12 +%endif %configure \ -%ifarch x86_64 --with-asm=auto \ -%else - --with-asm=no \ -%endif --with-cli=yes \ --with-daemon=yes \ --with-gui=qt5 \ --with-miniupnpc \ --with-qrencode \ + --with-sqlite=yes \ + --enable-lto \ %if %{consensus} == 0 --without-libs \ %endif -%if 0%{without tests} - --disable-tests \ - --disable-bench \ -%endif --disable-hardening %make_build -%if 0%{with tests} +%if 0%{?suse_version} >= 1550 %check %make_build LC_ALL=C.UTF-8 check %endif @@ -327,12 +310,10 @@ %{_sbindir}/rc%{name}d %{_tmpfilesdir}/%{name}d.conf -%if 0%{with tests} %files test %license COPYING %doc doc/README.md doc/release-notes.md %{_bindir}/test_%{name} %{_bindir}/test_%{name}-qt %{_bindir}/bench_%{name} -%endif
