[shibboleth-sp2] 35/119: SuSE has different doc conventions.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:47 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 5c56c5ee89348b785c88dc8619d9b36121fe5f9f
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Tue Aug 7 22:01:32 2007 +0000

    SuSE has different doc conventions.
---
 shibboleth.spec.in | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/shibboleth.spec.in b/shibboleth.spec.in
index 791ed0a..707e61c 100644
--- a/shibboleth.spec.in
+++ b/shibboleth.spec.in
@@ -110,9 +110,15 @@ make check
 	fi
 	if [ "$APACHE_CONFD" != "no" ] ; then
 		if [ ! -f $APACHE_CONFD/shib.conf ] ; then
-			sed "s/\/usr\/doc\/shibboleth/\/usr\/share\/doc\/shibboleth- at -VERSION-@/g" \
-				%{_sysconfdir}/shibboleth/%{?apache_config} \
+%if "%{_vendor}" == "suse"
+		    sed "s/\/usr\/doc\/%{name}/\/usr\/share\/doc\/packages\/%{name}/g" \
+				%{_sysconfdir}/%{name}/$APACHE_CONFIG \
 				> $APACHE_CONFD/shib.conf
+%else
+			sed "s/\/usr\/doc\/%{name}/\/usr\/share\/doc\/%{name}- at -VERSION-@/g" \
+			    %{_sysconfdir}/%{name}/$APACHE_CONFIG \
+			    > $APACHE_CONFD/shib.conf
+%endif
 		fi
 	fi
 %endif

-- 
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