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

# User Rev Content
1 eulisse 1.1 ### RPM external py2-mysqldb 1.2.0
2 ratnik 1.4 Requires: gcc-wrapper
3 eulisse 1.3 %define pythonv `echo $PYTHON_VERSION | cut -d. -f 1,2`
4 eulisse 1.1 ## 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 ratnik 1.4 ## IMPORT gcc-wrapper
12 eulisse 1.1 python setup.py build
13     %install
14     python setup.py install --prefix=%{i}