Bypass shib.conf packaging if without_builtinapache macro set.
authorScott Cantor <cantor.2@osu.edu>
Tue, 26 May 2009 14:51:57 +0000 (14:51 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 26 May 2009 14:51:57 +0000 (14:51 +0000)
shibboleth.spec.in

index 05274ae..13ebc1e 100644 (file)
@@ -89,6 +89,7 @@ fi
 if [ -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/mod_shib_22.so ] ; then
     APACHE_CONFIG="apache22.config"
 fi
+%{!?_without_builtinapache:APACHE_CONFIG="no"}
 if [ "$APACHE_CONFIG" != "no" ] ; then
     APACHE_CONFD="no"
     if [ -d %{_sysconfdir}/httpd/conf.d ] ; then