[glew] Prevent stripping binaries before rpmbuild does it.

Ville Skyttä scop at fedoraproject.org
Tue Dec 18 16:48:00 UTC 2012


commit 1a125c5dff3974571244bc38aeece6dd52b7da32
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Dec 18 18:47:51 2012 +0200

    Prevent stripping binaries before rpmbuild does it.

 glew.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/glew.spec b/glew.spec
index 53350d4..43cb07a 100644
--- a/glew.spec
+++ b/glew.spec
@@ -1,6 +1,6 @@
 Name:           glew
 Version:        1.9.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        The OpenGL Extension Wrangler Library
 Group:          System Environment/Libraries
 License:        BSD and MIT
@@ -54,7 +54,7 @@ sed -i -e 's/\r//g' config/config.guess
 
 %build
 
-make %{?_smp_mflags} CFLAGS.EXTRA="$RPM_OPT_FLAGS" includedir=%{_includedir} GLEW_DEST= libdir=%{_libdir} bindir=%{_bindir}
+make %{?_smp_mflags} CFLAGS.EXTRA="$RPM_OPT_FLAGS" includedir=%{_includedir} GLEW_DEST= STRIP= libdir=%{_libdir} bindir=%{_bindir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -99,6 +99,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc doc/*
 
 %changelog
+* Tue Dec 18 2012 Ville Skyttä <ville.skytta at iki.fi> - 1.9.0-2
+- Prevent stripping binaries before rpmbuild does it.
+
 * Thu Dec 13 2012 Adam Jackson <ajax at redhat.com> 1.9.0-1
 - glew 1.9.0
 


More information about the scm-commits mailing list