Skip to content

Commit

Permalink
Don't strip static archives.
Browse files Browse the repository at this point in the history
This is already done by brp-strip-static-archive.
  • Loading branch information
Andreas Schwab committed Aug 5, 2009
1 parent 3c16fc6 commit 9b26179
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions fedora/glibc.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -530,17 +530,6 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}
cp -a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.a \
$RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/
rm -f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/*_p.a
# Now strip debugging info from static libraries
pushd $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
for i in *.a; do
if [ -f $i ]; then
case "$i" in
*_p.a) ;;
*) strip -g -R .comment $i ;;
esac
fi
done
popd

# rquota.x and rquota.h are now provided by quota
rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
Expand Down

0 comments on commit 9b26179

Please sign in to comment.