Apply work-around for ppc problems

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-02-28 22:38:38 -05:00
parent 215b310f79
commit 703bc638e4

View File

@ -16,7 +16,7 @@
Name: systemd Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 210 Version: 210
Release: 2%{?gitcommit:.git%{gitcommit}}%{?dist} Release: 3%{?gitcommit:.git%{gitcommit}}%{?dist}
# For a breakdown of the licensing, see README # For a breakdown of the licensing, see README
License: LGPLv2+ and MIT and GPLv2+ License: LGPLv2+ and MIT and GPLv2+
Summary: A System and Service Manager Summary: A System and Service Manager
@ -68,7 +68,10 @@ BuildRequires: python2-devel
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python-lxml BuildRequires: python-lxml
BuildRequires: python3-lxml BuildRequires: python3-lxml
%ifnarch ppc ppc64
# https://bugzilla.redhat.com/show_bug.cgi?id=1071284
BuildRequires: libseccomp-devel BuildRequires: libseccomp-devel
%endif
%if %{defined gitcommit}%{num_patches} %if %{defined gitcommit}%{num_patches}
BuildRequires: automake BuildRequires: automake
BuildRequires: autoconf BuildRequires: autoconf
@ -232,6 +235,11 @@ systemd-journal-gatewayd serves journal events over the network using HTTP.
--exclude units/user/.gitignore \ --exclude units/user/.gitignore \
%{patches} %{patches}
%endif %endif
%ifarch ppc ppc64
# https://bugzilla.redhat.com/show_bug.cgi?id=1071278
# Disable link warnings, somehow they cause the link to fail.
sed -r -i 's/\blibsystemd-(login|journal|id128|daemon).c \\/\\/' Makefile.am
%endif
%build %build
%if %{defined gitcommit} %if %{defined gitcommit}
@ -268,7 +276,7 @@ pushd build2
--with-rc-local-script-path-start=/etc/rc.d/rc.local \ --with-rc-local-script-path-start=/etc/rc.d/rc.local \
--enable-compat-libs \ --enable-compat-libs \
--disable-kdbus --disable-kdbus
make %{?_smp_mflags} V=1 make %{?_smp_mflags} GCC_COLORS="" V=1
popd popd
%install %install
@ -716,6 +724,9 @@ getent passwd systemd-journal-gateway >/dev/null 2>&1 || useradd -r -l -u 191 -g
%{_datadir}/systemd/gatewayd %{_datadir}/systemd/gatewayd
%changelog %changelog
* Fri Feb 28 2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 210-3
- Apply work-arounds for ppc/ppc64 for bugs 1071278 and 1071284
* Mon Feb 24 2014 Lennart Poettering <lpoetter@redhat.com> - 210-2 * Mon Feb 24 2014 Lennart Poettering <lpoetter@redhat.com> - 210-2
- Check more services against preset list and enable by default - Check more services against preset list and enable by default