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

Comparing COMP/CMSDIST/SCRAMV1.spec (file contents):
Revision 1.13 by eulisse, Mon Jun 19 09:50:24 2006 UTC vs.
Revision 1.17 by eulisse, Wed Jun 21 16:20:43 2006 UTC

# Line 81 | Line 81 | chmod 755 %instroot/bin/scramv1
81   mkdir %i/etc
82   echo $PERL5LIB > %i/etc/perl5lib.env
83  
84 + mkdir -p %{instroot}/%{cmsplatf}/etc/profile.d
85   mkdir -p %{i}/etc/profile.d
86   echo "#!/bin/sh" > %i/etc/profile.d/dependencies-setup.sh
87   echo "source $EXPAT_ROOT/etc/profile.d/init.sh" >> %i/etc/profile.d/dependencies-setup.sh
# Line 98 | Line 99 | echo "source $P5_LIBWWW_PERL_ROOT/etc/pr
99  
100  
101   perl -p -i -e "s|#!.*perl|/usr/bin/env perl|" %{i}/doc/doxygen/DoxyFilt.pl
102 + ln -sf %{i}/etc/profile.d/init.sh  %{instroot}/%{cmsplatf}/etc/profile.d/S00SCRAMV1.sh
103 + ln -sf %{i}/etc/profile.d/init.csh %{instroot}/%{cmsplatf}/etc/profile.d/S00SCRAMV1.csh
104  
105   %post
106   %{relocateConfig}etc/perl5lib.env
# Line 111 | Line 114 | fi
114   %{relocateConfig}etc/profile.d/dependencies-setup.sh
115   %{relocateConfig}etc/profile.d/dependencies-setup.csh
116   perl -p -i -e "s|%{instroot}|$RPM_INSTALL_PREFIX|g" $RPM_INSTALL_PREFIX/bin/scramv1
117 + ln -sf $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.sh $RPM_INSTALL_PREFIX/%{cmsplatf}/etc/profile.d/S00SCRAMV1.sh
118 + ln -sf $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.csh $RPM_INSTALL_PREFIX/%{cmsplatf}/etc/profile.d/S00SCRAMV1.csh
119 +
120   %files
121   %i
122   %instroot/bin/scramv1
123   %instroot/share/scramdb
124 + %{instroot}/%{cmsplatf}/etc/profile.d/S00SCRAMV1.sh
125 + %{instroot}/%{cmsplatf}/etc/profile.d/S00SCRAMV1.csh
126   %exclude %instroot/share/scramdb/project.lookup
127 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines