summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 9ce6f1b9884..446018a698f 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -143,7 +143,8 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{buildroot}%{_includedir}/glusterfs/
# 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
%clean
%{__rm} -rf %{buildroot}
@@ -197,8 +198,6 @@ fi
%{_includedir}/glusterfs
%{_includedir}/libglusterfsclient.h
%exclude %{_includedir}/glusterfs/y.tab.h
-%exclude %{_libdir}/*.la
-%exclude %{_libdir}/*.a
%{_libdir}/*.so
%changelog