[gprof2dot/el5/master] Update spec file so this would actually build on rhel5

Toshio くらとみ toshio at fedoraproject.org
Sat Jan 8 04:06:00 UTC 2011


commit 9b6ee191c9e11aee4c200c62f7c5d993377f0805
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Fri Jan 7 20:05:32 2011 -0800

    Update spec file so this would actually build on rhel5

 gprof2dot.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gprof2dot.spec b/gprof2dot.spec
index 9eca7b5..d15c5b3 100644
--- a/gprof2dot.spec
+++ b/gprof2dot.spec
@@ -28,7 +28,9 @@ features:
 * uses color efficiently to draw attention to hot-spots
 
 %prep
-%setup -q
+rm -rf %{name}-%{version}
+xzcat %{SOURCE0} | tar -xf -
+%setup -qTD
 sed -i '1s@^#!/usr/bin/env python$@#!/usr/bin/python@'  gprof2dot.py
 cd tests
 sed -i 's/^PYTHON=python2.5$/PYTHON=python/' runtests.sh


More information about the scm-commits mailing list