[shibboleth-sp2] 70/119: Fix pre/post macros.
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to annotated tag 1.3.1
in repository shibboleth-sp2.
commit a6106a9637ac07db71ad60059ca31970af8a2522
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Sun Sep 16 04:20:33 2007 +0000
Fix pre/post macros.
---
shibboleth.spec.in | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/shibboleth.spec.in b/shibboleth.spec.in
index 816ed59..bade12a 100644
--- a/shibboleth.spec.in
+++ b/shibboleth.spec.in
@@ -77,8 +77,9 @@ find $RPM_BUILD_ROOT/%{_libexecdir} -type f -or -type l |
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
-%ifnos solaris2.8 solaris2.9 solaris2.10
-%post -p /sbin/ldconfig
+%post
+%ifnos solaris2.8 solaris2.9 solaris2.10
+/sbin/ldconfig
%endif
# Plug the SP into Apache on a recognized system.
@@ -126,8 +127,9 @@ fi
fi
%endif
+%postun
%ifnos solaris2.8 solaris2.9 solaris2.10
-%postun -p /sbin/ldconfig
+/sbin/ldconfig
%endif
# delete the Apache configuration if we're being removed
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git
More information about the Pkg-shibboleth-devel
mailing list