ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/dbs3.spec
(Generate patch)

Comparing COMP/CMSDIST/dbs3.spec (file contents):
Revision 1.3 by diego, Mon Feb 1 13:26:51 2010 UTC vs.
Revision 1.13 by diego, Tue Dec 7 09:47:35 2010 UTC

# Line 1 | Line 1
1 < ### RPM cms dbs3 HEAD_20100129
1 > ### RPM cms dbs3 DBS_0_1_0
2   ## INITENV +PATH PYTHONPATH %i/Server/Python/src
3   ## INITENV SET DBS3_SERVER_ROOT %i/Server/Python
4  
5 < %define cvsver HEAD
5 > %define cvsver %v
6   %define configdir Config
7   %define instance cms_dbs
8   %define serverlogsdir Logs
9   %define service DBS
10   %define dburl oracle://user:passwd@db
11   %define dbowner schemaowner
12 < %define dbsver DBS_3_0_0
12 > %define dbsver DBS_0_1_0
13  
14 < Requires: wmcore-webtools wmcore-db-oracle py2-cjson
15 < Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&strategy=export&nocache=true&module=COMP/DBS/DBS3&export=%{n}&tag=-r%{cvsver}&output=/%{n}.tar.gz
14 > Requires: wmcore-webtools wmcore-db-oracle py2-cjson py2-mysqldb
15 > Source: svn://svn.cern.ch/reps/CMSDMWM/DBS/tags/%realversion?scheme=svn+ssh&strategy=export&module=WMCore&output=/%{n}.tar.gz
16  
17   %prep
18 < %setup -n %{n}
18 > %setup -n WMCore
19  
20   %build
21  
22   %install
23 < cp -rp %_builddir/%{n}/* %i/
23 > cp -rp %_builddir/WMCore/* %i/
24   mkdir -p %{i}/%{configdir}
25   mkdir -p %{i}/%{serverlogsdir}
26  
# Line 32 | Line 32 | if [ -z "$DBS3_ROOT" ]; then
32         source ./etc/profile.d/init.sh
33   fi
34  
35 + export MYSQL_UNIX_PORT=$MYSQL_ROOT/mysqldb/mysql.sock
36 +
37   dbs3_start1(){
38   if [ -z "$1" ]
39     then
# Line 75 | Line 77 | config.component_('%{instance}')
77   config.%{instance}.templates = os.environ['WMCORE_ROOT'] + '/src/templates/WMCore/WebTools'
78   config.%{instance}.title = 'DBS Server'
79   config.%{instance}.description = 'CMS DBS Service'
80 + config.%{instance}.admin = 'yourname'
81  
82   config.%{instance}.section_('views')
83  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines