From 5284b57340d917417ed489875cffbdc5fcbb00e7 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Mon, 10 Nov 2014 16:19:10 -0500 Subject: [PATCH] More EL7 fixes --- packaging/rhel/sogo.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/rhel/sogo.spec b/packaging/rhel/sogo.spec index 42114f575..55196b2a1 100644 --- a/packaging/rhel/sogo.spec +++ b/packaging/rhel/sogo.spec @@ -174,7 +174,11 @@ rm -fr ${RPM_BUILD_ROOT} # ****************************** build ******************************** %build +%if %{el7} +. /usr/lib64/GNUstep/Makefiles/GNUstep.sh +%else . /usr/share/GNUstep/Makefiles/GNUstep.sh +%endif ./configure %saml2_cfg_opts case %{_target_platform} in