Dominique Leuenberger 2017-10-13 12:20:09 +00:00 committed by Git OBS Bridge
parent deebe255eb
commit 20371b3bac
4 changed files with 23 additions and 18 deletions

3
bitcoin-0.15.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a2d28632be6918ce23d2fd589f0aecbb2a90579c9345f47fdfe1e77ec31f023e
size 7504139

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1275ca4dab54a08c601d26ad47efbd620ff7f88dc62b6bb2ab2f3ea7cfe7f349
size 7509890

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Oct 9 09:12:56 UTC 2017 - mpluskal@suse.com
- Update to version 0.15.0.1:
* Some clients may have crashed at startup because a custom fee
setting was configured that no longer exists in the GUI
* Small translation updates
* update manpages, forgotten in 0.15.0
- Small specfile cleanup
-------------------------------------------------------------------
Tue Sep 12 08:44:43 UTC 2017 - mpluskal@suse.com

View File

@ -24,7 +24,7 @@
%define consensus 1
%define is_base 1
Name: bitcoin
Version: 0.15.0
Version: 0.15.0.1
Release: 0
Summary: P2P Digital Currency
License: MIT
@ -36,7 +36,6 @@ Source2: %{base}d.firewall
Source3: %{base}d.conf
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: binutils-gold
BuildRequires: gcc-c++
BuildRequires: git
BuildRequires: java-devel
@ -48,7 +47,6 @@ BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: systemd-rpm-macros
BuildRequires: update-desktop-files
BuildRequires: yasm-devel
BuildRequires: pkgconfig(Qt5Designer)
BuildRequires: pkgconfig(Qt5Help)
BuildRequires: pkgconfig(Qt5UiTools)
@ -180,7 +178,7 @@ sed -i s/128// contrib/debian/%{name}-qt.desktop
autoreconf -fiv
export CXXFLAGS="%{optflags} -fPIE -fPIC"
export CFLAGS="%{optflags} -fPIE -fPIC"
export LDFLAGS="-Wl,--no-undefined -Wl,-z,now -Wl,-fuse-ld=gold -pie"
export LDFLAGS="-pie"
%configure \
--with-cli=yes \
--with-daemon=yes \
@ -191,7 +189,6 @@ export LDFLAGS="-Wl,--no-undefined -Wl,-z,now -Wl,-fuse-ld=gold -pie"
--without-libs \
%endif
--disable-hardening
make %{?_smp_mflags} V=1
%check
@ -200,13 +197,13 @@ make %{?_smp_mflags} check
%install
%make_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
install -Dpm 0644 share/pixmaps/%{base}256.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
install -Dpm 0644 contrib/debian/%{name}-qt.desktop %{buildroot}%{_datadir}/applications/%{name}-qt.desktop
%suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}-qt.desktop
install -D -m 0644 doc/man/%{name}d.1 %{buildroot}%{_mandir}/man1/%{name}d.1
install -D -m 0644 doc/man/%{name}-qt.1 %{buildroot}%{_mandir}/man1/%{name}-qt.1
install -D -m 0644 contrib/debian/examples/%{name}.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
install -Dpm 0644 doc/man/%{name}d.1 %{buildroot}%{_mandir}/man1/%{name}d.1
install -Dpm 0644 doc/man/%{name}-qt.1 %{buildroot}%{_mandir}/man1/%{name}-qt.1
install -Dpm 0644 contrib/debian/examples/%{name}.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
%if !%{is_base}
sed -i "s/%{base}/%{name}/g" %{SOURCE1}
@ -219,14 +216,12 @@ sed -i "s/%{base_pretty}/%{name_pretty}/g" %{SOURCE3}
%endif
mkdir -p %{buildroot}/%{_localstatedir}/lib/%{name}
install -d %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}d
install -Dpm 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}d
mkdir %{buildroot}%{_sbindir}
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}d
install -D -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}d.service
install -d -m 0755 %{buildroot}/%{_tmpfilesdir}/
install -m 0644 %{SOURCE3} %{buildroot}/%{_tmpfilesdir}/%{name}d.conf
install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}d.service
install -Dpm 0644 %{SOURCE3} %{buildroot}/%{_tmpfilesdir}/%{name}d.conf
%if %{consensus} == 1
# do not ship these