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

Comparing COMP/CMSDIST/cms-cvs-utils.spec (file contents):
Revision 1.3 by eulisse, Tue Jul 18 10:04:03 2006 UTC vs.
Revision 1.7 by eulisse, Tue Aug 22 16:28:10 2006 UTC

# Line 1 | Line 1
1   ### RPM cms cms-cvs-utils 1.0
2 < ## INITENV ALIAS_SH project source projch.sh
3 < ## INITENV ALIAS_SH cmscvsroot source cmscvsroot.sh
4 < ## INITENV ALIAS_CSH project source projch.csh
5 < ## INITENV ALIAS_CSH cmscvsroot source cmscvsroot.csh
2 > ## INITENV ALIAS_SH project source %i/bin/projch.sh
3 > ## INITENV ALIAS_SH cmscvsroot source %i/bin/cmscvsroot.sh
4 > ## INITENV ALIAS_CSH project source %i/bin/projch.csh
5 > ## INITENV ALIAS_CSH cmscvsroot source %i/bin/cmscvsroot.csh
6   Source: none
7  
8   %prep
# Line 94 | Line 94 | setenv CVSROOT "${cvsbase}/$argv[1]"
94   endif
95   EOF_CMSCVSROOT_CSH
96  
97 + cat << \EOF_CLCOMMIT > %i/bin/clcommit
98 +
99 + EOF_CLCOMMIT
100 +
101   chmod +x %i/bin/projch.sh
102   chmod +x %i/bin/projch.csh
103   chmod +x %i/bin/cmscvsroot.sh
# Line 108 | Line 112 | ln -sf %i/etc/profile.d/init.csh %instro
112   %instroot/%cmsplatf/etc/profile.d/S00cms-cvs-utils.csh
113  
114   %post
115 + perl -p -i -e 's|(.*setenv.*)|#$1|' $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.csh
116 + perl -p -i -e 's|(.*export.*)|#$1|' $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.sh
117   ln -sf $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.sh $RPM_INSTALL_PREFIX/%cmsplatf/etc/profile.d/S00cms-cvs-utils.sh
118 < ln -sf $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.sh $RPM_INSTALL_PREFIX/%cmsplatf/etc/profile.d/S00cms-cvs-utils.csh
118 > ln -sf $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.csh $RPM_INSTALL_PREFIX/%cmsplatf/etc/profile.d/S00cms-cvs-utils.csh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines