Use lib macro instead of libdir
authorscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 28 Jun 2011 20:10:14 +0000 (20:10 +0000)
committerscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 28 Jun 2011 20:10:14 +0000 (20:10 +0000)
git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3480 cb58f699-b61c-0410-a6fe-9272a202ed29

shibboleth.spec.in

index 0c00739..5b37ddc 100644 (file)
@@ -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