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.3 by eulisse, Mon Feb 27 14:11:53 2006 UTC vs.
Revision 1.6 by eulisse, Tue Apr 18 16:17:08 2006 UTC

# Line 1 | Line 1
1   ### RPM lcg SCRAMV1 V1_0_2
2   ## INITENV +PATH PATH %instroot/bin
3   ## INITENV SET SCRAM_ARCH %{cmsplatf}
4 < %define perl5lib %(echo $P5_XML_PARSER_ROOT/lib):%(echo $P5_LIBWWW_PERL_ROOT/lib):%(echo $TEMPLATE_TOOLKIT_ROOT/lib)
5 < ## INITENV +PATH PERL5LIB %perl5lib
6 < Requires: template-toolkit perl p5-xml-parser p5-libwww-perl
4 > Requires: perl expat p5-template-toolkit p5-uri p5-xml-parser p5-libwww-perl
5   # This package is somewhat unusual compared to other packages we
6   # build: we install the normally versioned product "SCRAM", but also
7   # create the front-end "scram" wrapper and the package database.  The
# Line 70 | Line 68 | cat Installation/SCRAM_SITE.pm.in | sed
68   chmod 755 %instroot/bin/scramv1
69   mkdir %i/etc
70   echo $PERL5LIB > %i/etc/perl5lib.env
71 +
72 + mkdir -p %{i}/etc/profile.d
73 + echo "#!/bin/sh" > %i/etc/profile.d/dependencies-setup.sh
74 + echo "source $PERL_ROOT/etc/profile.d/init.sh" >> %i/etc/profile.d/dependencies-setup.sh
75 + echo "source $EXPAT_ROOT/etc/profile.d/init.sh" >> %i/etc/profile.d/dependencies-setup.sh
76 + echo "source $P5_TEMPLATE_TOOLKIT_ROOT/etc/profile.d/init.sh" >> %i/etc/profile.d/dependencies-setup.sh
77 + echo "source $P5_URI_ROOT/etc/profile.d/init.sh" >> %i/etc/profile.d/dependencies-setup.sh
78 + echo "source $P5_XML_PARSER_ROOT/etc/profile.d/init.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 +
81 + %post
82 + %{relocateConfig}etc/perl5lib.env
83 + %{relocateConfig}Installation/SCRAM_SITE.pm
84 + %{relocateConfig}bin/scramv1
85 + %{relocateConfig}etc/profile.d/dependencies-setup.sh
86   %files
87   %i
88   %instroot/bin/scramv1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines