Accepting request 815502 from network:cryptocurrencies

OBS-URL: https://build.opensuse.org/request/show/815502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitcoin?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2020-06-18 08:26:37 +00:00 committed by Git OBS Bridge
commit 9b81afe7f8
5 changed files with 30 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b9d582ba36b50955f6dfad12cdf139462d19ad30604b49766dc2ca21a1a322c
size 6655953

3
bitcoin-0.20.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec5a2358ee868d845115dc4fc3ed631ff063c57d5e0a713562d083c5c45efb28
size 6980404

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jun 17 11:57:34 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Add fix-qpainterpath.patch
- Add -fcommon to allow building against GCC10
-------------------------------------------------------------------
Fri Jun 12 05:39:25 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Update to version 0.20.0:
* See https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.20.0.md
-------------------------------------------------------------------
Thu Mar 26 20:57:22 UTC 2020 - Michał Rostecki <mrostecki@opensuse.org>

View File

@ -24,7 +24,7 @@
%define consensus 1
%define is_base 1
Name: bitcoin
Version: 0.19.1
Version: 0.20.0
Release: 0
Summary: P2P Digital Currency
License: MIT
@ -34,6 +34,7 @@ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%
Source1: %{base}d.service
Source3: %{base}d.conf
Source4: %{base}.conf
Patch0: fix-qpainterpath.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@ -170,11 +171,12 @@ This package provides automated tests for %{name}-qt5 and %{name}d.
%prep
%setup -q
%patch0 -p1
%build
autoreconf -fiv
export CXXFLAGS="%{optflags} -fPIE -fPIC"
export CFLAGS="%{optflags} -fPIE -fPIC"
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

10
fix-qpainterpath.patch Normal file
View File

@ -0,0 +1,10 @@
--- bitcoin-0.20.0/src/qt/trafficgraphwidget.cpp.orig 2020-06-17 13:42:31.658215250 +0200
+++ bitcoin-0.20.0/src/qt/trafficgraphwidget.cpp 2020-06-17 13:42:39.286235611 +0200
@@ -7,6 +7,7 @@
#include <qt/clientmodel.h>
#include <QPainter>
+#include <QPainterPath>
#include <QColor>
#include <QTimer>