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

Michal Hlavinka mhlavink at fedoraproject.org
Tue Sep 2 10:28:24 UTC 2014


commit 721a5992b3273a1896abae2b711337dee1cdea2e
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Tue Sep 2 12:28:13 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..158e9dc 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
+* Tue Sep 02 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