From 0e58628723b69b29c06d531352abd231eeecf909 Mon Sep 17 00:00:00 2001 From: Warren Togami Date: Fri, 18 Nov 2005 04:37:53 +0000 Subject: [PATCH] - buildreq audit-libs-devel - buildreq automake for aclocal - buildreq imake for xmkmf - -D_GNU_SOURCE in flags in order to get it to build Ugly hack to workaround openssh defining __USE_GNU which is not allowed and causes problems according to Ulrich Drepper fix this the correct way after FC5test1 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173568 Note that it seems we are unable to rebuild openssh at this time because gccmakedep seems to be missing from modular X packages. --- openssh.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/openssh.spec b/openssh.spec index 8f8b0d3..eb4334a 100644 --- a/openssh.spec +++ b/openssh.spec @@ -136,7 +136,9 @@ BuildPreReq: gnome-libs-devel %if %{scard} BuildPreReq: sharutils %endif -BuildPreReq: autoconf, openssl-devel, perl, tcp_wrappers, zlib-devel +BuildPreReq: autoconf, automake, openssl-devel, perl, tcp_wrappers, zlib-devel +BuildPreReq: audit-libs-devel +BuildPreReq: imake BuildPreReq: util-linux, groff, man %if %{build6x} @@ -268,7 +270,11 @@ environment. autoreconf %build -CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS +#CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS +# Ugly hack to workaround openssh defining __USE_GNU which is +# not allowed and causes problems according to Ulrich Drepper +# fix this the correct way after FC5test1 +CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"; export CFLAGS %if %{rescue} CFLAGS="$CFLAGS -Os" %endif @@ -545,6 +551,13 @@ fi * Thu Nov 17 2005 Warren Togami - 4.2p1-7 - xorg-x11-devel -> libXt-devel - rebuild for new xauth location so X forwarding works +- buildreq audit-libs-devel +- buildreq automake for aclocal +- buildreq imake for xmkmf +- -D_GNU_SOURCE in flags in order to get it to build + Ugly hack to workaround openssh defining __USE_GNU which is + not allowed and causes problems according to Ulrich Drepper + fix this the correct way after FC5test1 * Wed Nov 9 2005 Jeremy Katz - 4.2p1-6 - rebuild against new openssl