ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-mysqldb.spec
Revision: 1.4
Committed: Wed Apr 18 23:46:02 2007 UTC (18 years ago) by ratnik
Branch: MAIN
CVS Tags: pe20070428a-ports, pe20070423b-ports, pe20070423a-ports
Changes since 1.3: +2 -0 lines
Log Message:
Changes for building  externals in 64/32 mode: added gcc-wrapper .

File Contents

# Content
1 ### RPM external py2-mysqldb 1.2.0
2 Requires: gcc-wrapper
3 %define pythonv `echo $PYTHON_VERSION | cut -d. -f 1,2`
4 ## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}/site-packages
5 %define downloadn MySQL-python
6 Source: http://belnet.dl.sourceforge.net/sourceforge/mysql-python/%downloadn-%v.tar.gz
7 Requires: python mysql
8 %prep
9 %setup -n %downloadn-%v
10 %build
11 ## IMPORT gcc-wrapper
12 python setup.py build
13 %install
14 python setup.py install --prefix=%{i}