Accepting request 309694 from network
- 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 - Update to 0.10.2 - Correct desktop file handling scriplets and their dependencies OBS-URL: https://build.opensuse.org/request/show/309694 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitcoin?expand=0&rev=5
This commit is contained in:
parent
dec26b53c0
commit
aa0e67059f
@ -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
|
Fri May 15 12:13:17 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
21
bitcoin.spec
21
bitcoin.spec
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: bitcoin
|
Name: bitcoin
|
||||||
Version: 0.10.1
|
Version: 0.10.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: P2P Digital Currency
|
Summary: P2P Digital Currency
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -49,6 +49,8 @@ BuildRequires: yasm-devel
|
|||||||
BuildRequires: pkgconfig(libqrencode)
|
BuildRequires: pkgconfig(libqrencode)
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
BuildRequires: pkgconfig(protobuf)
|
BuildRequires: pkgconfig(protobuf)
|
||||||
|
Requires(post): 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
|
ExcludeArch: ppc64 ppc
|
||||||
@ -127,17 +129,20 @@ This package provides automated tests for bitcoin-qt5 and bitcoind.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
autoreconf -fiv
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
export CXXFLAGS="$CXXFLAGS %{optflags} -fPIC"
|
||||||
|
export CFLAGS="$CFLAGS %{optflags} -fPIC"
|
||||||
%configure \
|
%configure \
|
||||||
--with-cli=yes \
|
--with-cli=yes \
|
||||||
--with-daemon=yes \
|
--with-daemon=yes \
|
||||||
--with-gui=qt5 \
|
--with-gui=qt5 \
|
||||||
--with-miniupnpc \
|
--with-miniupnpc \
|
||||||
--with-qrencode
|
--with-qrencode \
|
||||||
|
--disable-hardening
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
@ -169,7 +174,7 @@ rm -rf %{buildroot}%{_libdir}/libbitcoinconsensus.la
|
|||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
|
|
||||||
%postun qt5
|
%postun qt5
|
||||||
%desktop_database_post
|
%desktop_database_postun
|
||||||
|
|
||||||
%pre -n bitcoind
|
%pre -n bitcoind
|
||||||
getent group %{name} >/dev/null || groupadd -r %{name}
|
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
|
%post -n bitcoind
|
||||||
%service_add_post bitcoind.service
|
%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
|
%preun -n bitcoind
|
||||||
%service_del_preun bitcoind.service
|
%service_del_preun bitcoind.service
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d83e2872de37a17c60b7f5d86a5d9cfe2e7e706bf270ea59d7cd846d2fbf8102
|
|
||||||
size 5049043
|
|
3
v0.10.2.tar.gz
Normal file
3
v0.10.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:48c82a35369e54b613f738adf2a3420f8a25636182d272635202a5f99bb1fb9b
|
||||||
|
size 5075202
|
Loading…
Reference in New Issue
Block a user