ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/gdb.spec
(Generate patch)

Comparing COMP/CMSDIST/gdb.spec (file contents):
Revision 1.7 by elmer, Sun Nov 8 12:41:09 2009 UTC vs.
Revision 1.11 by elmer, Mon Apr 19 16:15:29 2010 UTC

# Line 1 | Line 1
1 < ### RPM external gdb 7.0
2 < ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac
1 > ### RPM external gdb 7.1
2 > ## BUILDIF case $(uname):$(uname -m) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac
3  
4   Source: http://ftp.gnu.org/gnu/%{n}/%{n}-%{realversion}.tar.bz2
5   Requires: python
6 + #Requires: expat
7  
8   %prep
9   %setup -n %n-%{realversion}
10  
11   %build
12   export PYTHONV=$(echo $PYTHON_VERSION | cut -f1,2 -d.)
13 < #./configure --prefix=%{i} --with-expat=no --with-python=yes --with-python-lib=$PYTHON_ROOT/lib --with-python-include=$PYTHON_ROOT/include/python${PYTHONV}
13 > #./configure --prefix=%{i} --with-expat=$EXPAT_ROOT --with-python=$PYTHON_ROOT
14   ./configure --prefix=%{i} --with-expat=no --with-python=$PYTHON_ROOT
15   make %makeprocesses
16  
17   %install
18   make install
18 mv %i/bin/gdb %i/bin/gdb-%{realversion}
19  
20 < # To save space, clean up some things that we don't really need
20 > cd %i/bin/
21 > ln -s gdb gdb-%{realversion}
22 >
23 > # To save space, clean up some things that we don't really need
24   rm %i/lib/*
25   rm %i/bin/gdbserver
26   rm %i/bin/gdbtui

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines