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 Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 210 Version: 210
Release: 6%{?gitcommit:.git%{gitcommit}}%{?dist} Release: 7%{?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
@ -112,6 +112,7 @@ BuildRequires: python3-devel
BuildRequires: python-lxml BuildRequires: python-lxml
BuildRequires: python3-lxml BuildRequires: python3-lxml
%ifnarch ppc ppc64 ppc64le %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=1073647
# https://bugzilla.redhat.com/show_bug.cgi?id=1071284 # https://bugzilla.redhat.com/show_bug.cgi?id=1071284
BuildRequires: libseccomp-devel 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 \ --exclude src/libsystemd/sd-bus/PORTING-DBUS1 \
%{patches} %{patches}
%endif %endif
%ifarch ppc ppc64 %ifarch ppc ppc64 ppc64le
# https://bugzilla.redhat.com/show_bug.cgi?id=1071278
# Disable link warnings, somehow they cause the link to fail. # Disable link warnings, somehow they cause the link to fail.
sed -r -i 's/\blibsystemd-(login|journal|id128|daemon).c \\/\\/' Makefile.am sed -r -i 's/\blibsystemd-(login|journal|id128|daemon).c \\/\\/' Makefile.am
%endif %endif
@ -755,6 +755,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 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 * Fri Mar 07 2014 Karsten Hopp <karsten@redhat.com> 210-6
- move ifarch ppc64le to correct place (libseccomp req) - move ifarch ppc64le to correct place (libseccomp req)