[tree/f14] Don't strip the binary too early (bug #718456).

Tim Waugh twaugh at fedoraproject.org
Mon Jul 4 10:42:05 UTC 2011


commit 13bd914a85b2da1c094670319465114ec9737af5
Author: Tim Waugh <twaugh at redhat.com>
Date:   Mon Jul 4 11:12:02 2011 +0100

    Don't strip the binary too early (bug #718456).

 tree-no-strip.patch |   11 ++++++++++-
 tree.spec           |    5 ++++-
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/tree-no-strip.patch b/tree-no-strip.patch
index 0ae63ce..5f46ada 100644
--- a/tree-no-strip.patch
+++ b/tree-no-strip.patch
@@ -1,6 +1,15 @@
 diff -up tree-1.6.0/Makefile.no-strip tree-1.6.0/Makefile
 --- tree-1.6.0/Makefile.no-strip	2011-06-24 15:25:27.000000000 +0100
-+++ tree-1.6.0/Makefile	2011-06-27 16:10:48.812529754 +0100
++++ tree-1.6.0/Makefile	2011-07-04 11:11:17.662036666 +0100
+@@ -32,7 +32,7 @@ OBJS=tree.o unix.o html.o xml.o hash.o c
+ # Linux defaults:
+ #CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+ CFLAGS=-O4 -Wall  -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+-LDFLAGS=-s
++LDFLAGS=
+ 
+ # Uncomment for FreeBSD:
+ #CFLAGS=-O2 -Wall -fomit-frame-pointer
 @@ -97,7 +97,7 @@ install: tree
  	install -d $(BINDIR)
  	install -d $(MANDIR)
diff --git a/tree.spec b/tree.spec
index cf511f3..f8f84cf 100644
--- a/tree.spec
+++ b/tree.spec
@@ -1,7 +1,7 @@
 Summary: File system tree viewer
 Name: tree
 Version: 1.6.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Applications/File
 License: GPLv2+
 Url: http://mama.indstate.edu/users/ice/tree/
@@ -50,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc README LICENSE
 
 %changelog
+* Mon Jul  4 2011 Tim Waugh <twaugh at redhat.com> 1.6.0-2
+- Don't strip the binary too early (bug #718456).
+
 * Mon Jun 27 2011 Tim Waugh <twaugh at redhat.com> 1.6.0-1
 - 1.6.0 (bug #716879).
 


More information about the scm-commits mailing list