Update build deps for shibboleth
[mech_eap.git] / mech_eap.spec.in
index f5083f1..492fc2e 100644 (file)
@@ -15,7 +15,7 @@ BuildRequires:         moonshot-ui-devel
 BuildRequires: jansson-devel
 Requires:      moonshot-ui
 BuildRequires: libradsec-devel >= 0.0.3
-BuildRequires: shibboleth-devel >= 2.5
+BuildRequires: shibboleth-sp-devel >= 2.5
 BuildRequires: libshibresolver-devel
 
 
@@ -29,7 +29,7 @@ Project Moonshot provides federated access management.
 
 
 %build
-%configure  --with-libmoonshot=%{_prefix} --with-krb5=%{_prefix} --enable-reauth
+%configure  --with-libmoonshot=%{_prefix} --with-krb5=%{_prefix} --enable-reauth LDFLAGs="${LDFLAGS} -L/opt/shibboleth/%{_lib} -Wl,--rpath=/opt/shibboleth/%{_lib}" CPPFLAGS="${CPPFLAGS} -I/opt/shibboleth/include"
 make %{?_smp_mflags}