From d4d89a96c483e56ba43d2ccb6f735af6767dd29f Mon Sep 17 00:00:00 2001 From: konradm Date: Dec 07 2009 07:00:02 +0000 Subject: - Only disable brp-strip-static. --- diff --git a/sdcc.spec b/sdcc.spec index e49dcae..707ed16 100644 --- a/sdcc.spec +++ b/sdcc.spec @@ -1,6 +1,6 @@ Name: sdcc Version: 2.9.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Small Device C Compiler Group: Applications/Engineering License: GPLv2+ @@ -60,9 +60,9 @@ Emacs extensions for SDCC. %patch3 -p1 find -name '*.[ch]' -exec chmod -x '{}' \; -# Disable brp-strip for now because it errors trying to strip foreign -# binaries. -%global __os_install_post /usr/lib/rpm/redhat/brp-compress +# Disable brp-strip-static-archive for now because it errors trying to +# strip foreign binaries. +%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's#/usr/lib/rpm/redhat/brp-strip-static-archive .*##g') %build @@ -125,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Dec 6 2009 Conrad Meyer - 2.9.0-7 +- Only disable brp-strip-static. + * Sun Dec 6 2009 Conrad Meyer - 2.9.0-6 - Work around rpmbuild failure by disabling brp-strip.