[ABRT PATCH] move event option XML files to /usr/share/libreport/
Jakub Filak
jfilak at redhat.com
Wed Jul 10 14:00:45 UTC 2013
Closes #668
Signed-off-by: Jakub Filak <jfilak at redhat.com>
---
abrt.spec.in | 18 +++++++++---------
configure.ac | 2 +-
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/abrt.spec.in b/abrt.spec.in
index 75d3670..190a470 100644
--- a/abrt.spec.in
+++ b/abrt.spec.in
@@ -701,13 +701,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_event.conf
%config(noreplace) %{_sysconfdir}/libreport/events.d/gconf_event.conf
%config(noreplace) %{_sysconfdir}/libreport/events.d/vimrc_event.conf
-%config(noreplace) %{_sysconfdir}/libreport/events/analyze_CCpp.xml
-%config(noreplace) %{_sysconfdir}/libreport/events/analyze_LocalGDB.xml
-%config(noreplace) %{_sysconfdir}/libreport/events/collect_xsession_errors.xml
-%config(noreplace) %{_sysconfdir}/libreport/events/collect_GConf.xml
-%config(noreplace) %{_sysconfdir}/libreport/events/collect_vimrc_user.xml
-%config(noreplace) %{_sysconfdir}/libreport/events/collect_vimrc_system.xml
-%config(noreplace) %{_sysconfdir}/libreport/events/post_report.xml
+%{_datadir}/libreport/events/analyze_CCpp.xml
+%{_datadir}/libreport/events/analyze_LocalGDB.xml
+%{_datadir}/libreport/events/collect_xsession_errors.xml
+%{_datadir}/libreport/events/collect_GConf.xml
+%{_datadir}/libreport/events/collect_vimrc_user.xml
+%{_datadir}/libreport/events/collect_vimrc_system.xml
+%{_datadir}/libreport/events/post_report.xml
%{_mandir}/man*/abrt-action-analyze-c.*
%{_mandir}/man*/abrt-action-trim-files.*
%{_mandir}/man*/abrt-action-generate-backtrace.*
@@ -720,7 +720,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_bindir}/abrt-retrace-client
%{_mandir}/man1/abrt-retrace-client.1.gz
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf
-%config(noreplace) %{_sysconfdir}/libreport/events/analyze_RetraceServer.xml
+%{_datadir}/libreport/events/analyze_RetraceServer.xml
%files addon-kerneloops
%defattr(-,root,root,-)
@@ -749,7 +749,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/libreport/events.d/vmcore_event.conf
%config(noreplace) %{_sysconfdir}/%{name}/abrt-harvest-vmcore.conf
-%config(noreplace) %{_sysconfdir}/libreport/events/analyze_VMcore.xml
+%{_datadir}/libreport/events/analyze_VMcore.xml
%if %{with systemd}
%{_unitdir}/abrt-vmcore.service
%else
diff --git a/configure.ac b/configure.ac
index ccd3901..7a8449a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -139,7 +139,7 @@ AC_CHECK_HEADERS([locale.h])
CONF_DIR='${sysconfdir}/${PACKAGE_NAME}'
VAR_RUN='${localstatedir}/run'
PLUGINS_CONF_DIR='${sysconfdir}/${PACKAGE_NAME}/plugins'
-EVENTS_DIR='${sysconfdir}/libreport/events'
+EVENTS_DIR='${datadir}/libreport/events'
EVENTS_CONF_DIR='${sysconfdir}/libreport/events.d'
ENABLE_SOCKET_OR_DBUS='-DENABLE_DBUS=1'
DEFAULT_DUMP_DIR_MODE=$($PKG_CONFIG --variable=dd_mode libreport)
--
1.8.2.1
More information about the Crash-catcher
mailing list