From eef34b06afaaa645fe0619a9316d386b8c64267c Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 8 Jun 2011 14:02:18 +0200 Subject: spec: fix service scriptlets Don't enable abrtd on update. Don't call systemctl disable with SysV only services. Follow Fedora guidelines. --- abrt.spec.in | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'abrt.spec.in') diff --git a/abrt.spec.in b/abrt.spec.in index 143e8b65..1808fa64 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -261,10 +261,10 @@ if [ $1 -eq 1 ]; then fi #systemd %if %{?with_systemd} -#if [ $1 -eq 1 ]; then +if [ $1 -eq 1 ]; then # Enable (but don't start) the units by default /bin/systemctl enable abrtd.service >/dev/null 2>&1 || : -#fi +fi %endif %post addon-ccpp @@ -291,8 +291,8 @@ fi #systemd %if %{?with_systemd} if [ "$1" -eq "0" ] ; then + /bin/systemctl --no-reload disable abrtd.service > /dev/null 2>&1 || : /bin/systemctl stop abrtd.service >/dev/null 2>&1 || : - /bin/systemctl disable abrtd.service >/dev/null 2>&1 || : fi %endif @@ -302,10 +302,10 @@ if [ "$1" -eq "0" ] ; then /sbin/chkconfig --del abrt-ccpp fi #systemd (not tested): -%if %{?with_systemd} +%if 0 if [ "$1" -eq "0" ] ; then + /bin/systemctl --no-reload disable abrt-ccpp.service >/dev/null 2>&1 || : /bin/systemctl stop abrt-ccpp.service >/dev/null 2>&1 || : - /bin/systemctl disable abrt-ccpp.service >/dev/null 2>&1 || : fi %endif @@ -315,20 +315,17 @@ if [ "$1" -eq "0" ] ; then /sbin/chkconfig --del abrt-oops fi #systemd (not tested): -%if %{?with_systemd} +%if 0 if [ "$1" -eq "0" ] ; then + /bin/systemctl --no-reload abrt-oops.service >/dev/null 2>&1 || : /bin/systemctl stop abrt-oops.service >/dev/null 2>&1 || : - /bin/systemctl disable abrt-oops.service >/dev/null 2>&1 || : fi %endif -%postun -#systemd %if %{?with_systemd} -if [ $1 -ge 1 ] ; then -# On upgrade, reload init system configuration if we changed unit files - /bin/systemctl daemon-reload >/dev/null 2>&1 || : -fi +%postun +/bin/systemctl daemon-reload >/dev/null 2>&1 || : + %endif %post gui -- cgit From e495dd05e5c938008e9a1126985710b8e22d9ea6 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 8 Jun 2011 14:45:24 +0200 Subject: add abrt-oops systemd service (trac#287) --- abrt.spec.in | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'abrt.spec.in') diff --git a/abrt.spec.in b/abrt.spec.in index 1808fa64..8b622429 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -281,7 +281,13 @@ fi if [ $1 -eq 1 ]; then /sbin/chkconfig --add abrt-oops fi -#systemd: TODO +#systemd +%if %{?with_systemd} +if [ $1 -eq 1 ]; then + # Enable (but don't start) the units by default + /bin/systemctl enable abrt-oops.service >/dev/null 2>&1 || : +fi +%endif %preun if [ "$1" -eq "0" ] ; then @@ -314,8 +320,8 @@ if [ "$1" -eq "0" ] ; then service abrt-oops stop >/dev/null 2>&1 /sbin/chkconfig --del abrt-oops fi -#systemd (not tested): -%if 0 +#systemd +%if %{?with_systemd} if [ "$1" -eq "0" ] ; then /bin/systemctl --no-reload abrt-oops.service >/dev/null 2>&1 || : /bin/systemctl stop abrt-oops.service >/dev/null 2>&1 || : @@ -326,6 +332,9 @@ fi %postun /bin/systemctl daemon-reload >/dev/null 2>&1 || : +%postun addon-kerneloops +/bin/systemctl daemon-reload >/dev/null 2>&1 || : + %endif %post gui @@ -447,6 +456,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/%{name}/plugins/Kerneloops.conf %{_sysconfdir}/%{name}/events/report_Kerneloops.xml %config(noreplace) %{_sysconfdir}/%{name}/events.d/koops_events.conf +%if %{?with_systemd} +/lib/systemd/system/abrt-oops.service +%endif %{_initrddir}/abrt-oops %{_mandir}/man*/abrt-action-kerneloops.* %{_bindir}/abrt-dump-oops -- cgit From aa851e935485de31e3c1008756fdd85deef5bb88 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 9 Jun 2011 16:24:16 +0200 Subject: move code from ccpp initscript to abrt-install-ccpp-hook It will be used by systemd service. --- abrt.spec.in | 1 + 1 file changed, 1 insertion(+) (limited to 'abrt.spec.in') diff --git a/abrt.spec.in b/abrt.spec.in index 8b622429..3d9dd0d0 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -442,6 +442,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_bindir}/abrt-action-generate-backtrace %{_bindir}/abrt-action-analyze-backtrace %{_bindir}/abrt-action-list-dsos.py* +%{_sbindir}/abrt-install-ccpp-hook %{_sysconfdir}/%{name}/events.d/ccpp_events.conf %{_sysconfdir}/%{name}/events/analyze_LocalGDB.xml %{_sysconfdir}/%{name}/events/analyze_RetraceServer.xml -- cgit From ffbc6920a332db496dd633f3b7dec944c10d12bf Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 9 Jun 2011 16:37:30 +0200 Subject: add abrt-ccpp systemd service (trac#288) --- abrt.spec.in | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'abrt.spec.in') diff --git a/abrt.spec.in b/abrt.spec.in index 3d9dd0d0..c0e58f5e 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -275,7 +275,13 @@ chown -R abrt:abrt %{_localstatedir}/cache/abrt-di if [ $1 -eq 1 ]; then /sbin/chkconfig --add abrt-ccpp fi -#systemd: TODO +#systemd +%if %{?with_systemd} +if [ $1 -eq 1 ]; then + # Enable (but don't start) the units by default + /bin/systemctl enable abrt-ccpp.service >/dev/null 2>&1 || : +fi +%endif %post addon-kerneloops if [ $1 -eq 1 ]; then @@ -307,8 +313,8 @@ if [ "$1" -eq "0" ] ; then service abrt-ccpp stop >/dev/null 2>&1 /sbin/chkconfig --del abrt-ccpp fi -#systemd (not tested): -%if 0 +#systemd +%if %{?with_systemd} if [ "$1" -eq "0" ] ; then /bin/systemctl --no-reload disable abrt-ccpp.service >/dev/null 2>&1 || : /bin/systemctl stop abrt-ccpp.service >/dev/null 2>&1 || : @@ -335,6 +341,9 @@ fi %postun addon-kerneloops /bin/systemctl daemon-reload >/dev/null 2>&1 || : +%postun addon-ccpp +/bin/systemctl daemon-reload >/dev/null 2>&1 || : + %endif %post gui @@ -432,6 +441,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf %dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di +%if %{?with_systemd} +/lib/systemd/system/abrt-ccpp.service +%endif %{_initrddir}/abrt-ccpp %{_libexecdir}/abrt-hook-ccpp %{_bindir}/abrt-action-analyze-c -- cgit From 3382b1481f83cc615e35d0144e5880e4375e629b Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 9 Jun 2011 16:56:48 +0200 Subject: don't package SysV init scripts with systemd --- abrt.spec.in | 69 +++++++++++++++++++++++++++--------------------------------- 1 file changed, 31 insertions(+), 38 deletions(-) (limited to 'abrt.spec.in') diff --git a/abrt.spec.in b/abrt.spec.in index c0e58f5e..75fcc9c9 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -257,15 +257,13 @@ exit 0 %post if [ $1 -eq 1 ]; then - /sbin/chkconfig --add abrtd -fi -#systemd %if %{?with_systemd} -if [ $1 -eq 1 ]; then -# Enable (but don't start) the units by default + # Enable (but don't start) the units by default /bin/systemctl enable abrtd.service >/dev/null 2>&1 || : -fi +%else + /sbin/chkconfig --add abrtd %endif +fi %post addon-ccpp # this is required for transition from 1.1.x to 2.x @@ -273,66 +271,56 @@ fi # so 2.x fails when it tries to extract debuginfo there.. chown -R abrt:abrt %{_localstatedir}/cache/abrt-di if [ $1 -eq 1 ]; then - /sbin/chkconfig --add abrt-ccpp -fi -#systemd %if %{?with_systemd} -if [ $1 -eq 1 ]; then # Enable (but don't start) the units by default /bin/systemctl enable abrt-ccpp.service >/dev/null 2>&1 || : -fi +%else + /sbin/chkconfig --add abrt-ccpp %endif +fi %post addon-kerneloops if [ $1 -eq 1 ]; then - /sbin/chkconfig --add abrt-oops -fi -#systemd %if %{?with_systemd} -if [ $1 -eq 1 ]; then # Enable (but don't start) the units by default /bin/systemctl enable abrt-oops.service >/dev/null 2>&1 || : -fi +%else + /sbin/chkconfig --add abrt-oops %endif +fi %preun if [ "$1" -eq "0" ] ; then - service abrtd stop >/dev/null 2>&1 - /sbin/chkconfig --del abrtd -fi -#systemd %if %{?with_systemd} -if [ "$1" -eq "0" ] ; then /bin/systemctl --no-reload disable abrtd.service > /dev/null 2>&1 || : /bin/systemctl stop abrtd.service >/dev/null 2>&1 || : -fi +%else + service abrtd stop >/dev/null 2>&1 + /sbin/chkconfig --del abrtd %endif +fi %preun addon-ccpp if [ "$1" -eq "0" ] ; then - service abrt-ccpp stop >/dev/null 2>&1 - /sbin/chkconfig --del abrt-ccpp -fi -#systemd %if %{?with_systemd} -if [ "$1" -eq "0" ] ; then /bin/systemctl --no-reload disable abrt-ccpp.service >/dev/null 2>&1 || : /bin/systemctl stop abrt-ccpp.service >/dev/null 2>&1 || : -fi +%else + service abrt-ccpp stop >/dev/null 2>&1 + /sbin/chkconfig --del abrt-ccpp %endif +fi %preun addon-kerneloops if [ "$1" -eq "0" ] ; then - service abrt-oops stop >/dev/null 2>&1 - /sbin/chkconfig --del abrt-oops -fi -#systemd %if %{?with_systemd} -if [ "$1" -eq "0" ] ; then /bin/systemctl --no-reload abrt-oops.service >/dev/null 2>&1 || : /bin/systemctl stop abrt-oops.service >/dev/null 2>&1 || : -fi +%else + service abrt-oops stop >/dev/null 2>&1 + /sbin/chkconfig --del abrt-oops %endif +fi %if %{?with_systemd} %postun @@ -375,9 +363,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc README COPYING -#systemd %if %{?with_systemd} /lib/systemd/system/abrtd.service +%exclude %{_initrddir}/abrtd +%else +%{_initrddir}/abrtd %endif %{_sbindir}/abrtd %{_sbindir}/abrt-server @@ -389,7 +379,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/%{name}/gpg_keys %config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-abrt.conf %{_sysconfdir}/%{name}/events.d/smart_event.conf -%{_initrddir}/abrtd %dir %attr(0755, abrt, abrt) %{_localstatedir}/spool/%{name} %dir %attr(0700, abrt, abrt) %{_localstatedir}/spool/%{name}-upload %dir %attr(0775, abrt, abrt) %{_localstatedir}/run/%{name} @@ -443,8 +432,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di %if %{?with_systemd} /lib/systemd/system/abrt-ccpp.service -%endif +%exclude %{_initrddir}/abrt-ccpp +%else %{_initrddir}/abrt-ccpp +%endif %{_libexecdir}/abrt-hook-ccpp %{_bindir}/abrt-action-analyze-c %{_bindir}/abrt-action-trim-files @@ -471,8 +462,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/%{name}/events.d/koops_events.conf %if %{?with_systemd} /lib/systemd/system/abrt-oops.service -%endif +%exclude %{_initrddir}/abrt-oops +%else %{_initrddir}/abrt-oops +%endif %{_mandir}/man*/abrt-action-kerneloops.* %{_bindir}/abrt-dump-oops %{_bindir}/abrt-action-analyze-oops -- cgit From 611effbaaf4ea10260084dfec5e652e5a9496726 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 10 Jun 2011 14:08:44 +0200 Subject: spec: avoid installing SysV init scripts instead of excluding them --- abrt.spec.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'abrt.spec.in') diff --git a/abrt.spec.in b/abrt.spec.in index 75fcc9c9..2340a1e1 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -224,9 +224,11 @@ make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} # remove all .la and .a files find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f mkdir -p ${RPM_BUILD_ROOT}/%{_initrddir} +%if ! %{?with_systemd} install -m 755 %SOURCE1 ${RPM_BUILD_ROOT}/%{_initrddir}/abrtd install -m 755 %SOURCE2 ${RPM_BUILD_ROOT}/%{_initrddir}/abrt-ccpp install -m 755 %SOURCE3 ${RPM_BUILD_ROOT}/%{_initrddir}/abrt-oops +%endif mkdir -p $RPM_BUILD_ROOT/var/cache/abrt-di mkdir -p $RPM_BUILD_ROOT/var/run/abrt mkdir -p $RPM_BUILD_ROOT/var/spool/abrt @@ -365,7 +367,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %doc README COPYING %if %{?with_systemd} /lib/systemd/system/abrtd.service -%exclude %{_initrddir}/abrtd %else %{_initrddir}/abrtd %endif @@ -432,7 +433,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di %if %{?with_systemd} /lib/systemd/system/abrt-ccpp.service -%exclude %{_initrddir}/abrt-ccpp %else %{_initrddir}/abrt-ccpp %endif @@ -462,7 +462,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/%{name}/events.d/koops_events.conf %if %{?with_systemd} /lib/systemd/system/abrt-oops.service -%exclude %{_initrddir}/abrt-oops %else %{_initrddir}/abrt-oops %endif -- cgit From ae3d2f1e79fb0582cb216ab6d2d7952323a547cd Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Fri, 10 Jun 2011 14:53:33 +0200 Subject: move abrt_event.conf to {_sysconfigdir/abrt/events.d/ - this should fix the problem with transition to separate libreport which uses report_event.conf and contains #include events.d/*.conf --- abrt.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'abrt.spec.in') diff --git a/abrt.spec.in b/abrt.spec.in index 2340a1e1..8f9b75b9 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -376,8 +376,8 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_bindir}/abrt-action-save-package-data %{_bindir}/abrt-retrace-client %config(noreplace) %{_sysconfdir}/%{name}/abrt.conf -%config(noreplace) %{_sysconfdir}/%{name}/abrt_event.conf %config(noreplace) %{_sysconfdir}/%{name}/gpg_keys +%config(noreplace) %{_sysconfdir}/%{name}/events.d/abrt_event.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-abrt.conf %{_sysconfdir}/%{name}/events.d/smart_event.conf %dir %attr(0755, abrt, abrt) %{_localstatedir}/spool/%{name} -- cgit From e8011a45ec9bc02771363b6516b3d46bf8344663 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 13 Jun 2011 14:16:59 +0200 Subject: spec: use %global in python defines --- abrt.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'abrt.spec.in') diff --git a/abrt.spec.in b/abrt.spec.in index 8f9b75b9..511d0852 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -1,6 +1,6 @@ -%{!?python_site: %define python_site %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} +%{!?python_site: %global python_site %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} # platform-dependent -%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %if 0%{?fedora} >= 14 %define with_systemd 1 %else -- cgit From 16f9e8da051b87164b77bf9a42a61ae9a97fb5fd Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 13 Jun 2011 14:17:50 +0200 Subject: spec: use %bcond macro for systemd --- abrt.spec.in | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'abrt.spec.in') diff --git a/abrt.spec.in b/abrt.spec.in index 511d0852..ede470ba 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -2,9 +2,9 @@ # platform-dependent %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %if 0%{?fedora} >= 14 - %define with_systemd 1 + %bcond_without systemd %else - %define with_systemd 0 + %bcond_with systemd %endif Summary: Automatic bug detection and reporting tool @@ -44,7 +44,7 @@ BuildRequires: gnome-keyring-devel BuildRequires: libgnome-keyring-devel %endif -%if %{?with_systemd} +%if %{with systemd} Requires: systemd-units %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -224,7 +224,7 @@ make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} # remove all .la and .a files find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f mkdir -p ${RPM_BUILD_ROOT}/%{_initrddir} -%if ! %{?with_systemd} +%if ! %{with systemd} install -m 755 %SOURCE1 ${RPM_BUILD_ROOT}/%{_initrddir}/abrtd install -m 755 %SOURCE2 ${RPM_BUILD_ROOT}/%{_initrddir}/abrt-ccpp install -m 755 %SOURCE3 ${RPM_BUILD_ROOT}/%{_initrddir}/abrt-oops @@ -259,7 +259,7 @@ exit 0 %post if [ $1 -eq 1 ]; then -%if %{?with_systemd} +%if %{with systemd} # Enable (but don't start) the units by default /bin/systemctl enable abrtd.service >/dev/null 2>&1 || : %else @@ -273,7 +273,7 @@ fi # so 2.x fails when it tries to extract debuginfo there.. chown -R abrt:abrt %{_localstatedir}/cache/abrt-di if [ $1 -eq 1 ]; then -%if %{?with_systemd} +%if %{with systemd} # Enable (but don't start) the units by default /bin/systemctl enable abrt-ccpp.service >/dev/null 2>&1 || : %else @@ -283,7 +283,7 @@ fi %post addon-kerneloops if [ $1 -eq 1 ]; then -%if %{?with_systemd} +%if %{with systemd} # Enable (but don't start) the units by default /bin/systemctl enable abrt-oops.service >/dev/null 2>&1 || : %else @@ -293,7 +293,7 @@ fi %preun if [ "$1" -eq "0" ] ; then -%if %{?with_systemd} +%if %{with systemd} /bin/systemctl --no-reload disable abrtd.service > /dev/null 2>&1 || : /bin/systemctl stop abrtd.service >/dev/null 2>&1 || : %else @@ -304,7 +304,7 @@ fi %preun addon-ccpp if [ "$1" -eq "0" ] ; then -%if %{?with_systemd} +%if %{with systemd} /bin/systemctl --no-reload disable abrt-ccpp.service >/dev/null 2>&1 || : /bin/systemctl stop abrt-ccpp.service >/dev/null 2>&1 || : %else @@ -315,7 +315,7 @@ fi %preun addon-kerneloops if [ "$1" -eq "0" ] ; then -%if %{?with_systemd} +%if %{with systemd} /bin/systemctl --no-reload abrt-oops.service >/dev/null 2>&1 || : /bin/systemctl stop abrt-oops.service >/dev/null 2>&1 || : %else @@ -324,7 +324,7 @@ if [ "$1" -eq "0" ] ; then %endif fi -%if %{?with_systemd} +%if %{with systemd} %postun /bin/systemctl daemon-reload >/dev/null 2>&1 || : @@ -365,7 +365,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc README COPYING -%if %{?with_systemd} +%if %{with systemd} /lib/systemd/system/abrtd.service %else %{_initrddir}/abrtd @@ -431,7 +431,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf %dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di -%if %{?with_systemd} +%if %{with systemd} /lib/systemd/system/abrt-ccpp.service %else %{_initrddir}/abrt-ccpp @@ -460,7 +460,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/%{name}/plugins/Kerneloops.conf %{_sysconfdir}/%{name}/events/report_Kerneloops.xml %config(noreplace) %{_sysconfdir}/%{name}/events.d/koops_events.conf -%if %{?with_systemd} +%if %{with systemd} /lib/systemd/system/abrt-oops.service %else %{_initrddir}/abrt-oops -- cgit