ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/dls.spec
Revision: 1.3
Committed: Mon Apr 24 16:44:49 2006 UTC (19 years ago) by eulisse
Branch: MAIN
Changes since 1.2: +1 -0 lines
Log Message:
Patches "#!/usr/bin/python" to be "#!/usr/bin/env python"

File Contents

# User Rev Content
1 elmer 1.2 ### RPM cms dls DLS_0_0_2
2 eulisse 1.1 ## INITENV +PATH PATH %{i}/Server/SimpleServer
3     ## INITENV +PATH PATH %{i}/Client/SimpleClient
4 elmer 1.2 %define cvstag %v
5 eulisse 1.1 Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=DLS&export=DLS&&tag=-r%{cvstag}&output=/DLS.tar.gz
6     Requires: mysql
7     Requires: python
8     Requires: py2-mysqldb
9     %prep
10     %setup -n DLS
11 eulisse 1.3 perl -p -i -e "s|#!/usr/bin/python|#!/usr/bin/env python|" $(find . -name *.py)
12 eulisse 1.1 %build
13     %install
14     cp -r ./* %{i}