path: root/
diff options
authorErick Tryzelaar <>2009-12-02 17:32:05 +0000
committerAnand V. Avati <>2009-12-03 02:00:53 -0800
commitd666c882cf6896fb700a15bd72e53c675356f8fc (patch)
treefe5e0cd1af7a23f0f47917680c5ce3d9e1f001ee /
parent0cac194a149871999072e8573d7eccc4b4723e0c (diff)
Hopefully fix rpm building for everyone by rm-ing *.a and *.la
My Fedora 11 machine doesn't seem to make the .a files, so it errors out, but it appears someone else's machine does, so try to fix it by explicitly removing the .a and .la files, rather than excluding them from the %files section. Signed-off-by: Anand V. Avati <>
Diffstat (limited to '')
1 files changed, 2 insertions, 3 deletions
diff --git a/ b/
index 9ce6f1b9884..446018a698f 100644
--- a/
+++ b/
@@ -143,7 +143,8 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
# Remove unwanted files from all the shared libraries
-find %{buildroot}%{_libdir}/glusterfs -name '*.la' | xargs rm -f
+find %{buildroot}%{_libdir} -name '*.la' | xargs rm -f
+find %{buildroot}%{_libdir} -name '*.a' | xargs rm -f
%{__rm} -rf %{buildroot}
@@ -197,8 +198,6 @@ fi
%exclude %{_includedir}/glusterfs/
-%exclude %{_libdir}/*.la
-%exclude %{_libdir}/*.a