- fix build issue on s390

This commit is contained in:
Oyvind Albrigtsen 2016-07-13 12:54:28 +02:00
parent f96a70dca4
commit 79b98e703d
2 changed files with 16 additions and 1 deletions

View File

@ -43,3 +43,15 @@ index 1d50398..f11aa8a 100644
--
2.7.4
diff -uNr a/fence/agents/Makefile.am b/fence/agents/Makefile.am
--- a/fence/agents/Makefile.am 2016-06-29 16:28:40.000000000 +0200
+++ b/fence/agents/Makefile.am 2016-07-13 12:51:34.950671572 +0200
@@ -31,7 +31,7 @@
scsidata_SCRIPTS = scsi/fence_scsi_check scsi/fence_scsi_check_hardreboot
zvm_fence_zvm_SOURCES = zvm/fence_zvm.c
-zvm_fence_zvm_CFLAGS = -D_GNU_SOURCE
+zvm_fence_zvm_CFLAGS = -D_GNU_SOURCE -Izvm
FENCE_TEST_ARGS = \
login=test\n\

View File

@ -21,7 +21,7 @@ License: GPLv2+ and LGPLv2+
Group: System Environment/Base
URL: http://sourceware.org/cluster/wiki/
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.xz
Patch1: 0001-Fix-install-issue-for-symlinked-agents.patch
Patch1: 0001-Fix-install-issue-for-symlinked-agents.patch
%if 0%{?fedora}
%global testagents zvm virsh raritan rcd_serial
@ -825,6 +825,9 @@ The fence-agents-zvm package contains a fence agent for IBM z/VM over IP.
%{_mandir}/man8/fence_zvmip.8*
%changelog
* Wed Jul 13 2016 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.0.23-2
- fix build issue on s390
* Tue Jul 12 2016 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.0.23-1
- new upstream release
- new package fence-agents-amt-ws