Summary: Bitcoin is a peer-to-peer currency
Summary(pl.UTF-8): Bitcoin - waluta peer-to-peer
Name: bitcoin
-Version: 0.18.0
-Release: 4
+Version: 0.19.1
+Release: 1
License: MIT
Group: X11/Applications
# Source0: https://github.com/bitcoin/bitcoin/archive/v%{version}/%{name}-%{version}.tar.gz
Source0: https://bitcoin.org/bin/bitcoin-core-%{version}/bitcoin-%{version}.tar.gz
-# Source0-md5: 916c8fb6e7e83f60207113273c39507c
+# Source0-md5: 6066d7247a5a8c61392fb79ae882bd30
+Patch0: qt-5.15.patch
URL: http://www.bitcoin.org/
BuildRequires: QtCore-devel >= 4.0
BuildRequires: QtDBus-devel >= 4.0
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
%attr(755,root,root) %ghost %{_libdir}/libbitcoinconsensus.so.0
%{_mandir}/man1/bitcoin-cli.1*
%{_mandir}/man1/bitcoin-tx.1*
+%{_mandir}/man1/bitcoin-wallet.1*
%{_mandir}/man1/bitcoind.1*
%files devel
--- /dev/null
+From 79b0a69e09c1a912122e6431ea3c530cc292c690 Mon Sep 17 00:00:00 2001
+From: Andrew Chow <achow101-github@achow101.com>
+Date: Thu, 28 May 2020 14:56:47 -0400
+Subject: [PATCH] Add missing QPainterPath include
+
+This is needed to compile with Qt 5.15.
+---
+ src/qt/trafficgraphwidget.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/qt/trafficgraphwidget.cpp b/src/qt/trafficgraphwidget.cpp
+index 757648f4854d..6428fc4dafc8 100644
+--- a/src/qt/trafficgraphwidget.cpp
++++ b/src/qt/trafficgraphwidget.cpp
+@@ -7,6 +7,7 @@
+ #include <qt/clientmodel.h>
+
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QColor>
+ #include <QTimer>
+