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.5 by lat, Fri May 5 18:41:07 2006 UTC vs.
Revision 1.6 by lat, Mon May 8 12:24:49 2006 UTC

# Line 3 | Line 3 | Source: cvs://:pserver:anonymous@cmscvs.
3   Requires: oracle oracle-env p5-time-hires p5-text-glob p5-compress-zlib p5-dbi p5-dbd-oracle p5-xml-parser srmcp python
4   Provides: perl(UtilsMisc) perl(fmonMRs)
5  
6 + # Extra requires so we get everything necessary for env.{,c}sh.
7 + Requires: perl-virtual zlib expat openssl bz2lib ncurses gdbm db4
8 +
9   %prep
10   %setup -n %n
11  
# Line 14 | Line 17 | tar -cf - * | (cd %i && tar -xf -)
17  
18   mkdir -p %i/etc/profile.d
19   for x in %pkgreqs; do
20 + case $x in /* ) continue ;; esac
21   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...
22   echo ". $p/etc/profile.d/init.sh" >> %i/etc/profile.d/env.sh
23   echo "source $p/etc/profile.d/init.csh" >> %i/etc/profile.d/env.csh
24   done

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines