forked from pool/bitcoin
Accepting request 344180 from network
1 OBS-URL: https://build.opensuse.org/request/show/344180 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitcoin?expand=0&rev=10
This commit is contained in:
parent
072893e82d
commit
7ec90f844f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 13 09:18:31 UTC 2015 - jimmy@boombatower.com
|
||||
|
||||
- Small consistency cleanups.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 12 02:32:41 UTC 2015 - jimmy@boombatower.com
|
||||
|
||||
|
26
bitcoin.spec
26
bitcoin.spec
@ -144,11 +144,11 @@ autoreconf -fiv
|
||||
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-cli=yes \
|
||||
--with-daemon=yes \
|
||||
--with-gui=qt5 \
|
||||
--with-miniupnpc \
|
||||
--with-qrencode \
|
||||
%if %{consensus} == 0
|
||||
--without-libs \
|
||||
%endif
|
||||
@ -193,8 +193,8 @@ install -m 0644 %{SOURCE3} %{buildroot}/%{_tmpfilesdir}/%{name}d.conf
|
||||
|
||||
%if %{consensus} == 1
|
||||
# do not ship these
|
||||
rm -rf %{buildroot}%{_libdir}/lib%{name}consensus.a
|
||||
rm -rf %{buildroot}%{_libdir}/lib%{name}consensus.la
|
||||
rm -f %{buildroot}%{_libdir}/lib%{name}consensus.a
|
||||
rm -f %{buildroot}%{_libdir}/lib%{name}consensus.la
|
||||
%endif
|
||||
|
||||
%post qt5
|
||||
@ -203,6 +203,12 @@ rm -rf %{buildroot}%{_libdir}/lib%{name}consensus.la
|
||||
%postun qt5
|
||||
%desktop_database_postun
|
||||
|
||||
%if %{consensus} == 1
|
||||
%post -n lib%{name}consensus0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n lib%{name}consensus0 -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%pre -n %{name}d
|
||||
getent group %{name} >/dev/null || groupadd -r %{name}
|
||||
getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_localstatedir}/lib/%{name} -s /sbin/nologin -c "%{name_pretty} daemon" %{name}
|
||||
@ -222,12 +228,6 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{name}d.conf >/dev/null 2>&1 || :
|
||||
%postun -n %{name}d
|
||||
%service_del_postun %{name}d.service
|
||||
|
||||
%if %{consensus} == 1
|
||||
%post -n lib%{name}consensus0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n lib%{name}consensus0 -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%files qt5
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING README.md
|
||||
|
Loading…
Reference in New Issue
Block a user