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

Comparing COMP/CMSDIST/root.spec (file contents):
Revision 1.169 by elmer, Tue Jul 7 15:06:48 2009 UTC vs.
Revision 1.188 by elmer, Sun Jan 31 22:05:13 2010 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.22.00a
1 > ### RPM lcg root 5.26.00a
2   ## INITENV +PATH PYTHONPATH %i/lib/python
3 < ## INITENV SET ROOTSYS %i
3 > ## INITENV SET ROOTSYS %i
4   #Source: cvs://:pserver:cvs@root.cern.ch:2401/user/cvs?passwd=Ah<Z&tag=-rv%(echo %realversion | tr . -)&module=root&output=/%{n}_v%{realversion}.source.tar.gz
5   Source: ftp://root.cern.ch/%n/%{n}_v%{realversion}.source.tar.gz
6   %define closingbrace )
7 < %define online %(case %cmsplatf in *onl_*_*%closingbrace echo true;; *%closingbrace echo flase;; esac)
7 > %define online %(case %cmsplatf in *onl_*_*%closingbrace echo true;; *%closingbrace echo false;; esac)
8  
9   Patch0:  root-5.18-00-libpng
10 < Patch1:  root-5.21-04-CINT-maxlongline
11 < Patch2:  root-5.22-00-TMVA-shut-the-hell-up-for-once
12 < Patch3:  root-5.22-00a-TMVA-shut-the-hell-up-again
13 < Patch4:  root-5.22-00a-CINTFunctional
14 < Patch5:  root-5.22-00a-TClass
15 < Patch6:  root-5.22-00a-fireworks-graf3d-gui
16 < Patch7:  root-5.22-00a-Reflex-Class
17 < Patch8:  root-5.22-00a-Cintex
18 < Patch9:  root-5.22-00a-roofit-silence-static-printout
19 < Patch10: root-5.22-00a-TMVA-just-shut-the-hell-up
20 < Patch11: root-5.22-00a-th1
21 < Patch12: root-5.22-00a-smatrix
22 < Patch13: root-5.22-00a-fireworks1
23 < Patch14: root-5.22-00a-Reflex-gendict_selclass
24 < Patch15: root-5.22-00a-MatrixInversion
25 < Patch16: root-5.22-00a-gcc44
26 < Patch17: root-5.22-00a-fireworks2
27 < Patch18: root-5.22-00a-fireworks3
28 < Patch19: root-5.22-00a-TBranchElement
29 < Patch20: root-5.22-00a-tmplt
30 < Patch21: root-5.22-00a-TBranchElement_TStreamerInfo
31 < Patch22: root-5.22-00a-gcc43-array-bounds-dictionary-workaround
10 > Patch1:  root-5.22-00-TMVA-shut-the-hell-up-for-once
11 > Patch2:  root-5.22-00a-roofit-silence-static-printout
12 > Patch3:  root-5.22-00d-linker-gnu-hash-style
13 > Patch4:  root-5.26-00a-CINT-maxlongline
14 > Patch5:  root-5.26-00a-silence-TMVA
15  
16   %define cpu %(echo %cmsplatf | cut -d_ -f2)
34 %define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2)
17  
18   Requires: gccxml gsl castor libjpg dcap pcre python
19  
20   %if "%online" != "true"
21 < Requires: qt openssl mysql libpng zlib libungif xrootd
21 > Requires: qt openssl libpng zlib libungif xrootd
22   %else
23   %define skiplibtiff true
24   %endif
# Line 57 | Line 39 | Requires: libtiff
39   %patch3 -p1
40   %patch4 -p1
41   %patch5 -p1
42 < %patch6 -p1
61 < %patch7 -p0
62 < %patch8 -p0
63 < %patch9 -p1
64 < %patch10 -p1
65 < %patch11 -p1
66 < %patch12 -p1
67 < %patch13 -p1
68 < %patch14 -p0
69 < %patch15 -p0
70 < # patch16 is compiler version dependent, see below
71 < %patch17 -p1
72 < %patch18 -p1
73 < %patch19 -p0
74 < %patch20 -p0
75 < %patch21 -p0
76 < # work around patch issue...
77 < rm graf3d/gl/src/gl2ps.c
78 < # patch22 is compiler version dependent, see below
79 <
80 < case %gccver in
81 <  4.3.*)
82 < %patch22 -p1
83 <  ;;
84 <  4.4.*)
85 < %patch16 -p1
86 <  ;;
87 < esac
88 <
42 >
43   %build
44  
45   mkdir -p %i
46   export ROOTSYS=%_builddir/root
47 + export PYTHONV=$(echo $PYTHON_VERSION | cut -f1,2 -d.)
48  
49   %if "%online" == "true"
50 < # Build without mysql, and use system qt.
96 < # Also skip xrootd and odbc for online case:
50 > # Use system qt. Also skip xrootd and odbc for online case:
51  
52   EXTRA_CONFIG_ARGS="--with-f77=/usr
99             --disable-mysql
53               --disable-xrootd
54               --disable-odbc
55               --disable-qt --disable-qtgsi"
56   %else
57   EXTRA_CONFIG_ARGS="--with-f77=${GCC_ROOT}
58               --with-xrootd=$XROOTD_ROOT
106             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
59               --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
60               --with-ssl-incdir=${OPENSSL_ROOT}/include
61               --with-ssl-libdir=${OPENSSL_ROOT}/lib
# Line 115 | Line 67 | CONFIG_ARGS="--enable-table
67               --disable-builtin-freetype
68               --disable-builtin-zlib
69               --with-gccxml=${GCCXML_ROOT}
70 <             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
70 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python${PYTHONV}
71               --enable-explicitlink
72               --enable-mathmore
73               --enable-reflex  
74               --enable-cintex
75               --enable-minuit2
124             --enable-roofit
76               --disable-ldap
77               --disable-krb5
78               --with-gsl-incdir=${GSL_ROOT}/include
# Line 129 | Line 80 | CONFIG_ARGS="--enable-table
80               --with-dcap-libdir=${DCAP_ROOT}/lib
81               --with-dcap-incdir=${DCAP_ROOT}/include
82               --disable-pgsql
83 +             --disable-mysql
84               --disable-xml ${EXTRA_CONFIG_ARGS}"
85  
86 < #case %gccver in
135 < #  4.*)
136 < #  CONFIG_ARGS="$CONFIG_ARGS --disable-cern"
137 < #  ;;
138 < #esac
139 <
140 < case $(uname)-$(uname -p) in
86 > case $(uname)-$(uname -m) in
87    Linux-x86_64)
88      ./configure linuxx8664gcc $CONFIG_ARGS --with-shift-libdir=${CASTOR_ROOT}/lib --with-shift-incdir=${CASTOR_ROOT}/include/shift --disable-astiff;;
89    Linux-i*86)
# Line 181 | Line 127 | cp -r cint/reflex/python/genreflex $ROOT
127   # SCRAM ToolBox toolfile
128   mkdir -p %i/etc/scram.d
129   # rootcore toolfile
130 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootcore
131 < <doc type=BuildSystem::ToolDoc version=1.0>
132 < <Tool name=rootcore version=%v>
133 < <info url="http://root.cern.ch/root/"></info>
134 < <lib name=Tree>
135 < <lib name=Net>
136 < <lib name=Thread>
137 < <lib name=MathCore>
138 < <lib name=RIO>
139 < <lib name=Core>
140 < <lib name=Cint>
141 < <Client>
142 < <Environment name=ROOTCORE_BASE default="%i"></Environment>
143 < <Environment name=LIBDIR default="$ROOTCORE_BASE/lib"></Environment>
144 < <Environment name=INCLUDE default="$ROOTCORE_BASE/include"></Environment>
145 < <Environment name=INCLUDE default="$ROOTCORE_BASE/cint"></Environment>
146 < </Client>
147 < <use name=sockets>
148 < <use name=pcre>
149 < <use name=zlib>
150 < <Runtime name=PATH value="$ROOTCORE_BASE/bin" type=path>
151 < <Runtime name=ROOTSYS value="$ROOTCORE_BASE/">
152 < <Runtime name=PYTHONPATH value="$ROOTCORE_BASE/lib" type=path>
207 < </Tool>
130 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootcore.xml
131 >  <tool name="rootcore" version="%v">
132 >    <info url="http://root.cern.ch/root/"/>
133 >    <lib name="Tree"/>
134 >    <lib name="Net"/>
135 >    <lib name="Thread"/>
136 >    <lib name="MathCore"/>
137 >    <lib name="RIO"/>
138 >    <lib name="Core"/>
139 >    <lib name="Cint"/>
140 >    <client>
141 >      <environment name="ROOTCORE_BASE" default="%i"/>
142 >      <environment name="LIBDIR" default="$ROOTCORE_BASE/lib"/>
143 >      <environment name="INCLUDE" default="$ROOTCORE_BASE/include"/>
144 >      <environment name="INCLUDE" default="$ROOTCORE_BASE/cint"/>
145 >    </client>
146 >    <runtime name="PATH" value="$ROOTCORE_BASE/bin" type="path"/>
147 >    <runtime name="ROOTSYS" value="$ROOTCORE_BASE/"/>
148 >    <runtime name="PYTHONPATH" value="$ROOTCORE_BASE/lib" type="path"/>
149 >    <use name="sockets"/>
150 >    <use name="pcre"/>
151 >    <use name="zlib"/>
152 >  </tool>
153   EOF_TOOLFILE
154  
155   # root toolfile, alias for rootphysics. Using rootphysics is preferred.
156 < cat << \EOF_TOOLFILE >%i/etc/scram.d/root
157 < <doc type=BuildSystem::ToolDoc version=1.0>
158 < <Tool name=root version=%v>
159 < <info url="http://root.cern.ch/root/"></info>
160 < <use name=rootphysics>
216 < </Tool>
156 > cat << \EOF_TOOLFILE >%i/etc/scram.d/root.xml
157 >  <tool name="root" version="%v">
158 >    <info url="http://root.cern.ch/root/"/>
159 >    <use name="rootphysics"/>
160 >  </tool>
161   EOF_TOOLFILE
162  
163   # roothistmatrix toolfile
164 < cat << \EOF_TOOLFILE >%i/etc/scram.d/roothistmatrix
165 < <doc type=BuildSystem::ToolDoc version=1.0>
166 < <Tool name=roothistmatrix version=%v>
167 < <info url="http://root.cern.ch/root/"></info>
168 < <lib name=Hist>
169 < <lib name=Matrix>
170 < <use name=ROOTCore>
227 < </Tool>
164 > cat << \EOF_TOOLFILE >%i/etc/scram.d/roothistmatrix.xml
165 >  <tool name="roothistmatrix" version="%v">
166 >    <info url="http://root.cern.ch/root/"/>
167 >    <lib name="Hist"/>
168 >    <lib name="Matrix"/>
169 >    <use name="ROOTCore"/>
170 >  </tool>
171   EOF_TOOLFILE
172  
173   # rootgpad toolfile
174 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootgpad
175 < <doc type=BuildSystem::ToolDoc version=1.0>
176 < <Tool name=rootgpad version=%v>
177 < <info url="http://root.cern.ch/root/"></info>
178 < <lib name=Gpad>
179 < <lib name=Graf>
180 < <use name=roothistmatrix>
238 < </Tool>
174 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootgpad.xml
175 >  <tool name="rootgpad" version="%v">
176 >    <info url="http://root.cern.ch/root/"/>
177 >    <lib name="Gpad"/>
178 >    <lib name="Graf"/>
179 >    <use name="roothistmatrix"/>
180 >  </tool>
181   EOF_TOOLFILE
182  
183   # rootphysics toolfile
184 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootphysics
185 < <doc type=BuildSystem::ToolDoc version=1.0>
186 < <Tool name=rootphysics version=%v>
187 < <info url="http://root.cern.ch/root/"></info>
188 < <lib name=Physics>
189 < <use name=roothistmatrix>
248 < </Tool>
184 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootphysics.xml
185 >  <tool name="rootphysics" version="%v">
186 >    <info url="http://root.cern.ch/root/"/>
187 >    <lib name="Physics"/>
188 >    <use name="roothistmatrix"/>
189 >  </tool>
190   EOF_TOOLFILE
191  
192   # rootgraphics toolfile, identical to old "root" toolfile
193 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootgraphics
194 < <doc type=BuildSystem::ToolDoc version=1.0>
195 < <Tool name=rootgraphics version=%v>
196 < <info url="http://root.cern.ch/root/"></info>
197 < <lib name=TreePlayer>
198 < <lib name=Graf3d>
199 < <lib name=Postscript>
200 < <use name=rootgpad>
260 < </Tool>
193 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootgraphics.xml
194 >  <tool name="rootgraphics" version="%v">
195 >    <info url="http://root.cern.ch/root/"/>
196 >    <lib name="TreePlayer"/>
197 >    <lib name="Graf3d"/>
198 >    <lib name="Postscript"/>
199 >    <use name="rootgpad"/>
200 >  </tool>
201   EOF_TOOLFILE
202  
203   # rootcintex toolfile
204 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootcintex
205 < <doc type=BuildSystem::ToolDoc version=1.0>
206 < <Tool name=rootcintex version=%v>
207 < <info url="http://root.cern.ch/root/"></info>
208 < <lib name=Cintex>
209 < <use name=ROOTRflx>
210 < <use name=ROOTCore>
271 < </Tool>
204 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootcintex.xml
205 >  <tool name="rootcintex" version="%v">
206 >    <info url="http://root.cern.ch/root/"/>
207 >    <lib name="Cintex"/>
208 >    <use name="ROOTRflx"/>
209 >    <use name="ROOTCore"/>
210 >  </tool>
211   EOF_TOOLFILE
212  
213   # (temporarily eviscerated) rootinteractive toolfile (GQt/qt lib dependencies
214   # have been removed for the moment)
215 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootinteractive
216 < <doc type=BuildSystem::ToolDoc version=1.0>
217 < <Tool name=rootinteractive version=%v>
218 < <info url="http://root.cern.ch/root/"></info>
219 < <lib name=Rint>
220 < <lib name=GQt>
221 < <lib name=Gui>
222 < <use name=qt>
223 < <use name=libjpg>
224 < <use name=libpng>
225 < <use name=rootgpad>
287 < </Tool>
215 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootinteractive.xml
216 >  <tool name="rootinteractive" version="%v">
217 >    <info url="http://root.cern.ch/root/"/>
218 >    <lib name="Rint"/>
219 >    <lib name="GQt"/>
220 >    <lib name="Gui"/>
221 >    <use name="qt"/>
222 >    <use name="libjpg"/>
223 >    <use name="libpng"/>
224 >    <use name="rootgpad"/>
225 >  </tool>
226   EOF_TOOLFILE
227  
228   # rootmath toolfile
229 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootmath
230 < <doc type=BuildSystem::ToolDoc version=1.0>
231 < <Tool name=rootmath version=%v>
232 < <info url="http://root.cern.ch/root/"></info>
233 < <lib name=GenVector>
234 < <lib name=MathMore>
235 < <use name=ROOTCore>
236 < <use name=gsl>
299 < </Tool>
229 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootmath.xml
230 >  <tool name="rootmath" version="%v">
231 >    <info url="http://root.cern.ch/root/"/>
232 >    <lib name="GenVector"/>
233 >    <lib name="MathMore"/>
234 >    <use name="ROOTCore"/>
235 >    <use name="gsl"/>
236 >  </tool>
237   EOF_TOOLFILE
238  
239   # rootminuit toolfile
240 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootminuit
241 < <doc type=BuildSystem::ToolDoc version=1.0>
242 < <Tool name=rootminuit version=%v>
243 < <info url="http://root.cern.ch/root/"></info>
244 < <lib name=Minuit>
245 < <use name=rootgpad>
309 < </Tool>
240 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootminuit.xml
241 >  <tool name="rootminuit" version="%v">
242 >    <info url="http://root.cern.ch/root/"/>
243 >    <lib name="Minuit"/>
244 >    <use name="rootgpad"/>
245 >  </tool>
246   EOF_TOOLFILE
247  
248   # rootminuit2 toolfile
249 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootminuit2
250 < <doc type=BuildSystem::ToolDoc version=1.0>
251 < <Tool name=rootminuit2 version=%v>
252 < <info url="http://root.cern.ch/root/"></info>
253 < <lib name=Minuit2>
254 < <use name=rootgpad>
319 < </Tool>
249 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootminuit2.xml
250 >  <tool name="rootminuit2" version="%v">
251 >    <info url="http://root.cern.ch/root/"/>
252 >    <lib name="Minuit2"/>
253 >    <use name="rootgpad"/>
254 >  </tool>
255   EOF_TOOLFILE
256  
257   # rootrflx toolfile
258 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootrflx
259 < <doc type=BuildSystem::ToolDoc version=1.0>
260 < <Tool name=rootrflx version=%v>
261 < <info url="http://root.cern.ch/root/"></info>
262 < <lib name=Reflex>
263 < <Client>
264 < <Environment name=ROOTRFLX_BASE default="%i"></Environment>
265 < <Environment name=LIBDIR default="$ROOTRFLX_BASE/lib"></Environment>
266 < <Environment name=INCLUDE default="$ROOTRFLX_BASE/include"></Environment>
267 < </Client>
268 < <use name=sockets>
269 < <use name=gccxml>
270 < <Runtime name=PATH value="$ROOTRFLX_BASE/bin" type=path>
271 < <Runtime name=ROOTSYS value="$ROOTRFLX_BASE/">
272 < <Runtime name=GENREFLEX value="$ROOTRFLX_BASE/bin/genreflex">
338 < </Tool>
258 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootrflx.xml
259 >  <tool name="rootrflx" version="%v">
260 >    <info url="http://root.cern.ch/root/"/>
261 >    <lib name="Reflex"/>
262 >    <client>
263 >      <environment name="ROOTRFLX_BASE" default="%i"/>
264 >      <environment name="LIBDIR" default="$ROOTRFLX_BASE/lib"/>
265 >      <environment name="INCLUDE" default="$ROOTRFLX_BASE/include"/>
266 >    </client>
267 >    <runtime name="PATH" value="$ROOTRFLX_BASE/bin" type="path"/>
268 >    <runtime name="ROOTSYS" value="$ROOTRFLX_BASE/"/>
269 >    <runtime name="GENREFLEX" value="$ROOTRFLX_BASE/bin/genreflex"/>
270 >    <use name="sockets"/>
271 >    <use name="gccxml"/>
272 >  </tool>
273   EOF_TOOLFILE
274  
275   # roothtml toolfile
276 < cat << \EOF_TOOLFILE >%i/etc/scram.d/roothtml
277 < <doc type=BuildSystem::ToolDoc version=1.0>
278 < <Tool name=roothtml version=%v>
279 < <info url="http://root.cern.ch/root/"></info>
280 < <lib name=Html>
281 < <use name=rootgpad>
348 < </Tool>
349 < EOF_TOOLFILE
350 <
351 < # rootroofit toolfile
352 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootroofit
353 < <doc type=BuildSystem::ToolDoc version=1.0>
354 < <Tool name=rootroofit version=%v>
355 < <info url="http://root.cern.ch/root/"></info>
356 < <lib name=RooFit>
357 < <lib name=RooFitCore>
358 < <use name=ROOTMinuit>
359 < </Tool>
276 > cat << \EOF_TOOLFILE >%i/etc/scram.d/roothtml.xml
277 >  <tool name="roothtml" version="%v">
278 >    <info url="http://root.cern.ch/root/"/>
279 >    <lib name="Html"/>
280 >    <use name="rootgpad"/>
281 >  </tool>
282   EOF_TOOLFILE
283  
284   # rootmlp toolfile
285 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootmlp
286 < <doc type=BuildSystem::ToolDoc version=1.0>
287 < <Tool name=rootmlp version=%v>
288 < <info url="http://root.cern.ch/root/"></info>
289 < <lib name=MLP>
290 < <use name=RootGraphics>
369 < </Tool>
285 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootmlp.xml
286 >  <tool name="rootmlp" version="%v">
287 >    <info url="http://root.cern.ch/root/"/>
288 >    <lib name="MLP"/>
289 >    <use name="RootGraphics"/>
290 >  </tool>
291   EOF_TOOLFILE
292  
293   # roottmva toolfile
294 < cat << \EOF_TOOLFILE >%i/etc/scram.d/roottmva
295 < <doc type=BuildSystem::ToolDoc version=1.0>
296 < <Tool name=roottmva version=%v>
297 < <info url="http://root.cern.ch/root/"></info>
298 < <lib name=TMVA>
299 < <use name=ROOTMLP>
300 < <use name=rootminuit>
380 < </Tool>
294 > cat << \EOF_TOOLFILE >%i/etc/scram.d/roottmva.xml
295 >  <tool name="roottmva" version="%v">
296 >    <info url="http://root.cern.ch/root/"/>
297 >    <lib name="TMVA"/>
298 >    <use name="ROOTMLP"/>
299 >    <use name="rootminuit"/>
300 >  </tool>
301   EOF_TOOLFILE
302  
303   # rootthread toolfile
304 < cat << \EOF_TOOLFILE >%i/etc/scram.d/rootthread
305 < <doc type=BuildSystem::ToolDoc version=1.0>
306 < <Tool name=rootthread version=%v>
307 < <info url="http://root.cern.ch/root/"></info>
308 < <use name=ROOTCore>
389 < </Tool>
304 > cat << \EOF_TOOLFILE >%i/etc/scram.d/rootthread.xml
305 >  <tool name="rootthread" version="%v">
306 >    <info url="http://root.cern.ch/root/"/>
307 >    <use name="ROOTCore"/>
308 >  </tool>
309   EOF_TOOLFILE
310  
311   %post
312 < %{relocateConfig}etc/scram.d/root
394 < %{relocateConfig}etc/scram.d/rootcore
395 < %{relocateConfig}etc/scram.d/roothistmatrix
396 < %{relocateConfig}etc/scram.d/rootphysics
397 < %{relocateConfig}etc/scram.d/rootgraphics
398 < %{relocateConfig}etc/scram.d/rootcintex
399 < %{relocateConfig}etc/scram.d/rootinteractive
400 < %{relocateConfig}etc/scram.d/rootmath
401 < %{relocateConfig}etc/scram.d/rootminuit
402 < %{relocateConfig}etc/scram.d/rootminuit2
403 < %{relocateConfig}etc/scram.d/rootrflx
404 < %{relocateConfig}etc/scram.d/roothtml
405 < %{relocateConfig}etc/scram.d/rootroofit
406 < %{relocateConfig}etc/scram.d/rootmlp
407 < %{relocateConfig}etc/scram.d/roottmva
408 < %{relocateConfig}etc/scram.d/rootthread
312 > perl -p -i -e "s|%{instroot}|$RPM_INSTALL_PREFIX|g" $(find $RPM_INSTALL_PREFIX/%pkgrel/etc/scram.d -type f)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines