Dominique Leuenberger 2015-08-10 07:16:00 +00:00 committed by Git OBS Bridge
parent f787db48cb
commit 7eb7b676f0
3 changed files with 39 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 7 10:17:04 UTC 2015 - normand@linux.vnet.ibm.com
- new patch for ppc64le build and remove ExcludeArch ppc ppc64
bitcoin_missing_ppc64le_in_ax_boost_base.m4.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 12 22:40:07 UTC 2015 - prusnak@opensuse.org Sun Jul 12 22:40:07 UTC 2015 - prusnak@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package bitcoin # spec file for package bitcoin
# #
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2011-2014 P Rusnak <prusnak@opensuse.org> # Copyright (c) 2011-2014 P Rusnak <prusnak@opensuse.org>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -30,6 +30,7 @@ Source2: bitcoind.firewall
Source3: bitcoind.conf Source3: bitcoind.conf
# PATCH-FIX-OPENSUSE bitcoin-fix-desktop-icon-name.patch prusnak@opensuse.org -- Rename icon in desktop file to remove size reference. # PATCH-FIX-OPENSUSE bitcoin-fix-desktop-icon-name.patch prusnak@opensuse.org -- Rename icon in desktop file to remove size reference.
Patch0: bitcoin-fix-desktop-icon-name.patch Patch0: bitcoin-fix-desktop-icon-name.patch
Patch1: bitcoin_missing_ppc64le_in_ax_boost_base.m4.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: boost-devel BuildRequires: boost-devel
@ -53,7 +54,6 @@ Requires(post): update-desktop-files
Requires(postun): update-desktop-files Requires(postun): update-desktop-files
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires} %{?systemd_requires}
ExcludeArch: ppc64 ppc
%description %description
Bitcoin is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of a P2P network to check for double-spending. Bitcoin is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of a P2P network to check for double-spending.
@ -129,6 +129,7 @@ This package provides automated tests for bitcoin-qt5 and bitcoind.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1
%build %build
autoreconf -fiv autoreconf -fiv

View File

@ -0,0 +1,30 @@
From: Michel Normand <normand@linux.vnet.ibm.com>
Subject: bitcoin missing ppc64le in ax_boost_base.m4
Date: Fri, 07 Aug 2015 11:39:49 +0200
bitcoin missing ppc64le in ax_boost_base.m4
that is the cause of following error message:
===
[ 138s] checking whether the Boost::System library is available... yes
[ 138s] configure: error: Could not find a version of the boost_system library!
===
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
---
build-aux/m4/ax_boost_base.m4 | 3 +++
1 file changed, 3 insertions(+)
Index: bitcoin-0.11.0/build-aux/m4/ax_boost_base.m4
===================================================================
--- bitcoin-0.11.0.orig/build-aux/m4/ax_boost_base.m4
+++ bitcoin-0.11.0/build-aux/m4/ax_boost_base.m4
@@ -98,6 +98,9 @@ if test "x$want_boost" = "xyes"; then
ppc64|s390x|sparc64|aarch64)
libsubdirs="lib64 lib lib64"
;;
+ ppc64le)
+ libsubdirs="lib64"
+ ;;
esac
dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give