rt.spec 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. ##
  2. ## rt.spec -- OpenPKG RPM Specification
  3. ## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
  4. ## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  5. ## Copyright (c) 2000-2003 Ralf S. Engelschall <rse@engelschall.com>
  6. ##
  7. ## Permission to use, copy, modify, and distribute this software for
  8. ## any purpose with or without fee is hereby granted, provided that
  9. ## the above copyright notice and this permission notice appear in all
  10. ## copies.
  11. ##
  12. ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  13. ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  14. ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  15. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  16. ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  17. ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  18. ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  19. ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  20. ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  21. ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  22. ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  23. ## SUCH DAMAGE.
  24. ##
  25. # FIXME: rse: Error: MM: mm:core: failed to open semaphore file (Permission denied): OS: No such file or directory
  26. # package versions
  27. %define V_real 3-0-2
  28. %define V_here 3.0.2
  29. %define V_log_dispatch 2.04
  30. %define V_html_mason 1.20
  31. %define V_libapreq 1.1
  32. %define V_www_mechanize 0.43
  33. %define V_mldbm 2.01
  34. %define V_html_format 2.03
  35. %define V_test_inline 0.15
  36. %define V_locale_maketext_lexicon 0.26
  37. %define V_locale_maketext_fuzzy 0.02
  38. %define V_regexp_common 2.113
  39. # package information
  40. Name: rt
  41. Summary: Request Tracker
  42. URL: http://bestpractical.com/rt/
  43. Vendor: Best Practical
  44. Packager: The OpenPKG Project
  45. Distribution: OpenPKG [EVAL]
  46. Group: Database
  47. License: GPL
  48. Version: %{V_here}
  49. Release: 20030529
  50. # package options
  51. %option with_color_primary 336699
  52. %option with_color_secondary dddddd
  53. %option with_db_mysql yes
  54. %option with_db_postgresql no
  55. %option with_db_oracle no
  56. # fixing conflicting options
  57. %if "%{with_db_oracle}" == "yes"
  58. %undefine with_db_postgresql
  59. %define with_db_postgresql no
  60. %endif
  61. %if "%{with_db_oracle}" == "yes" || "%{with_db_postgresql}" == "yes"
  62. %undefine with_db_mysql
  63. %define with_db_mysql no
  64. %endif
  65. # list of sources
  66. Source0: http://www.cpan.org/modules/by-module/Log/Log-Dispatch-%{V_log_dispatch}.tar.gz
  67. Source1: http://www.cpan.org/modules/by-authors/id/J/JI/JIMW/libapreq-%{V_libapreq}.tar.gz
  68. Source2: http://www.cpan.org/modules/by-module/HTML/HTML-Mason-%{V_html_mason}.tar.gz
  69. Source3: http://www.cpan.org/modules/by-authors/id/P/PE/PETDANCE/WWW-Mechanize-%{V_www_mechanize}.tar.gz
  70. Source4: http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/MLDBM-%{V_mldbm}.tar.gz
  71. Source5: http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/HTML-Format-%{V_html_format}.tar.gz
  72. Source6: http://www.cpan.org/modules/by-authors/id/M/MS/MSCHWERN/Test-Inline-%{V_test_inline}.tar.gz
  73. Source7: http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon}.tar.gz
  74. Source8: http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}.tar.gz
  75. Source9: http://www.cpan.org/modules/by-authors/id/A/AB/ABIGAIL/Regexp-Common-%{V_regexp_common}.tar.gz
  76. Source10: http://bestpractical.com/pub/rt/release/rt-%{V_real}.tar.gz
  77. Source11: rc.rt
  78. Source12: rtsetup
  79. Source13: rtcleanup
  80. Source14: rtupgrade
  81. Source15: rtapachectl
  82. Source16: rtapache.conf
  83. Source17: config.layout
  84. Source18: rt-mailgate.sh
  85. Patch0: rt.patch
  86. # build information
  87. Prefix: %{l_prefix}
  88. BuildRoot: %{l_buildroot}
  89. BuildPreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg >= 20030515
  90. BuildPreReq: perl-sys, perl-util, perl-ds, perl-text, perl-apache
  91. BuildPreReq: perl-dbi, perl-dbix, perl-mail, perl-www
  92. BuildPreReq: apache, apache::with_mod_perl = yes
  93. PreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg
  94. PreReq: perl-sys, perl-util, perl-ds, perl-text, perl-apache
  95. PreReq: perl-dbi, perl-dbix, perl-mail, perl-www
  96. PreReq: apache, apache::with_mod_perl = yes
  97. %if "%{with_db_mysql}" == "yes"
  98. PreReq: MYSQL, perl-dbi::with_dbd_mysql = yes
  99. %endif
  100. %if "%{with_db_postgresql}" == "yes"
  101. PreReq: postgresql, perl-dbi::with_dbd_pg = yes
  102. %endif
  103. %if "%{with_db_oracle}" == "yes"
  104. PreReq: oracle, perl-dbi::with_dbd_oracle = yes
  105. %endif
  106. PreReq: MTA
  107. AutoReq: no
  108. AutoReqProv: no
  109. %description
  110. RT is an industrial-grade ticketing system. It lets a group of
  111. people intelligently and efficiently manage requests submitted by a
  112. community of users. RT is used by systems administrators, customer
  113. support staffs, NOCs, developers and even marketing departments at
  114. over a thousand sites around the world.
  115. %prep
  116. # unpack distribution tarballs
  117. %setup -q -c
  118. %setup -q -T -D -a 1
  119. %setup -q -T -D -a 2
  120. %setup -q -T -D -a 3
  121. %setup -q -T -D -a 4
  122. %setup -q -T -D -a 5
  123. %setup -q -T -D -a 6
  124. %setup -q -T -D -a 7
  125. %setup -q -T -D -a 8
  126. %setup -q -T -D -a 9
  127. %setup -q -T -D -a 10
  128. # patch RT distribution
  129. cd rt-%{V_real}
  130. %patch0 -p0
  131. %{l_shtool} install -c -m 0644 \
  132. -e 's;@l_prefix@;%{l_prefix};' \
  133. %{SOURCE config.layout} .
  134. %{l_shtool} subst \
  135. -e 's;chown;true;g' \
  136. -e 's;chgrp;true;g' \
  137. -e 's;chmod;true;g' \
  138. -e 's;mkdir -p;%{l_shtool} mkdir -p;g' \
  139. Makefile.in
  140. %{l_shtool} subst \
  141. -e 's;Locale::Maketext 1\.04;Locale::Maketext 1.03;' \
  142. lib/RT/I18N.pm
  143. %{l_shtool} subst \
  144. -e 's;/usr/sbin/sendmail;%{l_prefix}/sbin/sendmail;g' \
  145. etc/RT_Config.pm.in
  146. %build
  147. # configure RT part
  148. cd rt-%{V_real}
  149. PERL=%{l_prefix}/bin/perl
  150. ./configure \
  151. --enable-layout=OPKG \
  152. --with-db-type=mysql \
  153. --with-db-host=localhost \
  154. --with-db-home=%{l_prefix} \
  155. %if "%{with_db_mysql}" == "yes"
  156. --with-db-dba=root \
  157. --with-db-database=rt \
  158. --with-db-user=rt \
  159. --with-db-pass=XXX \
  160. %endif
  161. %if "%{with_db_postgresql}" == "yes"
  162. --with-db-dba=postgresql \
  163. --with-db-database=rt \
  164. --with-db-user=rt \
  165. --with-db-pass=XXX \
  166. %endif
  167. %if "%{with_db_oracle}" == "yes"
  168. --with-db-dba=system \
  169. --with-db-database=rt \
  170. --with-db-user=rt \
  171. --with-db-pass=XXX \
  172. %endif
  173. --with-web-user=%{l_nusr} \
  174. --with-web-group=%{l_ngrp} \
  175. --with-customdir=%{l_prefix}/etc/rt/local \
  176. --with-customhtmldir=%{l_prefix}/etc/rt/local/html \
  177. --with-customlibdir=%{l_prefix}/etc/rt/local/lib \
  178. --with-customlexdir=%{l_prefix}/etc/rt/local/po
  179. %install
  180. rm -rf $RPM_BUILD_ROOT
  181. # perform common Perl prolog operations
  182. rt=%{l_prefix}/libexec/rt
  183. %{l_shtool} mkdir -f -p -m 755 ${RPM_BUILD_ROOT}$rt
  184. %{l_prefix}/bin/perl-openpkg prolog
  185. # install remaining prerequisite Perl modules which
  186. # are not part of the OpenPKG perl-xxx packages.
  187. %{l_prefix}/bin/perl-openpkg install \
  188. -d Regexp-Common-%{V_regexp_common} \
  189. -p ${RPM_BUILD_ROOT}$rt
  190. %{l_prefix}/bin/perl-openpkg install \
  191. -d Log-Dispatch-%{V_log_dispatch} \
  192. -p ${RPM_BUILD_ROOT}$rt
  193. %{l_prefix}/bin/perl-openpkg install \
  194. -d libapreq-%{V_libapreq} \
  195. -p ${RPM_BUILD_ROOT}$rt
  196. %{l_prefix}/bin/perl-openpkg install \
  197. -d HTML-Mason-%{V_html_mason} \
  198. -p ${RPM_BUILD_ROOT}$rt
  199. %{l_prefix}/bin/perl-openpkg install \
  200. -d WWW-Mechanize-%{V_www_mechanize} \
  201. -p ${RPM_BUILD_ROOT}$rt
  202. %{l_prefix}/bin/perl-openpkg install \
  203. -d MLDBM-%{V_mldbm} \
  204. -p ${RPM_BUILD_ROOT}$rt
  205. %{l_prefix}/bin/perl-openpkg install \
  206. -d HTML-Format-%{V_html_format} \
  207. -p ${RPM_BUILD_ROOT}$rt
  208. %{l_prefix}/bin/perl-openpkg install \
  209. -d Test-Inline-%{V_test_inline} \
  210. -p ${RPM_BUILD_ROOT}$rt
  211. %{l_prefix}/bin/perl-openpkg install \
  212. -d Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon} \
  213. -p ${RPM_BUILD_ROOT}$rt
  214. %{l_prefix}/bin/perl-openpkg install \
  215. -d Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy} \
  216. -p ${RPM_BUILD_ROOT}$rt
  217. # perform common Perl epilog operations
  218. %{l_prefix}/bin/perl-openpkg epilog
  219. # create installation file hierarchy
  220. %{l_shtool} mkdir -f -p -m 0755 \
  221. $RPM_BUILD_ROOT%{l_prefix}/sbin \
  222. $RPM_BUILD_ROOT%{l_prefix}/etc/rt \
  223. $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
  224. $RPM_BUILD_ROOT%{l_prefix}/cgi/rt \
  225. $RPM_BUILD_ROOT%{l_prefix}/share/rt \
  226. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools \
  227. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/upgrade \
  228. $RPM_BUILD_ROOT%{l_prefix}/var/rt/mason-data \
  229. $RPM_BUILD_ROOT%{l_prefix}/var/rt/mason-session \
  230. $RPM_BUILD_ROOT%{l_prefix}/var/rt/log \
  231. $RPM_BUILD_ROOT%{l_prefix}/var/rt/run
  232. # perform RT installation procedure
  233. ( cd rt-%{V_real}
  234. %{l_make} %{l_mflags} \
  235. config-install dirs libs-install etc-install bin-install \
  236. sbin-install html-install doc-install \
  237. DESTDIR=$RPM_BUILD_ROOT
  238. %{l_shtool} install -c -m 0644 \
  239. etc/upgrade/* \
  240. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/upgrade/
  241. %{l_shtool} install -c -m 0644 \
  242. -e '/Set($WebBaseURL/s;"[^"]*";"";' \
  243. etc/RT_Config.pm \
  244. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/RT_SiteConfig.pm
  245. ) || exit $?
  246. # post-adjust installation hierarchy
  247. %{l_shtool} mkln -f -s \
  248. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/RT_SiteConfig.pm \
  249. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/RT_SiteConfig.pm
  250. mv \
  251. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/webrt.css \
  252. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/webrt.css
  253. %{l_shtool} mkln -f -s \
  254. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/webrt.css \
  255. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/webrt.css
  256. mv \
  257. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/local \
  258. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/local
  259. %{l_shtool} mkln -f -s \
  260. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/local \
  261. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/local
  262. mv \
  263. $RPM_BUILD_ROOT%{l_prefix}/bin/webmux.pl \
  264. $RPM_BUILD_ROOT%{l_prefix}/bin/mason_handler.fcgi \
  265. $RPM_BUILD_ROOT%{l_prefix}/cgi/rt/
  266. mv \
  267. $RPM_BUILD_ROOT%{l_prefix}/bin/rt-crontool \
  268. $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate \
  269. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
  270. %{l_shtool} install -c -m 755 \
  271. -e 's;@l_prefix@;%{l_prefix};g' \
  272. %{SOURCE rt-mailgate.sh} \
  273. $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate
  274. # strip installation hierarchy
  275. rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/*.svc
  276. rm -f $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/rt-test-dependencies
  277. rm -rf $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/t
  278. rm -f $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/RT.pm.in
  279. rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/xgettext.pl
  280. rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/pod2test
  281. rm -rf $RPM_BUILD_ROOT%{l_prefix}/man/man3
  282. rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/rt
  283. # install own setup/cleanup/upgrade script
  284. %if "%{with_db_mysql}" == "yes"
  285. rt_db_dba=root
  286. %endif
  287. %if "%{with_db_postgresql}" == "yes"
  288. rt_db_dba=postgresql
  289. %endif
  290. %if "%{with_db_oracle}" == "yes"
  291. rt_db_dba=system
  292. %endif
  293. %{l_shtool} install -c -m 755 \
  294. -e 's;@l_prefix@;%{l_prefix};g' \
  295. -e "s;@rt_db_dba@;$rt_db_dba;g" \
  296. %{SOURCE rtsetup} %{SOURCE rtcleanup} %{SOURCE rtupgrade} \
  297. $RPM_BUILD_ROOT%{l_prefix}/sbin/
  298. # install OpenPKG run-command script
  299. %{l_shtool} install -c -m 755 \
  300. -e 's;@l_prefix@;%{l_prefix};g' \
  301. -e 's;@l_rusr@;%{l_rusr};g' \
  302. -e 's;@l_rgrp@;%{l_rgrp};g' \
  303. %{SOURCE rc.rt} \
  304. $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
  305. # install Apache "apachectl" wrapper
  306. %{l_shtool} install -c -m 755 \
  307. -e 's;@l_prefix@;%{l_prefix};g' \
  308. %{SOURCE rtapachectl} \
  309. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
  310. # install Apache configuration
  311. l_hostname=`%{l_shtool} echo -e %h`
  312. l_domainname=`%{l_shtool} echo -e %d | cut -c2-`
  313. %{l_shtool} install -c -m 755 \
  314. -e 's;@l_prefix@;%{l_prefix};g' \
  315. -e 's;@l_rusr@;%{l_rusr};g' \
  316. -e 's;@l_rgrp@;%{l_rgrp};g' \
  317. -e "s;@l_hostname@;$l_hostname;g" \
  318. -e "s;@l_domainname@;$l_domainname;g" \
  319. %{SOURCE rtapache.conf} \
  320. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/
  321. # final post-adjustments to installation hierarchy
  322. %{l_shtool} subst \
  323. -e 's;#336699;#%{with_color_primary};g' \
  324. -e 's;#dddddd;#%{with_color_secondary};g' \
  325. `find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT \
  326. -type f -print | grep -v gif | grep -v jpg`
  327. # determine installation files
  328. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
  329. %{l_files_std} \
  330. '%{l_prefix}/libexec/rt' \
  331. '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-setup-database' \
  332. '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-crontool' \
  333. '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/RT_SiteConfig.pm' \
  334. '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/rtapache.conf' \
  335. '%config %attr(644,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/webrt.css' \
  336. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-data' \
  337. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-data/*' \
  338. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-session' \
  339. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/log' \
  340. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/run'
  341. %files -f files
  342. %clean
  343. rm -rf $RPM_BUILD_ROOT
  344. %post
  345. if [ $1 -eq 1 ]; then
  346. # activate in MTA configuration
  347. mta_aliases_file=`%{l_prefix}/etc/rc --query mta_aliases_file`
  348. mta_aliases_update=`%{l_prefix}/etc/rc --query mta_aliases_update`
  349. if [ ".$mta_aliases_file" != . ]; then
  350. ( echo "rt: \"|%{l_prefix}/bin/rt-mailgate --action correspond --queue general --url http://127.0.0.1:8380/\""
  351. echo "rt-comment: \"|%{l_prefix}/bin/rt-mailgate --action comment --queue general --url http://127.0.0.1:8380/\""
  352. ) | %{l_rpmtool} config -a -i "%{l_prefix}:%{name}" $mta_aliases_file
  353. fi
  354. if [ ".$mta_aliases_update" != . ]; then
  355. eval $mta_aliases_update
  356. fi
  357. # display final hint after initial installation
  358. ( echo "To complete installation of the RT package please check the"
  359. echo "file $RPM_INSTALL_PREFIX/etc/rt/RT_SiteConfig.pm. In particular,"
  360. echo "you have to assign a password to the RT database user."
  361. echo "Then you have to create the RT database in the RDBMS with:"
  362. echo "\$ $RPM_INSTALL_PREFIX/sbin/rtsetup"
  363. ) | %{l_rpmtool} msg -b -t notice
  364. elif [ $1 -gt 1 ]; then
  365. # display final hint after upgrading
  366. ( echo "If you have an old RT database you can erase it with:"
  367. echo "\$ $RPM_INSTALL_PREFIX/sbin/rtcleanup"
  368. echo "Upgrading from an earlier RT 3.x database you can with:"
  369. echo "\$ $RPM_INSTALL_PREFIX/sbin/rtupgrade <old-rt-version>"
  370. ) | %{l_rpmtool} msg -b -t notice
  371. fi
  372. %preun
  373. if [ $1 -eq 0 ]; then
  374. # stop perhaps still running server
  375. $RPM_INSTALL_PREFIX/etc/rc rt stop
  376. # deactivate in MTA configuration
  377. mta_aliases_file=`%{l_prefix}/etc/rc --query mta_aliases_file`
  378. mta_aliases_update=`%{l_prefix}/etc/rc --query mta_aliases_update`
  379. if [ ".$mta_aliases_file" != . ]; then
  380. %{l_rpmtool} config -r -i "%{l_prefix}:%{name}" $mta_aliases_file
  381. fi
  382. if [ ".$mta_aliases_update" != . ]; then
  383. eval $mta_aliases_update
  384. fi
  385. # remove generated files
  386. rm -f $RPM_INSTALL_PREFIX/var/rt/mason-session/*
  387. rm -rf $RPM_INSTALL_PREFIX/var/rt/mason-data/*/*
  388. rm -f $RPM_INSTALL_PREFIX/var/rt/log/*
  389. rm -f $RPM_INSTALL_PREFIX/var/rt/run/apache.pid
  390. rm -f $RPM_INSTALL_PREFIX/var/rt/run/ssl_scache
  391. fi