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

Comparing COMP/CMSDIST/prodrequest.spec (file contents):
Revision 1.5 by eulisse, Mon Nov 13 11:07:19 2006 UTC vs.
Revision 1.7 by eulisse, Mon Nov 13 15:40:22 2006 UTC

# Line 4 | Line 4
4   %define cvstag %{v}
5   %define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e
6   Source: %cvsserver&strategy=checkout&module=%{moduleName}&nocache=true&export=%{exportName}&tag=-r%{cvstag}&output=/PRODREQUEST.tar.gz
7 < Requires: python py2-sqlobject py2-pysqlite cherrypy py2-cheetah yui sqlite
7 > Requires: python py2-sqlobject py2-pysqlite cherrypy py2-cheetah yui sqlite py2-formencode zlib expat openssl bz2lib db4 gdbm
8  
9   %prep
10 < %setup PRODREQUEST
10 > %setup -n PRODREQUEST
11   %build
12 + rm -rf %i/etc/profile.d
13 + mkdir -p %i/etc/profile.d/
14   ( echo source $PYTHON_ROOT/etc/profile.d/init.sh ; \
15    echo source $SQLITE_ROOT/etc/profile.d/init.sh ; \
16    echo source $PY2_SQLOBJECT_ROOT/etc/profile.d/init.sh ; \
17    echo source $PY2_PYSQLITE_ROOT/etc/profile.d/init.sh ; \
18    echo source $CHERRYPY_ROOT/etc/profile.d/init.sh ; \
19 <  echo source $PY2_CHEETAH_ROOT/etc/profile.d/init.sh ; \  
19 >  echo source $PY2_CHEETAH_ROOT/etc/profile.d/init.sh ; \
20    echo source $YUI_ROOT/etc/profile.d/init.sh ; \
21    echo source $ZLIB_ROOT/etc/profile.d/init.sh ; \
22    echo source $EXPAT_ROOT/etc/profile.d/init.sh ; \
# Line 22 | Line 24 | Requires: python py2-sqlobject py2-pysql
24    echo source $BZ2LIB_ROOT/etc/profile.d/init.sh ; \
25    echo source $DB4_ROOT/etc/profile.d/init.sh ; \
26    echo source $GDBM_ROOT/etc/profile.d/init.sh ; \
27 <  echo source $DB4_ROOT/etc/profile.d/init.sh ; ) > %i/etc/profile.d/dependencies-setup.sh
27 >  echo source $PY2_FORMENCODE_ROOT/etc/profile.d/init.sh ) > %i/etc/profile.d/dependencies-setup.sh
28   %install
29   cp -r * %i/
30   %post
31 < perl -p -i -e "s!\@RPM_INSTALL_PREFIX\@!$RPM_INSTALL_PREFIX!" PRODREQUEST
31 > perl -p -i -e "s!\@RPM_INSTALL_PREFIX\@!$RPM_INSTALL_PREFIX/%pkgrel!" $RPM_INSTALL_PREFIX/%pkgrel/PRODREQUEST

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines