ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-pycrypto.spec
Revision: 1.3
Committed: Tue May 1 11:58:35 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
Changes since 1.2: +0 -2 lines
Log Message:
Remove more gcc-wrappers changes.

File Contents

# Content
1 ### RPM external py2-pycrypto 2.0.1
2 %define downloadn pycrypto
3 Requires: python gmp
4 ## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}$(echo $PYTHON_VERSION | cut -d. -f 1,2)/site-packages
5 %define pythonv %(echo $PYTHON_VERSION | cut -d. -f 1,2)
6 Source: http://www.amk.ca/files/python/crypto/%downloadn-%v.tar.gz
7 Patch: py2-pycrypto-setup
8
9 %prep
10 %setup -n %downloadn-%v
11 %patch0 -p0
12 %build
13 %install
14 python setup.py install --prefix=%i
15 perl -p -i -e "s|^#!.*python(.*)|#!/usr/bin/env python$1|" `grep -r -e "^#\!.*python.*" %i | cut -d: -f1`