Revision: | 1.5 |
Committed: | Tue May 1 11:09:39 2007 UTC (18 years ago) by elmer |
Branch: | MAIN |
CVS Tags: | CMSSW_1_6_0_pre1, pe20070729b-160p2, pe20070729b-160p1, pe20070729a-160p2, pe20070729a-160p1, pe20070629a-ports, pe20070628e-ports, pe20070628d-ports, pe20070628c-ports, pe20070628b-ports, pe20070628a-ports, pe20070627b-ports, pe20070627a-ports, pe20070626c-ports, ge20070625, pe20070626b-ports, sm20070626a-ports, pe20070626a-ports, pe20070625b-ports, pe20070625a-ports, pe20070624a-ports, ge20070622, pe20070607a-ports, pe20070522a-ports, pe20070519a-ports, pe20070512a-ports, pe20070508a-ports, pe20070507a-ports, pe20070501c-ports, pe20070501b-ports, pe20070501a-ports |
Changes since 1.4: | +0 -2 lines |
Log Message: | Remove gcc-wrappers |
# | Content |
---|---|
1 | ### RPM external py2-mysqldb 1.2.0 |
2 | %define pythonv `echo $PYTHON_VERSION | cut -d. -f 1,2` |
3 | ## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}/site-packages |
4 | %define downloadn MySQL-python |
5 | Source: http://belnet.dl.sourceforge.net/sourceforge/mysql-python/%downloadn-%v.tar.gz |
6 | Requires: python mysql |
7 | %prep |
8 | %setup -n %downloadn-%v |
9 | %build |
10 | python setup.py build |
11 | %install |
12 | python setup.py install --prefix=%{i} |