/[packages]/cauldron/abrt/current/SPECS/abrt.spec
ViewVC logotype

Contents of /cauldron/abrt/current/SPECS/abrt.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 203740 - (show annotations) (download)
Tue Jan 31 23:05:47 2012 UTC (12 years, 2 months ago) by tv
File size: 18749 byte(s)
further adjust file list (SILENT)
1 # (blino) FIXME: switch back to 1 when systemd is installable
2 %define with_systemd 1
3
4 %define lib_major 0
5 %define lib_name %mklibname %{name} %{lib_major}
6 %define libreport %mklibname report %{lib_major}
7 %define libreportgtk %mklibname report-gtk %{lib_major}
8
9 %define lib_name_devel %mklibname %{name} -d
10 %define lib_report_devel %mklibname report -d
11
12 %define _disable_ld_no_undefined 1
13
14 Summary: Automatic bug detection and reporting tool
15 Name: abrt
16 Version: 2.0.7
17 Release: %mkrel 1
18 License: GPLv2+
19 Group: System/Libraries
20 URL: https://fedorahosted.org/abrt/
21 Source: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
22 Source1: abrt.init
23 Source2: 00abrt.sh
24 Source3: 00abrt.csh
25 Source4: abrt-debuginfo-install
26 Source5: abrt-ccpp.init
27 Source6: abrt-oops.init
28 # (fc) disable package signature check
29 Patch2: abrt_disable_gpgcheck.diff
30 # (pt) generate stacktrace twice to get missing -debug packages
31 #Patch5: abrt-1.1.14-debug.patch
32 # (fc) disable nspluginwrapper-i386 (Mdv bug #59237)
33 Patch7: abrt-2.0.2-nspluginwrapper.patch
34 # (fc) fix for non UTF-8 locale
35 Patch8: abrt-2.0.2-nonutf8-locale.patch
36 Patch9: abrt-2.0.2-glib-2.32.patch
37 Patch10: abrt-sec.diff
38 # (eugeni): disable kernel oops cron plugin by default (mdv #61986)
39 #Patch12: abrt-1.1.14-disable_oops_scanner.patch
40
41 # Fedora patches
42 BuildRequires: dbus-devel libdbus-glib-devel
43 BuildRequires: gtk2-devel
44 BuildRequires: curl-devel
45 BuildRequires: rpm-devel
46 BuildRequires: sqlite-devel > 3.0
47 BuildRequires: desktop-file-utils
48 #BuildRequires: nss-devel
49 BuildRequires: libnotify-devel
50 BuildRequires: xmlrpc-c-devel
51 BuildRequires: xmlrpc-c
52 BuildRequires: file-devel
53 BuildRequires: python-devel
54 BuildRequires: gettext
55 BuildRequires: polkit-1-devel
56 BuildRequires: libzip-devel, libtar-devel, bzip2-devel, zlib-devel
57 BuildRequires: intltool
58 BuildRequires: gnome-common
59 BuildRequires: bison
60 BuildRequires: asciidoc
61 BuildRequires: docbook-style-xsl docbook5-style-xsl
62 BuildRequires: xmlto
63 BuildRequires: libgnome-keyring-devel
64 BuildRequires: gettext-devel
65 %if %{?with_systemd}
66 BuildRequires: systemd-units
67 %endif
68 BuildRequires: btparser-devel
69 BuildRequires: libreport-devel
70 BuildRequires: pkgconfig(libreport-gtk)
71 Requires: %{lib_name} >= %{version}-%{release}
72 Requires(pre): rpm-helper
73 Requires(post): rpm-helper
74 Requires(preun): rpm-helper
75 Requires(postun): rpm-helper
76 Obsoletes: abrt-plugin-catcut < 1.1.13
77 Obsoletes: abrt-plugin-sqlite3 < 1.1.18
78 # required for transition from 1.1.13, can be removed after some time
79 Obsoletes: abrt-plugin-runapp < 1.1.18
80 Obsoletes: abrt-plugin-filetransfer < 1.1.18
81 Obsoletes: abrt-plugin-sosreport < 1.1.18
82
83 %description
84 %{name} is a tool to help users to detect defects in applications and
85 to create a bug report with all informations needed by maintainer to fix it.
86 It uses plugin system to extend its functionality.
87
88 %pre
89 %_pre_useradd %{name} %{_sysconfdir}/%{name} /bin/nologin
90 %_pre_groupadd %{name} %{name}
91
92 %post
93 %_post_service %{name}d
94 %if %{?with_systemd}
95 # Enable (but don't start) the units by default
96 /bin/systemctl enable %{name}d.service >/dev/null 2>&1 || :
97 %endif
98
99 %posttrans
100 service abrtd condrestart >/dev/null 2>&1 || :
101
102 %preun
103 %_preun_service %{name}d
104 %if %{?with_systemd}
105 if [ "$1" -eq "0" ] ; then
106 /bin/systemctl stop %{name}d.service >/dev/null 2>&1 || :
107 /bin/systemctl disable %{name}d.service >/dev/null 2>&1 || :
108 fi
109 %endif
110
111 %postun
112 %_postun_userdel %{name}
113 %_postun_groupdel %{name} %{name}
114 %if %{?with_systemd}
115 if [ $1 -ge 1 ] ; then
116 # On upgrade, reload init system configuration if we changed unit files
117 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
118 fi
119 %endif
120
121 %files -f %{name}.lang
122 %defattr(-,root,root,-)
123 %doc README COPYING
124 #systemd
125 %if %{?with_systemd}
126 %endif
127 %{_sbindir}/%{name}d
128 %{_sbindir}/%{name}-server
129 %{_bindir}/%{name}-debuginfo-install
130 %{_bindir}/%{name}-handle-upload
131 %{_bindir}/%{name}-action-save-package-data
132 %{_bindir}/%{name}-retrace-client
133 %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
134 %config(noreplace) %{_sysconfdir}/%{name}/gpg_keys
135 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-%{name}.conf
136 %ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket
137 %ghost %attr(0644, -, -) %{_localstatedir}/run/%{name}d.pid
138 %{_initrddir}/%{name}d
139 #%dir %attr(0755, %{name}, %{name}) %{_localstatedir}/cache/%{name}
140 %dir /var/run/%{name}
141 %dir %{_sysconfdir}/%{name}
142 %dir %{_sysconfdir}/%{name}/plugins
143 %{_mandir}/man8/%{name}d.8.*
144 %{_mandir}/man5/%{name}.conf.5.*
145 %{_datadir}/dbus-1/system-services/com.redhat.%{name}.service
146
147 #--------------------------------------------------------------------
148
149 %package -n %{lib_name}
150 Summary: Libraries for %{name}
151 Group: System/Libraries
152
153 %description -n %{lib_name}
154 Libraries for %{name}.
155
156 %files -n %{lib_name}
157 %defattr(-,root,root,-)
158 %{_libdir}/libabrt*.so.*
159
160 #--------------------------------------------------------------------
161
162 %package -n %{lib_name_devel}
163 Summary: Development libraries for %{name}
164 Group: Development/C
165 Requires: %{lib_name} = %{version}-%{release}
166 Requires: abrt = %{version}-%{release}
167 Obsoletes: %{_lib}abrt0-devel
168
169 %description -n %{lib_name_devel}
170 Development libraries and headers for %{name}.
171
172 %files -n %{lib_name_devel}
173 %defattr(-,root,root,-)
174 %{_includedir}/abrt/*
175 %{_libdir}/libabrt*.so
176 #FIXME: this should go to libreportgtk-devel package
177 %{_libdir}/pkgconfig/%{name}.pc
178
179 #--------------------------------------------------------------------
180
181 %package gui
182 Summary: %{name}'s gui
183 Group: Graphical desktop/Other
184 Requires: %{name} = %{version}-%{release}
185 Requires: dbus-python, pygtk2.0, pygtk2.0-libglade
186 Requires: python-gobject
187 Requires: gnome-python-desktop
188
189 %description gui
190 GTK+ wizard for convenient bug reporting.
191
192 %files gui
193 %defattr(-,root,root,-)
194 %{_bindir}/%{name}-gui
195 %{_datadir}/%{name}
196 %{_datadir}/applications/%{name}.desktop
197 %{_datadir}/icons/hicolor/*/*/*.png
198 %{_bindir}/%{name}-applet
199 %{_sysconfdir}/xdg/autostart/%{name}-applet.desktop
200
201 #--------------------------------------------------------------------
202
203 %package addon-ccpp
204 Summary: %{name}'s C/C++ addon
205 Group: System/Libraries
206 Requires: elfutils
207 Requires: %{name} = %{version}-%{release}
208
209 %description addon-ccpp
210 This package contains hook for C/C++ crashed programs and %{name}'s C/C++
211 analyzer plugin.
212
213 %post addon-ccpp
214 chown -R abrt:abrt %{_localstatedir}/cache/abrt-di
215 #if [ $1 -eq 1 ]; then
216 /sbin/chkconfig --add abrt-ccpp
217 #fi
218
219 %if %{?with_systemd}
220 if [ "$1" -eq "0" ] ; then
221 /bin/systemctl stop abrt-ccpp.service >/dev/null 2>&1 || :
222 /bin/systemctl disable abrt-ccpp.service >/dev/null 2>&1 || :
223 fi
224 %endif
225
226 %posttrans addon-ccpp
227 service abrt-ccpp condrestart >/dev/null 2>&1 || :
228
229 %preun addon-ccpp
230 if [ "$1" -eq "0" ] ; then
231 service abrt-ccpp stop >/dev/null 2>&1
232 /sbin/chkconfig --del abrt-ccpp
233 fi
234
235 #systemd (not tested):
236 %if %{?with_systemd}
237 if [ "$1" -eq "0" ] ; then
238 /bin/systemctl stop abrt-ccpp.service >/dev/null 2>&1 || :
239 /bin/systemctl disable abrt-ccpp.service >/dev/null 2>&1 || :
240 fi
241 %endif
242
243 %files addon-ccpp
244 %defattr(-,root,root,-)
245 %config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf
246 %dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di
247 %{_initrddir}/abrt-ccpp
248 %{_libdir}/abrt-hook-ccpp
249 %{_sysconfdir}/profile.d/00abrt.*
250 %{_bindir}/abrt-action-analyze-c
251 %{_bindir}/abrt-action-trim-files
252 %attr(2755, abrt, abrt) %{_bindir}/abrt-action-install-debuginfo
253 %{_bindir}/abrt-action-install-debuginfo.py*
254 %{_bindir}/abrt-action-generate-backtrace
255 %{_bindir}/abrt-action-analyze-backtrace
256 %{_bindir}/abrt-action-list-dsos.py*
257 %{_sysconfdir}/%{name}/events.d/ccpp_events.conf
258 %{_sysconfdir}/%{name}/events/analyze_LocalGDB.xml
259 %{_sysconfdir}/%{name}/events/reanalyze_LocalGDB.xml
260 %{_sysconfdir}/%{name}/events/analyze_RetraceServer.xml
261 %{_sysconfdir}/%{name}/events/reanalyze_RetraceServer.xml
262 %{_mandir}/man*/abrt-action-trim-files.*
263 %{_mandir}/man*/abrt-action-generate-backtrace.*
264 %{_mandir}/man*/abrt-action-analyze-backtrace.*
265
266 #--------------------------------------------------------------------
267
268 %package addon-kerneloops
269 Summary: %{name}'s kerneloops addon
270 Group: System/Libraries
271 Requires: curl
272 Requires: %{name} = %{version}-%{release}
273 #Obsoletes: kerneloops
274
275 %description addon-kerneloops
276 This package contains plugin for collecting kernel crash information
277 and reporter plugin which sends this information to specified server,
278 usually to kerneloops.org.
279
280 %post addon-kerneloops
281 if [ $1 -eq 1 ]; then
282 /sbin/chkconfig --add abrt-oops
283 fi
284
285 %posttrans addon-kerneloops
286 service abrt-oops condrestart >/dev/null 2>&1 || :
287
288 %preun addon-kerneloops
289 if [ "$1" -eq "0" ] ; then
290 service abrt-oops stop >/dev/null 2>&1
291 /sbin/chkconfig --del abrt-oops
292 fi
293 #systemd (not tested):
294 %if %{?with_systemd}
295 if [ "$1" -eq "0" ] ; then
296 /bin/systemctl stop abrt-oops.service >/dev/null 2>&1 || :
297 /bin/systemctl disable abrt-oops.service >/dev/null 2>&1 || :
298 fi
299 %endif
300
301 %files addon-kerneloops
302 %defattr(-,root,root,-)
303 %config(noreplace) %{_sysconfdir}/%{name}/plugins/Kerneloops.conf
304 %config(noreplace) %{_sysconfdir}/%{name}/events.d/koops_events.conf
305 %{_sysconfdir}/%{name}/events/report_Kerneloops.xml
306 %{_initrddir}/abrt-oops
307 %{_mandir}/man7/abrt-KerneloopsReporter.7.*
308 %{_bindir}/abrt-dump-oops
309 %{_bindir}/abrt-action-analyze-oops
310 %{_bindir}/abrt-action-kerneloops
311
312 #--------------------------------------------------------------------
313
314 %package plugin-logger
315 Summary: %{name}'s logger reporter plugin
316 Group: System/Libraries
317 Requires: %{name} = %{version}-%{release}
318
319 %description plugin-logger
320 The simple reporter plugin which writes a report to a specified file.
321
322 %files plugin-logger
323 %defattr(-,root,root,-)
324 %{_sysconfdir}/%{name}/events/report_Logger.conf
325 %{_bindir}/abrt-action-print
326 %{_mandir}/man7/%{name}-Logger.7.*
327 %{_mandir}/man*/%{name}-action-print.*
328
329 #--------------------------------------------------------------------
330
331 %package plugin-mailx
332 Summary: %{name}'s mailx reporter plugin
333 Group: System/Libraries
334 Requires: %{name} = %{version}-%{release}
335 Requires: mailx
336
337 %description plugin-mailx
338 The simple reporter plugin which sends a report via mailx to a specified
339 email address.
340
341 %files plugin-mailx
342 %defattr(-,root,root,-)
343 %{_sysconfdir}/%{name}/events/report_Mailx.xml
344 %{_sysconfdir}/%{name}/events.d/mailx_events.conf
345 %{_bindir}/abrt-action-mailx
346 %{_mandir}/man7/%{name}-Mailx.7.*
347 %{_mandir}/man*/%{name}-action-mailx.*
348
349 #--------------------------------------------------------------------
350
351 %package plugin-bugzilla
352 Summary: %{name}'s bugzilla plugin
353 Group: System/Libraries
354 Requires: %{name} = %{version}-%{release}
355
356 %description plugin-bugzilla
357 Plugin to report bugs into the bugzilla.
358
359 %files plugin-bugzilla
360 %defattr(-,root,root,-)
361 %config(noreplace) %{_sysconfdir}/%{name}/plugins/Bugzilla.conf
362 %{_sysconfdir}/%{name}/events/report_Bugzilla.xml
363 %config(noreplace) %{_sysconfdir}/%{name}/events/report_Bugzilla.conf
364 # FIXME: remove with the old gui
365 %{_mandir}/man7/abrt-Bugzilla.7.*
366 %{_bindir}/abrt-action-bugzilla
367
368 #--------------------------------------------------------------------
369
370 %package plugin-reportuploader
371 Summary: %{name}'s ticketuploader plugin
372 Group: System/Libraries
373 Requires: %{name} = %{version}-%{release}
374 Obsoletes: plugin-ticketuploader < 1.1.13
375 Provides: plugin-ticketuploader = %{version}-%{release}
376
377 %description plugin-reportuploader
378 Plugin to report bugs into anonymous FTP site associated with ticketing system.
379
380 %files plugin-reportuploader
381 %defattr(-,root,root,-)
382 %config(noreplace) %{_sysconfdir}/%{name}/plugins/Upload.conf
383 %{_mandir}/man7/abrt-Upload.7.*
384 %{_bindir}/abrt-action-upload
385
386 #--------------------------------------------------------------------
387
388 %package addon-python
389 Summary: %{name}'s addon for catching and analyzing Python exceptions
390 Group: System/Libraries
391 Requires: %{name} = %{version}-%{release}
392
393 %description addon-python
394 This package contains python hook and python analyzer plugin for handling
395 uncaught exception in python programs.
396
397 %files addon-python
398 %defattr(-,root,root,-)
399 %config(noreplace) %{_sysconfdir}/%{name}/plugins/Python.conf
400 %{_bindir}/abrt-action-analyze-python
401 %{py_puresitedir}/abrt*.py*
402 %{py_puresitedir}/*.pth
403
404 #--------------------------------------------------------------------
405
406 %package cli
407 Summary: %{name}'s command line interface
408 Group: Graphical desktop/Other
409 Requires: %{name} = %{version}-%{release}
410 Requires: %{name}-addon-kerneloops
411 Requires: %{name}-addon-ccpp, %{name}-addon-python
412 Requires: %{name}-plugin-bugzilla, %{name}-plugin-logger
413
414 %description cli
415 This package contains simple command line client for controlling abrt
416 daemon over the sockets.
417
418 %files cli
419 %defattr(-,root,root,-)
420 %{_bindir}/abrt-cli
421 %{_mandir}/man1/abrt-cli.1.*
422 %{_sysconfdir}/bash_completion.d/abrt-cli.bash
423
424 #--------------------------------------------------------------------
425
426 %package desktop
427 Summary: Virtual package to install all necessary packages for usage from desktop environment
428 Group: Graphical desktop/Other
429 # This package gets installed when anything requests bug-buddy -
430 # happens when users upgrade Fn to Fn+1;
431 # or if user just wants "typical desktop installation".
432 # Installing abrt-desktop should result in the abrt which works without
433 # any tweaking in abrt.conf (IOW: all plugins mentioned there must be installed)
434 Requires: %{name} = %{version}-%{release}
435 Requires: %{name}-addon-kerneloops
436 Requires: %{name}-addon-ccpp, %{name}-addon-python
437 # Default config of addon-ccpp requires gdb
438 Requires: gdb >= 7.0-3
439 Requires: %{name}-gui
440 Requires: %{name}-plugin-logger, %{name}-plugin-bugzilla
441 #Obsoletes: bug-buddy
442 #Provides: bug-buddy
443
444 %description desktop
445 Virtual package to make easy default installation on desktop environments.
446
447 %files desktop
448 %defattr(-,root,root,-)
449
450 #--------------------------------------------------------------------
451
452 %package -n %libreport
453 Summary: Libraries for reporting crashes to different targets
454 Group: System/Libraries
455
456 %description -n %libreport
457 Libraries providing API for reporting different problems in applications
458 to different bug targets like bugzilla, ftp, trac, etc...
459
460 %files -n %libreport
461 %defattr(-,root,root,-)
462 %{_libdir}/libreport.so.%{lib_major}*
463
464 #--------------------------------------------------------------------
465
466 %package -n %lib_report_devel
467 Summary: Development libraries and headers for libreport
468 Group: System/Libraries
469
470 %description -n %lib_report_devel
471 Development libraries and headers for libreport.
472
473 %files -n %lib_report_devel
474 %defattr(-,root,root,-)
475 %{_includedir}/report/*
476 %{_libdir}/libreport.so
477
478 #--------------------------------------------------------------------
479 #
480 #%package -n libreport-python
481 #%Summary: Python bindings for report-libs.
482 #%Group: System/Libraries
483 #
484 #%description -n libreport-python
485 #Python bindings for report-libs.
486 #
487 #%files -n libreport-python
488 #%defattr(-,root,root,-)
489 #%{python_sitearch}/report/*
490 #
491 #--------------------------------------------------------------------
492
493 %package -n %libreportgtk
494 Summary: GTK frontend for libreport
495 Group: System/Libraries
496
497 %description -n %libreportgtk
498 Applications for reporting bugs using libreport backend.
499
500 %files -n %libreportgtk
501 %defattr(-,root,root,-)
502 %{_libdir}/libreportgtk.so.%{lib_major}*
503
504 #--------------------------------------------------------------------
505
506 %package retrace-server
507 Summary: %{name}'s retrace server using HTTP protocol
508 Group: Graphical desktop/Other
509 Requires: abrt-addon-ccpp
510 Requires: gdb >= 7.0-3
511 Requires: apache-mod_wsgi, apache-mod_ssl, python-webob
512 Requires: mock, xz, elfutils, createrepo
513 Requires(preun): /sbin/install-info
514 Requires(post): /sbin/install-info
515
516 %post retrace-server
517 /sbin/install-info %{_infodir}/abrt-retrace-server %{_infodir}/dir 2> /dev/null || :
518 /usr/sbin/usermod -G mock apache 2> /dev/null || :
519
520 %preun retrace-server
521 if [ "$1" = 0 ]; then
522 /sbin/install-info --delete %{_infodir}/abrt-retrace-server %{_infodir}/dir 2> /dev/null || :
523 fi
524
525 %description retrace-server
526 The retrace server provides a coredump analysis and backtrace
527 generation service over a network using HTTP protocol.
528
529 %files retrace-server
530 %defattr(-,root,root,-)
531 %config(noreplace) %{_sysconfdir}/%{name}/retrace.conf
532 %config(noreplace) %{_sysconfdir}/httpd/conf.d/retrace_httpd.conf
533 %config(noreplace) %{_sysconfdir}/yum.repos.d/retrace.repo
534 %dir %attr(0775, apache, abrt) %{_localstatedir}/spool/abrt-retrace
535 %dir %attr(0755, abrt, abrt) %{_localstatedir}/cache/abrt-retrace
536 %dir %attr(0755, abrt, abrt) %{_localstatedir}/log/abrt-retrace
537 %caps(cap_setuid=ep) %{_bindir}/abrt-retrace-worker
538 %{_bindir}/abrt-retrace-cleanup
539 %{_bindir}/abrt-retrace-reposync
540 %{_bindir}/coredump2packages
541 %{py_puresitedir}/retrace.py*
542 %{_datadir}/abrt-retrace/*.py*
543 %{_datadir}/abrt-retrace/*.wsgi
544 %{_datadir}/abrt-retrace/plugins/*.py*
545 %{_infodir}/abrt-retrace-server*
546
547 #--------------------------------------------------------------------
548
549 %prep
550 %setup -q
551 %apply_patches
552 # (tv)) disable -Werror:
553 perl -pi -e 's!-Werror!-Wno-deprecated!' configure{.ac,} */*/Makefile*
554
555 %build
556 NOCONFIGURE=yes gnome-autogen.sh
557 %configure2_5x \
558 %if !%{with_systemd}
559 --without-systemdsystemunitdir \
560 %endif
561 --disable-rpath
562 %make
563
564 %install
565 rm -rf %{buildroot}
566 %makeinstall_std
567 %find_lang %{name}
568
569 # remove all .la and .a files
570 find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
571 mkdir -p %{buildroot}/%{_initrddir}
572 install -m 755 %SOURCE1 %{buildroot}/%{_initrddir}/%{name}d
573 install -m 755 %SOURCE5 %{buildroot}/%{_initrddir}/%{name}-ccpp
574 install -m 755 %SOURCE6 %{buildroot}/%{_initrddir}/%{name}-oops
575 mkdir -p %{buildroot}/var/cache/%{name}-di
576 mkdir -p %{buildroot}/var/run/%{name}
577 mkdir -p %{buildroot}/var/spool/%{name}
578 mkdir -p %{buildroot}/var/spool/%{name}-retrace
579 mkdir -p %{buildroot}/var/cache/%{name}-retrace
580 mkdir -p %{buildroot}/var/log/%{name}-retrace
581 mkdir -p %{buildroot}/var/spool/%{name}-upload
582
583 sed -i 's!@libexec@!%_libdir!' %{buildroot}/%{_initrddir}/%{name}-ccpp
584
585 # remove fedora gpg key
586 rm -f %{buildroot}%{_sysconfdir}/abrt/gpg_keys
587 touch %{buildroot}%{_sysconfdir}/abrt/gpg_keys
588
589 # install ulimit disabler
590 mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
591 install -m755 %SOURCE2 %SOURCE3 %{buildroot}%{_sysconfdir}/profile.d/
592
593 desktop-file-install \
594 --dir %{buildroot}%{_sysconfdir}/xdg/autostart \
595 src/applet/%{name}-applet.desktop
596
597 # replace with our own version
598 cat %{SOURCE4} > %{buildroot}/usr/bin/%{name}-debuginfo-install
599
600 #remove RH specific plugins
601 rm -f %{buildroot}%{_libdir}/%{name}/{RHTSupport.glade,libRHTSupport.so}
602 rm -f %{buildroot}%{_sysconfdir}/%{name}/plugins/RHTSupport.conf
603 rm -f %{buildroot}%{_sysconfdir}/%{name}/events.d/rhtsupport_events.conf
604 rm -f %{buildroot}%{_sysconfdir}/%{name}/events/report_RHTSupport.xml
605 rm -f %{buildroot}%{_bindir}/%{name}-action-rhtsupport
606
607 # After everything is installed, remove info dir
608 rm -f %{buildroot}%{_infodir}/dir

  ViewVC Help
Powered by ViewVC 1.1.30