according to IBM, ppc64le also needs link warnings disabled

This commit is contained in:
Karsten Hopp 2014-03-07 16:39:16 +01:00
parent 8d6e856f81
commit 8048dc7b46

View File

@ -16,7 +16,7 @@
Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 210
Release: 6%{?gitcommit:.git%{gitcommit}}%{?dist}
Release: 7%{?gitcommit:.git%{gitcommit}}%{?dist}
# For a breakdown of the licensing, see README
License: LGPLv2+ and MIT and GPLv2+
Summary: A System and Service Manager
@ -112,6 +112,7 @@ BuildRequires: python3-devel
BuildRequires: python-lxml
BuildRequires: python3-lxml
%ifnarch ppc ppc64 ppc64le
# https://bugzilla.redhat.com/show_bug.cgi?id=1071278
# https://bugzilla.redhat.com/show_bug.cgi?id=1073647
# https://bugzilla.redhat.com/show_bug.cgi?id=1071284
BuildRequires: libseccomp-devel
@ -280,8 +281,7 @@ systemd-journal-gatewayd serves journal events over the network using HTTP.
--exclude src/libsystemd/sd-bus/PORTING-DBUS1 \
%{patches}
%endif
%ifarch ppc ppc64
# https://bugzilla.redhat.com/show_bug.cgi?id=1071278
%ifarch ppc ppc64 ppc64le
# Disable link warnings, somehow they cause the link to fail.
sed -r -i 's/\blibsystemd-(login|journal|id128|daemon).c \\/\\/' Makefile.am
%endif
@ -755,6 +755,9 @@ getent passwd systemd-journal-gateway >/dev/null 2>&1 || useradd -r -l -u 191 -g
%{_datadir}/systemd/gatewayd
%changelog
* Fri Mar 07 2014 Karsten Hopp <karsten@redhat.com> 210-7
- ppc64le needs link warnings disabled, too
* Fri Mar 07 2014 Karsten Hopp <karsten@redhat.com> 210-6
- move ifarch ppc64le to correct place (libseccomp req)