[avr-gcc] update workaround that prevents stripping of avr libraries (#1134394)

Michal Hlavinka mhlavink at fedoraproject.org
Fri Aug 29 20:19:56 UTC 2014


commit b158fa88310f91633a9f41cea484dc05f845cbf7
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Fri Aug 29 22:19:57 2014 +0200

    update workaround that prevents stripping of avr libraries (#1134394)

 avr-gcc.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/avr-gcc.spec b/avr-gcc.spec
index 07e5ae4..51f4aa5 100644
--- a/avr-gcc.spec
+++ b/avr-gcc.spec
@@ -2,7 +2,7 @@
 
 Name:           %{target}-gcc
 Version:        4.9.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Cross Compiling GNU GCC targeted at %{target}
 Group:          Development/Languages
 License:        GPLv2+
@@ -58,7 +58,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
@@ -133,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Aug 29 2014 Michal Hlavinka <mhlavink at redhat.com> - 4.9.1-3
+- update workaround that prevents stripping of avr libraries (#1134394)
+
 * Fri Aug 15 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.9.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list