Signed-off-by: Ira Weiny <wei...@llnl.gov>
---
 configure.in             |    2 +-
 infiniband-diags.spec.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.in b/configure.in
index dfb6ba2..183223d 100644
--- a/configure.in
+++ b/configure.in
@@ -132,7 +132,7 @@ AC_SUBST(PERL_INSTALLDIR)
 
 if test $withperlinstalldir = "no"
 then
-    PERL_INSTALLDIR=`$PERL -e 'use Config; $T=$Config{installsitearch}; print 
$T;'`
+    PERL_INSTALLDIR=`$PERL -e 'use Config; $T=$Config{installvendorlib}; print 
$T;'`
 fi
 AC_SUBST(PERL_INSTALLDIR)
 
diff --git a/infiniband-diags.spec.in b/infiniband-diags.spec.in
index bcdd250..6b05483 100644
--- a/infiniband-diags.spec.in
+++ b/infiniband-diags.spec.in
@@ -50,7 +50,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/*.a
 %{_libdir}/*.so*
 %{_includedir}/infiniband/*.h
-%define _perldir %(perl -e 'use Config; $T=$Config{installsitearch}; 
$T=~/(.*)\\/site_perl.*/; print $1;')
+%define _perldir %(perl -e 'use Config; $T=$Config{installvendorlib}; print 
$T;')
 %{_perldir}/*
 %{_mandir}/man8/*
 %{_mandir}/man3/*
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to