[abrt] new version 2.0.7

Jiří Moskovčák jmoskovc at fedoraproject.org
Wed Dec 7 09:39:02 UTC 2011


commit 9b168d3bcbbd2a2d7414d093b33dfe5d9631b6b4
Author: Jiri <moskovcak at gmail.com>
Date:   Wed Dec 7 10:38:57 2011 +0100

    new version 2.0.7

 ...unch-reporter-children-with-LIBREPORT_GET.patch |   40 ---
 ...-don-t-file-kernel-bugs-if-tainted-B-is-s.patch |  192 -----------
 0002-disabled-reporting-to-kerneloops.org.patch    |   27 ++
 0002-gtk3-build-fixes.patch                        |   79 -----
 ...he-main-window-in-2-panes-reported-not-re.patch |  354 --------------------
 ...bz-718097-don-t-file-bugs-about-BIOS-bugs.patch |   35 --
 0003-glib-2.31-build-fixes.patch                   |   72 ----
 ...ve-forgotten-abrt-action-kerneloops-files.patch |  268 ---------------
 ...-install-debuginfo-ask-before-downloading.patch |   71 ----
 abrt-ccpp.init                                     |  151 ---------
 abrt-oops.init                                     |   91 -----
 abrt-vmcore.init                                   |   79 -----
 abrt.init                                          |  115 -------
 abrt.spec                                          |   80 ++----
 allow_bz_for_koops.patch                           |   11 -
 enable_bz_for_oops.patch                           |   11 -
 free_space_check.patch                             |   29 --
 null_deref.patch                                   |   21 --
 18 files changed, 49 insertions(+), 1677 deletions(-)
---
diff --git a/0002-disabled-reporting-to-kerneloops.org.patch b/0002-disabled-reporting-to-kerneloops.org.patch
new file mode 100644
index 0000000..3c46ec8
--- /dev/null
+++ b/0002-disabled-reporting-to-kerneloops.org.patch
@@ -0,0 +1,27 @@
+From 3e39d5b9944536a6f4d4f266b3c4961ad8da443e Mon Sep 17 00:00:00 2001
+From: Jiri <moskovcak at gmail.com>
+Date: Wed, 7 Dec 2011 10:34:27 +0100
+Subject: [PATCH 2/2] disabled reporting to kerneloops.org
+
+- we get lot of complains about dead kerneloops.org and since it's
+  not wihtin our power to fix it -> disable it!
+---
+ src/plugins/koops_event.conf |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/plugins/koops_event.conf b/src/plugins/koops_event.conf
+index 3b80a1b..2fdccda 100644
+--- a/src/plugins/koops_event.conf
++++ b/src/plugins/koops_event.conf
+@@ -10,7 +10,7 @@ EVENT=post-create analyzer=Kerneloops
+         reporter-kerneloops
+ 
+ # report
+-EVENT=report_Kerneloops analyzer=Kerneloops
++#EVENT=report_Kerneloops analyzer=Kerneloops
+         reporter-kerneloops
+ 
+ EVENT=report_Bugzilla analyzer=Kerneloops
+-- 
+1.7.7.3
+
diff --git a/abrt.spec b/abrt.spec
index de9e161..c2c103e 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -15,7 +15,7 @@
 
 Summary: Automatic bug detection and reporting tool
 Name: abrt
-Version: 2.0.6
+Version: 2.0.7
 Release: 1%{?dist}
 License: GPLv2+
 Group: Applications/System
@@ -24,8 +24,7 @@ Source: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
 Source1: abrt1_to_abrt2
 Patch0: blacklist.patch
 Patch1: abrt_disable_gpgcheck.diff
-Patch2: 0002-gtk3-build-fixes.patch
-Patch3: 0003-glib-2.31-build-fixes.patch
+Patch2: 0002-disabled-reporting-to-kerneloops.org.patch
 BuildRequires: dbus-devel
 BuildRequires: gtk2-devel
 BuildRequires: rpm-devel >= 4.6
@@ -173,6 +172,7 @@ Requires: gdb >= 7.0-3
 Requires: abrt-gui
 Requires: libreport-plugin-logger, libreport-plugin-bugzilla
 Requires: abrt-retrace-client
+Requires: libreport-plugin-bodhi
 #Requires: abrt-plugin-firefox
 Obsoletes: bug-buddy > 0.0.1
 Provides: bug-buddy
@@ -186,17 +186,11 @@ Virtual package to make easy default installation on desktop environments.
 %patch0 -p1 -b .blacklist
 # general
 %patch1 -p1 -b .gpg
-%patch2 -p1 -b .gtk3
-%patch3 -p1 -b .glib231
+%patch2 -p1 -b .disable_koops_org
 
 %build
-mkdir -p m4
-test -r m4/aclocal.m4 || touch m4/aclocal.m4
 autoconf
-automake
 %configure
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 CFLAGS="-fno-strict-aliasing"
 make %{?_smp_mflags}
 
@@ -241,11 +235,9 @@ getent passwd abrt >/dev/null || useradd --system -g abrt -u %{abrt_gid_uid} -d
 exit 0
 
 %post
-## [ $1 -eq 1 ] install section
 if [ $1 -eq 1 ]; then
 %if %{with systemd}
     # Enable (but don't start) the units by default
-    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
     /bin/systemctl enable abrtd.service >/dev/null 2>&1 || :
 %else
     /sbin/chkconfig --add abrtd
@@ -258,70 +250,29 @@ fi
 # because /cache/abrt-di/* was created under root with root:root
 # so 2.x fails when it tries to extract debuginfo there..
 chown -R abrt:abrt %{_localstatedir}/cache/abrt-di
-## [ $1 -eq 1 ] install section
 if [ $1 -eq 1 ]; then
 %if %{with systemd}
     # Enable (but don't start) the units by default
-    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
     /bin/systemctl enable abrt-ccpp.service >/dev/null 2>&1 || :
 %else
     /sbin/chkconfig --add abrt-ccpp
 %endif
 fi
-# FIXME: Workaround for update from abrt-1.1.x, can be removed in
-# F17(18) update.  When we are updating from ABRT 1 to ABRT 2, assume
-# that abrtd service is enabled and thus enable the new abrt-ccpp
-# service.  If abrtd is running on the system, run abrt-ccpp service
-# as well, because what was a part of abrtd became a separate service.
-
-## [ $1 -gt 1 ] upgrade section
-if [ $1 -gt 1 ]; then
-   %if %{with systemd}
-       /bin/systemctl restart abrt-ccpp.service >/dev/null 2>&1 || :
-   %else
-       /sbin/chkconfig --add abrt-ccpp > /dev/null 2>&1 || :
-       /sbin/pidof abrtd >/dev/null 2>&1
-       if [ $? -eq 0 ]; then # Is abrtd running?
-           service abrt-ccpp restart >/dev/null 2>&1 || :
-       fi
-   %endif
-fi
 
 %post addon-kerneloops
-## [ $1 -eq 1 ] install section
 if [ $1 -eq 1 ]; then
 %if %{with systemd}
     # Enable (but don't start) the units by default
-    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
     /bin/systemctl enable abrt-oops.service >/dev/null 2>&1 || :
 %else
     /sbin/chkconfig --add abrt-oops
 %endif
 fi
-# FIXME: Workaround for update from abrt-1.1.x, can be removed in
-# F17(18) update.  When we are updating from ABRT 1 to ABRT 2, assume
-# that abrtd service is enabled and thus enable the new abrt-oops
-# service.  If abrtd is running on the system, run abrt-ccpp service
-# as well, because what was a part of abrtd became a separate service.
-
-## [ $1 -gt 1 ] upgrade section
-if [ $1 -gt 1 ]; then
-   %if %{with systemd}
-       /bin/systemctl try-restart abrt-oops.service >/dev/null 2>&1 || :
-   %else
-       /sbin/chkconfig --add abrt-oops > /dev/null 2>&1 || :
-       /sbin/pidof abrtd >/dev/null 2>&1
-       if [ $? -eq 0 ]; then # Is abrtd running?
-	   service abrt-oops restart >/dev/null 2>&1 || :
-      fi
-  %endif
-fi
 
 %post addon-vmcore
 if [ $1 -eq 1 ]; then
 %if %{with systemd}
     # Enable (but don't start) the units by default
-    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
     /bin/systemctl enable abrt-vmcore.service >/dev/null 2>&1 || :
 %else
     /sbin/chkconfig --add abrt-vmcore
@@ -374,16 +325,16 @@ fi
 
 %if %{with systemd}
 %postun
-/bin/systemctl try-reload abrtd.service >/dev/null 2>&1 || :
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
 
 %postun addon-kerneloops
-/bin/systemctl try-reload abrt-oops.service >/dev/null 2>&1 || :
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
 
 %postun addon-vmcore
-/bin/systemctl try-reload abrt-vmcore.service >/dev/null 2>&1 || :
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
 
 %postun addon-ccpp
-/bin/systemctl try-reload abrt-ccpp.service >/dev/null 2>&1 || :
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
 
 %endif
 
@@ -425,6 +376,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_initrddir}/abrtd
 %endif
 %{_sbindir}/abrtd
+%{_sbindir}/abrt-dbus
 %{_sbindir}/abrt-server
 %{_libexecdir}/abrt-handle-event
 %{_bindir}/abrt-handle-upload
@@ -450,6 +402,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_mandir}/man1/abrt-server.1.gz
 %{_mandir}/man1/abrt-action-save-package-data.1.gz
 %{_mandir}/man8/abrtd.8.gz
+%{_mandir}/man8/abrt-dbus.8.gz
 %{_mandir}/man5/abrt.conf.5.gz
 %{_mandir}/man5/abrt-action-save-package-data.conf.5.gz
 # {_mandir}/man5/pyhook.conf.5.gz
@@ -564,9 +517,20 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %defattr(-,root,root,-)
 
 %changelog
+* Wed Dec 07 2011 Jiri Moskovcak <jmoskovc at redhat.com> 2.0.7-1
+- new version
+- disabled kerneloops.org
+- abrt-ccpp hook fixes
+- catch indentation errors in python rhbz#578969
+- fixed make check
+- fixed retrace-client to work with rawhide
+- require abrtd service in other services rhbz#752014
+- fixed problems with dupes rhbz#701717
+- keep abrt services enabled when updating F15->F16
+- Resolves: 752014 749891 749603 744887 730422 665210 639068 625445 701717 752014 578969 732876 757683 753183 756146 749100
+
 * Fri Nov 04 2011 Jiri Moskovcak <jmoskovc at redhat.com> 2.0.6-1
 - new version
-- moved to gtk3
 - Resolves: #701171 #712508 #726033 #728194 #728314 #730107 #733389 #738602
 - Resolves: #741242 #749365 #700252 #734298 #736016 #738324 #748457 #692274
 - Resolves: #711986 #723219 #749891 #712602 #744887 #749603 #625445 #665210


More information about the scm-commits mailing list