Revision: | 1.12 |
Committed: | Fri May 26 20:55:08 2006 UTC (18 years, 11 months ago) by lat |
Branch: | MAIN |
CVS Tags: | CRABSERVER_TEST_BUILD_V4, CRABSERVER_TEST_BUILD_V3, CRABSERVER_TEST_BUILD_V2, CRABSERVER_TEST_BUILD_V1, forCRABSERVER104test, forCRABSERVER103, PRODAGENT_0_10_12_V10, PRODAGENT_0_10_12_V9, PRODAGENT_0_10_12_V8, PRODAGENT_0_10_12_V7, PRODAGENT_0_10_12_V6, PRODAGENT_0_10_12_V5, PRODAGENT_0_10_12_V4, forCS102pre4, PRODAGENT_0_10_12_V3, PRODAGENT_0_10_12_V2, PRODAGENT_0_10_12, PRODAGENT_0_10_3, PRODAGENT_0_10_3_20080521, PRODAGENT_0_8_3_SL4, forPA070pre3-slc3, forPA070pre3-slc4, forPA070pre3-slc, forPA061, forPA060pre7-slc4, forPA060pre3, forDBS106, forPA050pre3, WEBTOOLS_CONFIG_1_pre2, WEBTOOLS_CONFIG_1_pre1, forPA030, forPA020, PR_0_5_4, PR_0_5_0, PR_0_4_21, PRODREQUEST_0_4_0, PR0_3_13, PR0_3_12, PR0-3-11, forPR034, forPR033, forPIL116, forPR032, forPR030, forPR020, forPA011, forPR010, forPA010, af20060928, ProdAgent_pa17 |
Changes since 1.11: | +1 -1 lines |
Log Message: | Bump version. |
# | User | Rev | Content |
---|---|---|---|
1 | lat | 1.12 | ### RPM cms PHEDEX PHEDEX_2_3_5 |
2 | eulisse | 1.1 | Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=%n&export=%n&&tag=-r%{v}&output=/%n.tar.gz |
3 | lat | 1.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 | lat | 1.9 | Provides: perl(UtilsMisc) |
5 | eulisse | 1.1 | |
6 | lat | 1.6 | # Extra requires so we get everything necessary for env.{,c}sh. |
7 | lat | 1.9 | Requires: zlib expat openssl bz2lib |
8 | lat | 1.6 | |
9 | eulisse | 1.1 | %prep |
10 | %setup -n %n | ||
11 | lat | 1.4 | |
12 | eulisse | 1.1 | %build |
13 | lat | 1.4 | |
14 | eulisse | 1.1 | %install |
15 | lat | 1.4 | mkdir -p %i/etc |
16 | lat | 1.2 | tar -cf - * | (cd %i && tar -xf -) |
17 | lat | 1.4 | |
18 | mkdir -p %i/etc/profile.d | ||
19 | for x in %pkgreqs; do | ||
20 | lat | 1.6 | case $x in /* ) continue ;; esac |
21 | lat | 1.4 | p=%{instroot}/%{cmsplatf}/$(echo $x | sed 's/\([^+]*\)+\(.*\)+\([A-Z0-9].*\)/\1 \2 \3/' | tr ' ' '/') |
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 | ||
25 | |||
26 | %post | ||
27 | %{relocateConfig}etc/profile.d/env.sh | ||
28 | %{relocateConfig}etc/profile.d/env.csh |