jcapik pushed to sdcc (epel7). "- Only disable brp-strip-static."

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Jun 10 17:29:21 UTC 2015


From d4d89a96c483e56ba43d2ccb6f735af6767dd29f Mon Sep 17 00:00:00 2001
From: konradm <konradm at fedoraproject.org>
Date: Mon, 7 Dec 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 <konrad at tylerc.org> - 2.9.0-7
+- Only disable brp-strip-static.
+
 * Sun Dec 6 2009 Conrad Meyer <konrad at tylerc.org> - 2.9.0-6
 - Work around rpmbuild failure by disabling brp-strip.
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/sdcc.git/commit/?h=epel7&id=d4d89a96c483e56ba43d2ccb6f735af6767dd29f


More information about the scm-commits mailing list