forked from pool/bitcoin
Accepting request 403844 from network
1 OBS-URL: https://build.opensuse.org/request/show/403844 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitcoin?expand=0&rev=16
This commit is contained in:
parent
f015e13f2b
commit
648f8fa635
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 20 15:58:45 UTC 2016 - normand@linux.vnet.ibm.com
|
||||||
|
|
||||||
|
- put back still need patch for ppc64le
|
||||||
|
bitcoin_missing_ppc64le_in_ax_boost_base.m4.patch
|
||||||
|
(subset of upstream commit id cf5c786)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 18 11:17:59 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update test dependencies
|
||||||
|
- Build with safer ldflags
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 27 07:53:02 UTC 2016 - mpluskal@suse.com
|
Fri May 27 07:53:02 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
10
bitcoin.spec
10
bitcoin.spec
@ -34,11 +34,13 @@ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%
|
|||||||
Source1: %{base}d.service
|
Source1: %{base}d.service
|
||||||
Source2: %{base}d.firewall
|
Source2: %{base}d.firewall
|
||||||
Source3: %{base}d.conf
|
Source3: %{base}d.conf
|
||||||
|
Patch1: bitcoin_missing_ppc64le_in_ax_boost_base.m4.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
|
BuildRequires: java-devel
|
||||||
BuildRequires: lcov
|
BuildRequires: lcov
|
||||||
BuildRequires: libdb-4_8-devel
|
BuildRequires: libdb-4_8-devel
|
||||||
BuildRequires: libminiupnpc-devel
|
BuildRequires: libminiupnpc-devel
|
||||||
@ -166,14 +168,16 @@ This package provides automated tests for %{name}-qt5 and %{name}d.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
# remove 128 resolution from Icon= line
|
# remove 128 resolution from Icon= line
|
||||||
sed -i s/128// contrib/debian/%{name}-qt.desktop
|
sed -i s/128// contrib/debian/%{name}-qt.desktop
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
export CXXFLAGS="%{optflags} -fPIC"
|
export CXXFLAGS="%{optflags} -fPIE -fPIC"
|
||||||
export CFLAGS="%{optflags} -fPIC"
|
export CFLAGS="%{optflags} -fPIE -fPIC"
|
||||||
|
export LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -pie"
|
||||||
%configure \
|
%configure \
|
||||||
--with-cli=yes \
|
--with-cli=yes \
|
||||||
--with-daemon=yes \
|
--with-daemon=yes \
|
||||||
@ -188,7 +192,7 @@ export CFLAGS="%{optflags} -fPIC"
|
|||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check || cat src/test-suite.log
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||||
|
17
bitcoin_missing_ppc64le_in_ax_boost_base.m4.patch
Normal file
17
bitcoin_missing_ppc64le_in_ax_boost_base.m4.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
build-aux/m4/ax_boost_base.m4 | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: bitcoin-0.12.1/build-aux/m4/ax_boost_base.m4
|
||||||
|
===================================================================
|
||||||
|
--- bitcoin-0.12.1.orig/build-aux/m4/ax_boost_base.m4
|
||||||
|
+++ bitcoin-0.12.1/build-aux/m4/ax_boost_base.m4
|
||||||
|
@@ -95,7 +95,7 @@ if test "x$want_boost" = "xyes"; then
|
||||||
|
x86_64)
|
||||||
|
libsubdirs="lib64 libx32 lib lib64"
|
||||||
|
;;
|
||||||
|
- ppc64|s390x|sparc64|aarch64)
|
||||||
|
+ ppc64|s390x|sparc64|aarch64|ppc64le)
|
||||||
|
libsubdirs="lib64 lib lib64"
|
||||||
|
;;
|
||||||
|
esac
|
Loading…
Reference in New Issue
Block a user