# | Line 1 | Line 1 | |
---|---|---|
1 | ### RPM external py2-scipy 0.5.1 | |
2 | + | Requires: gcc-wrapper |
3 | ## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION | cut -d. -f 1,2)/site-packages | |
4 | %define downloadn scipy | |
5 | Source: http://switch.dl.sourceforge.net/sourceforge/%downloadn/%downloadn-%v.tar.gz | |
# | Line 17 | Line 18 | lapack_libs = lapack_atlas | |
18 | EOF | |
19 | ||
20 | %build | |
21 | + | ## IMPORT gcc-wrapper |
22 | %install | |
23 | python setup.py install --prefix=%i | |
24 | perl -p -i -e "s|^#!.*python(.*)|#!/usr/bin/env python$1|" `grep -r -e "#\!.*python" %i | cut -d: -f1` |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |