Whamcloud - gitweb
While this looks like it should work, and Yury says he tested it working
authorbrian <brian>
Sun, 27 Aug 2006 01:13:36 +0000 (01:13 +0000)
committerbrian <brian>
Sun, 27 Aug 2006 01:13:36 +0000 (01:13 +0000)
on both b_new_cmd and b1_5, it's obviously not working for some cases:
http://buffalo.lustre.org:8080/display_report.pl?report_id=278455
I am not sure why though.  It would seem like lustre.spec.in is not getting
processed by configure, but all indications are that it is.  Why is the
@RPM_LIBIAM_PATH@ substitution not being done then?

build/autoconf/lustre-build.m4
build/lustre.spec.in

index c4c2365..a88f0f1 100644 (file)
@@ -464,12 +464,6 @@ fi
 AC_SUBST(LIBSYSIO_SUBDIR)
 AC_SUBST(SYSIO)
 
 AC_SUBST(LIBSYSIO_SUBDIR)
 AC_SUBST(SYSIO)
 
-RPM_LIBIAM_PATH=""
-if test -f lustre/utils/libiam.c; then
-        RPM_LIBIAM_PATH="%attr(-, root, root) %{_libdir}/libiam.a"
-fi
-AC_SUBST(RPM_LIBIAM_PATH)
-
 LB_LINUX_CONDITIONALS
 LB_DARWIN_CONDITIONALS
 
 LB_LINUX_CONDITIONALS
 LB_DARWIN_CONDITIONALS
 
index c0dee17..3345eac 100644 (file)
@@ -113,7 +113,6 @@ cat >lustre.files <<EOF
 
 %attr(-, root, root) %{_libdir}/libptlctl.a
 %attr(-, root, root) %{_libdir}/liblustreapi.a
 
 %attr(-, root, root) %{_libdir}/libptlctl.a
 %attr(-, root, root) %{_libdir}/liblustreapi.a
-@RPM_LIBIAM_PATH@
 %attr(-, root, root) /usr/include/lustre
 
 %attr(-, root, root) %{_mandir}/man?/*
 %attr(-, root, root) /usr/include/lustre
 
 %attr(-, root, root) %{_mandir}/man?/*