From: Scott Cantor Date: Tue, 28 Jun 2011 19:42:08 +0000 (+0000) Subject: Use lib macro instead of libdir X-Git-Tag: 2.4.3~8 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp.git;a=commitdiff_plain;h=7453c593fe785c9a108d0cd24c26b6401ad6a5b4 Use lib macro instead of libdir --- diff --git a/shibboleth.spec.in b/shibboleth.spec.in index 0c00739..5b37ddc 100644 --- a/shibboleth.spec.in +++ b/shibboleth.spec.in @@ -89,7 +89,7 @@ This package includes files needed for development with Shibboleth. %if 0%{?rhel} >= 6 %{__sed} -i "s/#_RHEL6_//g" \ $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/shibd-redhat - %{__sed} -i "s/\/opt\/shibboleth\/lib/%{_libdir}/g" \ + %{__sed} -i "s/\/opt\/shibboleth\/lib/\/opt\/shibboleth\/%{_lib}/g" \ $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/shibd-redhat chrpath -d $RPM_BUILD_ROOT%{_sbindir}/shibd chrpath -d $RPM_BUILD_ROOT%{_bindir}/mdquery