From 2d87316942878a7f3478520a609f6c7a611e5983d57fcf6da44e6d48dda0e526 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 23 Feb 2016 15:57:25 +0000 Subject: [PATCH] Accepting request 360683 from network - Update to 0.12.0 * For a complete list of changes see provided release-notes - Small spec file cleanups * remove old obsole/provides * move icon handling scriplets to correct subpackage OBS-URL: https://build.opensuse.org/request/show/360683 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitcoin?expand=0&rev=12 --- bitcoin.changes | 9 +++++ bitcoin.spec | 33 +++++++++---------- ..._missing_ppc64le_in_ax_boost_base.m4.patch | 6 ++-- v0.11.2.tar.gz | 3 -- v0.12.0.tar.gz | 3 ++ 5 files changed, 31 insertions(+), 23 deletions(-) delete mode 100644 v0.11.2.tar.gz create mode 100644 v0.12.0.tar.gz diff --git a/bitcoin.changes b/bitcoin.changes index b8deaff..d5fd551 100644 --- a/bitcoin.changes +++ b/bitcoin.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Feb 21 08:24:50 UTC 2016 - mpluskal@suse.com + +- Update to 0.12.0 + * For a complete list of changes see provided release-notes +- Small spec file cleanups + * remove old obsole/provides + * move icon handling scriplets to correct subpackage + ------------------------------------------------------------------- Wed Dec 9 11:40:17 UTC 2015 - mpluskal@suse.com diff --git a/bitcoin.spec b/bitcoin.spec index db9978f..c54d4b5 100644 --- a/bitcoin.spec +++ b/bitcoin.spec @@ -1,7 +1,7 @@ # # spec file for package bitcoin # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011-2014 P Rusnak # # All modifications and additions to the file contributed by third parties @@ -25,7 +25,7 @@ %define is_base 1 Name: bitcoin -Version: 0.11.2 +Version: 0.12.0 Release: 0 Summary: P2P Digital Currency License: MIT @@ -43,6 +43,7 @@ BuildRequires: gcc-c++ BuildRequires: git BuildRequires: lcov BuildRequires: libdb-4_8-devel +BuildRequires: libevent-devel BuildRequires: libminiupnpc-devel BuildRequires: libqt5-qtbase-devel BuildRequires: libqt5-qttools-devel @@ -52,11 +53,10 @@ BuildRequires: python BuildRequires: systemd-rpm-macros BuildRequires: update-desktop-files BuildRequires: yasm-devel +BuildRequires: zeromq-devel BuildRequires: pkgconfig(libqrencode) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(protobuf) -Requires(post): update-desktop-files -Requires(postun): update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} @@ -68,8 +68,8 @@ Full transaction history is stored locally at each client. This requires several %package qt5 Summary: An end-user Qt5 GUI for the %{name_pretty} crypto-currency Group: Development/Libraries/Other -Provides: %{name} = %{version} -Obsoletes: %{name} < %{version} +Requires(post): update-desktop-files +Requires(postun): update-desktop-files %description qt5 %{name_pretty} 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. @@ -81,8 +81,6 @@ This package provides %{name_pretty}-Qt, a GUI for %{name_pretty} based on Qt. %package utils Summary: An end-user cli for the %{name_pretty} crypto-currency Group: Productivity/Networking/Other -Provides: %{name}-cli = %{version} -Obsoletes: %{name}-cli < %{version} %description utils %{name_pretty} 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. @@ -102,7 +100,7 @@ The purpose of this library is to make the verification functionality that is cr %package -n lib%{name}consensus-devel Summary: Developmont files for %{name} consensus library Group: Development/Languages/C and C++ -Requires: lib%{name}consensus0 = %{version} +Requires: lib%{name}consensus0 = %{version}-%{release} %description -n lib%{name}consensus-devel The purpose of this library is to make the verification functionality that is critical to %{name_pretty}’s consensus available to other applications, e.g. to language bindings such as python-%{name}lib or alternative node implementations. @@ -141,8 +139,8 @@ sed -i s/128// contrib/debian/%{name}-qt.desktop %build autoreconf -fiv -export CXXFLAGS="$CXXFLAGS %{optflags} -fPIC" -export CFLAGS="$CFLAGS %{optflags} -fPIC" +export CXXFLAGS="%{optflags} -fPIC" +export CFLAGS="%{optflags} -fPIC" %configure \ --with-cli=yes \ --with-daemon=yes \ @@ -160,7 +158,7 @@ make %{?_smp_mflags} V=1 make %{?_smp_mflags} check %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +make %{?_smp_mflags} DESTDIR=%{buildroot} install install -D -m 0644 share/pixmaps/%{base}256.png %{buildroot}%{_datadir}/pixmaps/%{name}.png install -D -m 0644 contrib/debian/%{name}-qt.desktop %{buildroot}%{_datadir}/applications/%{name}-qt.desktop @@ -230,7 +228,7 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{name}d.conf >/dev/null 2>&1 || : %files qt5 %defattr(-,root,root) -%doc COPYING README.md +%doc COPYING README.md doc/release-notes.md %{_bindir}/%{name}-qt %{_datadir}/applications/%{name}-qt.desktop %{_mandir}/man1/%{name}-qt.1%{?ext_man} @@ -238,14 +236,14 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{name}d.conf >/dev/null 2>&1 || : %files utils %defattr(-,root,root) -%doc COPYING README.md +%doc COPYING README.md doc/release-notes.md %{_bindir}/%{name}-cli %{_bindir}/%{name}-tx %if %{consensus} == 1 %files -n lib%{name}consensus0 %defattr(-,root,root) -%doc COPYING README.md +%doc COPYING README.md doc/release-notes.md %{_libdir}/lib%{name}consensus.so.* %files -n lib%{name}consensus-devel @@ -258,7 +256,7 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{name}d.conf >/dev/null 2>&1 || : %files -n %{name}d %defattr(-,root,root) -%doc COPYING README.md +%doc COPYING README.md doc/release-notes.md %{_mandir}/man1/%{name}d.1%{?ext_man} %{_mandir}/man5/%{name}.conf.5%{?ext_man} %{_bindir}/%{name}d @@ -272,8 +270,9 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{name}d.conf >/dev/null 2>&1 || : %files test %defattr(-,root,root) -%doc COPYING README.md +%doc COPYING README.md doc/release-notes.md %{_bindir}/test_%{name} %{_bindir}/test_%{name}-qt +%{_bindir}/bench_%{name} %changelog diff --git a/bitcoin_missing_ppc64le_in_ax_boost_base.m4.patch b/bitcoin_missing_ppc64le_in_ax_boost_base.m4.patch index 9e83fae..d6e1d26 100644 --- a/bitcoin_missing_ppc64le_in_ax_boost_base.m4.patch +++ b/bitcoin_missing_ppc64le_in_ax_boost_base.m4.patch @@ -14,10 +14,10 @@ Signed-off-by: Michel Normand 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 +Index: bitcoin-0.12.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 +--- bitcoin-0.12.0.orig/build-aux/m4/ax_boost_base.m4 ++++ bitcoin-0.12.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" diff --git a/v0.11.2.tar.gz b/v0.11.2.tar.gz deleted file mode 100644 index 7174b2f..0000000 --- a/v0.11.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aab2cd0c4f045970d259cf9fcee5785b43180d20ccbbedc1f90480e697696b25 -size 5955398 diff --git a/v0.12.0.tar.gz b/v0.12.0.tar.gz new file mode 100644 index 0000000..70bf068 --- /dev/null +++ b/v0.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92b1b6e1f49e74c914ff3dd43e97bb1859bcd3239310b5fe54db326aba1fd0a5 +size 6704509