%endif
# Plug the SP into Apache on a recognized system.
+touch rpm.filelist
APACHE_CONFIG="no"
if [ -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/mod_shib_13.so ] ; then
APACHE_CONFIG="apache.config"
> $RPM_BUILD_ROOT$APACHE_CONFD/shib.conf
%endif
echo "%config $APACHE_CONFD/shib.conf" > rpm.filelist
- else
- echo "" > rpm.filelist
fi
-else
- echo "" > rpm.filelist
fi
%if "%{_vendor}" == "redhat"
%endif
%posttrans
-# ugly hack if init script got removed during %postun by upgraded package
+# ugly hack if init script got removed during %postun by upgraded (buggy/2.1) package
%if "%{_vendor}" == "redhat"
if [ ! -f %{_initrddir}/shibd ] ; then
%{__cp} -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/shibd-%{_vendor} $RPM_BUILD_ROOT%{_initrddir}/shibd
%doc %{_datadir}/doc/%{name}/api
%changelog
+* Tue Jun 23 2009 Scott Cantor <cantor.2@osu.edu> - 2.2-2
+- Reverse without_builtinapache macro test
+- Fix init script handling on Red Hat to handle upgrades
+
* Wed Dec 3 2008 Scott Cantor <cantor.2@osu.edu> - 2.2-1
- Bump minor version.
- Make keygen.sh executable.