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

Comparing COMP/CMSDIST/PHEDEX.spec (file contents):
Revision 1.3 by lat, Fri May 5 17:31:06 2006 UTC vs.
Revision 1.4 by lat, Fri May 5 18:29:40 2006 UTC

# Line 5 | Line 5 | Provides: perl(UtilsMisc) perl(fmonMRs)
5  
6   %prep
7   %setup -n %n
8 +
9   %build
10 +
11   %install
12 + mkdir -p %i/etc
13   tar -cf - * | (cd %i && tar -xf -)
14 +
15 + mkdir -p %i/etc/profile.d
16 + for x in %pkgreqs; do
17 + p=%{instroot}/%{cmsplatf}/$(echo $x | sed 's/\([^+]*\)+\(.*\)+\([A-Z0-9].*\)/\1 \2 \3/' | tr ' ' '/')
18 + [ -d $p ] || continue # filter out /bin/sh and other weird stuff...
19 + echo ". $p/etc/profile.d/init.sh" >> %i/etc/profile.d/env.sh
20 + echo "source $p/etc/profile.d/init.csh" >> %i/etc/profile.d/env.csh
21 + done
22 +
23 + %post
24 + %{relocateConfig}etc/profile.d/env.sh
25 + %{relocateConfig}etc/profile.d/env.csh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines