[arm-none-eabi-gcc-cs] update workaround that prevents stripping of arm libraries

Michal Hlavinka mhlavink at fedoraproject.org
Tue Sep 2 13:41:43 UTC 2014


commit b2dfd61d99f170060714823ff3029a7bc0d5976a
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Tue Sep 2 15:41:31 2014 +0200

    update workaround that prevents stripping of arm libraries

 arm-none-eabi-gcc-cs.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec
index 7e80f1f..41ccc72 100644
--- a/arm-none-eabi-gcc-cs.spec
+++ b/arm-none-eabi-gcc-cs.spec
@@ -15,7 +15,7 @@
 
 Name:           %{target}-gcc-cs
 Version:        %{cs_date}.%{cs_rel}
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        GNU GCC for cross-compilation for %{target} target
 Group:          Development/Tools
 
@@ -91,7 +91,7 @@ case $a in
 # Prevent brp-strip* from trying to handle foreign binaries
 */brp-strip*)
   b=$(basename $a)
-  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
+  sed -e 's,find "*$RPM_BUILD_ROOT"*,find "$RPM_BUILD_ROOT%_bindir" "$RPM_BUILD_ROOT%_libexecdir",' $a > $b
   chmod a+x $b
   ;;
 esac
@@ -188,6 +188,9 @@ popd
 %endif
 
 %changelog
+* Tue Sep 02 2014 Michal Hlavinka <mhlavink at redhat.com> - 2014.05.28-2
+- update workaround that prevents stripping of arm libraries
+
 * Thu Aug 21 2014 Michal Hlavinka <mhlavink at redhat.com> - 2014.05.28-1
 - updated to 2014.05-28
 


More information about the scm-commits mailing list