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.8 by eulisse, Thu May 11 14:23:58 2006 UTC vs.
Revision 1.13 by eulisse, Thu Jun 15 22:57:41 2006 UTC

# Line 31 | Line 31
31   %define cvsrepo cvs://:pserver:anonymous@spitools.cvs.cern.ch:2401/cvs/SPITOOLS?passwd=Ah<Z
32  
33   Source0: %{cvsrepo}&tag=-r%{v}&module=%n&output=/source.tar.gz
34 < Requires: perl-virtual
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)
40 > Provides: perl(ObjectStore)
41 > Provides: perl(Utilities::AddDir)
42   Provides: perl(Utilities::GroupChecker)
43 + Provides: perl(Utilities::SCRAMUtils)
44  
45   %prep
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
# Line 62 | Line 73 | export PERL5LIB SITENAME SEARCHOVRD LOCT
73  
74   exec perl "$SCRAM_HOME/src/scramcli" ${1+"$@"}
75   EOF
76 +
77 + mkdir -p %{i}/etc/profile.d
78 + echo "#!/bin/sh" > %i/etc/profile.d/dependencies-setup.sh
79 + echo "source $P5_LIBWWW_PERL_ROOT/etc/profile.d/init.sh" >> %i/etc/profile.d/dependencies-setup.sh
80 + echo "#!/bin/csh" > %i/etc/profile.d/dependencies-setup.csh
81 + echo "source $P5_LIBWWW_PERL_ROOT/etc/profile.d/init.csh" >> %i/etc/profile.d/dependencies-setup.csh
82 +
83   chmod 755 %instroot/bin/scram
84   perl -p -i -e "s|#!.*perl|#!/usr/bin/env perl|" $(find %{i})
85   %files
# Line 69 | Line 87 | perl -p -i -e "s|#!.*perl|#!/usr/bin/env
87   %instroot/bin/scram
88   %instroot/share/scramdb
89   %post
90 + %{relocateConfig}etc/profile.d/dependencies-setup.sh
91 + %{relocateConfig}etc/profile.d/dependencies-setup.csh
92 +
93   perl -p -i -e "s|%instroot|$RPM_INSTALL_PREFIX|g" $RPM_INSTALL_PREFIX/bin/scram

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines