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

Comparing COMP/CMSDIST/SCRAM.spec (file contents):
Revision 1.12 by eulisse, Wed Jun 14 15:24:52 2006 UTC vs.
Revision 1.14 by eulisse, Mon Jun 19 09:50:24 2006 UTC

# Line 33 | Line 33
33   Source0: %{cvsrepo}&tag=-r%{v}&module=%n&output=/source.tar.gz
34   Requires: p5-libwww-perl
35   Patch: scram-detect-make
36 + Patch2: scram-no-check-env
37   Provides: perl(ActiveDoc::UserInterface_basic)
38   Provides: perl(ActiveDoc::UserQuery)
39   Provides: perl(ActiveDoc::GroupChecker)
# Line 45 | Line 46 | Provides: perl(Utilities::SCRAMUtils)
46   %setup -n %n
47   pwd
48   %patch -p1
49 + %patch2 -p1
50   rm src/URL/test/test_URL_cvsfile.pm
51   %build
52   %install
53   tar -cf - . | tar -C %i -xvvf -
54  
55 < mkdir -p %instroot/bin %instroot/share/scramdb
55 > mkdir -p %instroot/bin %instroot/share/scramdbv0
56 > touch %instroot/share/scramdbv0/project.lookup
57   cat > %instroot/bin/scram << \EOF
58   #!/bin/sh
59  
# Line 60 | Line 63 | cat > %instroot/bin/scram << \EOF
63  
64   SCRAM=$0
65   : ${SCRAM_HOME=%i}
66 < : ${SCRAM_LOOKUPDB=%instroot/share/scramdb/project.lookup}
66 > : ${SCRAM_LOOKUPDB=%instroot/share/scramdbv0/project.lookup}
67   : ${SCRAMPERL="/usr/bin/env perl"}
68   PERL5LIB=$SCRAM_HOME/src${PERL5LIB+":$PERL5LIB"}
69   : ${SITENAME=CERN}
# Line 83 | Line 86 | perl -p -i -e "s|#!.*perl|#!/usr/bin/env
86   %files
87   %i
88   %instroot/bin/scram
89 < %instroot/share/scramdb
89 > %instroot/share/scramdbv0
90 > %exclude %instroot/share/scramdbv0/project.lookup
91   %post
92   %{relocateConfig}etc/profile.d/dependencies-setup.sh
93   %{relocateConfig}etc/profile.d/dependencies-setup.csh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines