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

Comparing COMP/CMSDIST/cms-common.spec (file contents):
Revision 1.2 by elmer, Thu Jan 24 08:33:05 2008 UTC vs.
Revision 1.4 by muzaffar, Thu Jan 31 17:08:05 2008 UTC

# Line 180 | Line 180 | source %{instroot}/$CMSARCH/${srbase}/et
180   # running (i686 or x84_64) scram detects it as ia32.
181   CMSPLAT=`echo $CMSARCH | cut -d_ -f 2`
182   USE_LINUX32=
183 < if [ `uname` = Linux]; then
183 > if [ `uname` == Linux ]; then
184    if [ "$CMSPLAT" = "ia32" ]
185    then
186        USE_LINUX32=linux32
# Line 198 | Line 198 | fi
198   touch %instroot/%cmsplatf/etc/profile.d/dummy
199   ln -s ../common/cmsarch %instroot/bin/cmsarch
200   ln -s ../common/cmsarch %instroot/bin/cmsos
201 + ln -s ../common/scram %instroot/bin/scram
202 + ln -s ../common/scramv1 %instroot/bin/scramv1
203 + ln -s ../common/scramv0 %instroot/bin/scramv0
204  
205   %post
206   echo $RPM_INSTALL_PREFIX
# Line 216 | Line 219 | perl -p -i -e "s|%{instroot}|$RPM_INSTAL
219   %instroot/common/scram
220   %instroot/common/scramv1
221   %instroot/common/scramv0
222 + %instroot/common/.cms-common
223 + %instroot/bin/cmsos
224 + %instroot/bin/cmsarch
225 + %instroot/bin/scram
226 + %instroot/bin/scramv1
227 + %instroot/bin/scramv0
228   %instroot/%cmsplatf/etc/profile.d
229   %exclude %instroot/%cmsplatf/etc/profile.d/*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines