diff --git a/bitcoin.changes b/bitcoin.changes index 05fb555..484e63f 100644 --- a/bitcoin.changes +++ b/bitcoin.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Jun 1 16:41:59 UTC 2015 - mpluskal@suse.com + +- Build as PIC so that building does not fail with recent qt5 +- Move autoreconf to %prep +- Enable verbose build +- Use macro for systemd tmpfiles creation + +------------------------------------------------------------------- +Wed May 27 07:32:16 UTC 2015 - mpluskal@suse.com + +- Update to 0.10.2 +- Correct desktop file handling scriplets and their dependencies + ------------------------------------------------------------------- Fri May 15 12:13:17 UTC 2015 - mpluskal@suse.com diff --git a/bitcoin.spec b/bitcoin.spec index 9e28f43..1581d8f 100644 --- a/bitcoin.spec +++ b/bitcoin.spec @@ -18,7 +18,7 @@ Name: bitcoin -Version: 0.10.1 +Version: 0.10.2 Release: 0 Summary: P2P Digital Currency License: MIT @@ -49,6 +49,8 @@ BuildRequires: yasm-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} ExcludeArch: ppc64 ppc @@ -127,17 +129,20 @@ This package provides automated tests for bitcoin-qt5 and bitcoind. %prep %setup -q %patch0 -p1 +autoreconf -fiv %build -autoreconf -fi +export CXXFLAGS="$CXXFLAGS %{optflags} -fPIC" +export CFLAGS="$CFLAGS %{optflags} -fPIC" %configure \ --with-cli=yes \ --with-daemon=yes \ --with-gui=qt5 \ --with-miniupnpc \ - --with-qrencode + --with-qrencode \ + --disable-hardening -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %check make %{?_smp_mflags} check @@ -169,7 +174,7 @@ rm -rf %{buildroot}%{_libdir}/libbitcoinconsensus.la %desktop_database_post %postun qt5 -%desktop_database_post +%desktop_database_postun %pre -n bitcoind getent group %{name} >/dev/null || groupadd -r %{name} @@ -178,7 +183,11 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_localstatedir}/l %post -n bitcoind %service_add_post bitcoind.service -systemd-tmpfiles --create %{_tmpfilesdir}/bitcoind.conf +%if 0%{?suse_version} <= 1320 +systemd-tmpfiles --create %{_tmpfilesdir}/bitcoind.conf >/dev/null 2>&1 || : +%else +%tmpfiles_create %{_tmpfilesdir}/bitcoind.conf +%endif %preun -n bitcoind %service_del_preun bitcoind.service diff --git a/v0.10.1.tar.gz b/v0.10.1.tar.gz deleted file mode 100644 index 3ee5ac1..0000000 --- a/v0.10.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d83e2872de37a17c60b7f5d86a5d9cfe2e7e706bf270ea59d7cd846d2fbf8102 -size 5049043 diff --git a/v0.10.2.tar.gz b/v0.10.2.tar.gz new file mode 100644 index 0000000..0ed628b --- /dev/null +++ b/v0.10.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48c82a35369e54b613f738adf2a3420f8a25636182d272635202a5f99bb1fb9b +size 5075202