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.5 by muzaffar, Sat Feb 2 00:08:55 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 192 | Line 192 | EOF_COMMON_SCRAM
192   chmod +x %{instroot}/common/scram
193   ln -sf scram %{instroot}/common/scramv1
194   ln -sf scram %{instroot}/common/scramv0
195 + ln -sf ../common/cmsarch %instroot/bin/cmsarch
196 + ln -sf ../common/cmsarch %instroot/bin/cmsos
197 + ln -sf ../common/scramv1 %instroot/bin/scramv1
198   touch %instroot/common/.cms-common
199   fi
200  
201   touch %instroot/%cmsplatf/etc/profile.d/dummy
199 ln -s ../common/cmsarch %instroot/bin/cmsarch
200 ln -s ../common/cmsarch %instroot/bin/cmsos
202  
203   %post
204   echo $RPM_INSTALL_PREFIX
# Line 216 | Line 217 | perl -p -i -e "s|%{instroot}|$RPM_INSTAL
217   %instroot/common/scram
218   %instroot/common/scramv1
219   %instroot/common/scramv0
220 + %instroot/common/.cms-common
221 + %instroot/bin/cmsos
222 + %instroot/bin/cmsarch
223 + %instroot/bin/scramv1
224   %instroot/%cmsplatf/etc/profile.d
225   %exclude %instroot/%cmsplatf/etc/profile.d/*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines