[abrt/f20] New upstream release 2.1.9

Jakub Filak jfilak at fedoraproject.org
Mon Oct 28 12:38:04 UTC 2013


commit a717b3490ee1a45f2cf6aa4767e3c323714e65f9
Author: Jakub Filak <jfilak at redhat.com>
Date:   Sun Oct 27 18:53:26 2013 +0100

    New upstream release 2.1.9
    
    Resolves: #1017869, #1018307

 .gitignore |    1 +
 abrt.spec  |   78 ++++++++++++++++++++++++++++++++++++++++++++++++-----------
 sources    |    2 +-
 3 files changed, 65 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 05d19c2..a3beddc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,4 @@ abrt-1.1.13.tar.gz
 /abrt-2.1.6.tar.gz
 /abrt-2.1.7.tar.gz
 /abrt-2.1.8.tar.gz
+/abrt-2.1.9.tar.gz
diff --git a/abrt.spec b/abrt.spec
index 087493a..d200ba6 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -27,11 +27,18 @@
 %define desktopvendor fedora
 %endif
 
-%define libreport_ver 2.1.8
+# do not append package version to doc directory of subpackages in F20 and later; rhbz#993656
+%if "%{_pkgdocdir}" == "%{_docdir}/%{name}"
+    %define docdirversion %{nil}
+%else
+    %define docdirversion -%{version}
+%endif
+
+%define libreport_ver 2.1.9
 
 Summary: Automatic bug detection and reporting tool
 Name: abrt
-Version: 2.1.8
+Version: 2.1.9
 Release: 1%{?dist}
 License: GPLv2+
 Group: Applications/System
@@ -59,9 +66,11 @@ BuildRequires: asciidoc
 BuildRequires: doxygen
 BuildRequires: xmlto
 BuildRequires: libreport-devel >= %{libreport_ver}
-BuildRequires: satyr-devel >= 0.10
+BuildRequires: satyr-devel >= 0.11
+BuildRequires: systemd-python
+
 Requires: libreport >= %{libreport_ver}
-Requires: satyr >= 0.10
+Requires: satyr >= 0.11
 
 %if %{with systemd}
 Requires: systemd-units
@@ -119,6 +128,7 @@ Provides: abrt-applet = %{version}-%{release}
 Obsoletes: abrt-applet < 0.0.5
 Conflicts: abrt-applet < 0.0.5
 Requires: abrt-libs = %{version}-%{release}
+Requires: abrt-gui-libs = %{version}-%{release}
 
 %description gui
 GTK+ wizard for convenient bug reporting.
@@ -321,6 +331,7 @@ uses PolicyKit to authorize to access the problem data.
 Summary: ABRT Python API
 Group: System Environment/Libraries
 Requires: %{name} = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
 Requires: pygobject2
 BuildRequires: python-nose
 BuildRequires: python-sphinx
@@ -329,6 +340,17 @@ BuildRequires: python-sphinx
 High-level API for querying, creating and manipulating
 problems handled by ABRT in Python.
 
+%package python-doc
+Summary: ABRT Python API Documentation
+Group: Documentation
+BuildArch: noarch
+BuildRequires: python2-devel
+Requires: %{name} = %{version}-%{release}
+Requires: %{name}-python = %{version}-%{release}
+
+%description python-doc
+Examples and documentation for ABRT Python API.
+
 %package console-notification
 Summary: ABRT console notification script
 Group: Applications/System
@@ -358,8 +380,7 @@ make %{?_smp_mflags}
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} \
-             dbusabrtdocdir=%{_defaultdocdir}/%{name}-dbus-%{version}/html/ \
-             example_pythondir=%{_defaultdocdir}/%{name}-python-%{version}/examples
+             dbusabrtdocdir=%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/
 
 %find_lang %{name}
 
@@ -548,7 +569,7 @@ fi
 
 %posttrans
 # update the old problem dirs to contain "type" element
-abrtdir=$(grep "DumpLocation" /etc/abrt/abrt.conf | cut -d'=' -f2 | tr -d ' '); cd $abrtdir 2>/dev/null && for i in `find . -name "analyzer" 2>/dev/null`; do len=${#i};cp "$i" "${i:0:$len-9}/type"; done;
+abrtdir=$(grep "DumpLocation" /etc/abrt/abrt.conf | cut -d'=' -f2 | tr -d ' '); cd $abrtdir 2>/dev/null && for i in `find . -name "analyzer" 2>/dev/null`; do len=${#i};cp "$i" "${i:0:$len-9}/type"; done; for i in `find "$abrtdir" -mindepth 1 -maxdepth 1 -type d`; do chown `stat --format=%U:abrt $i` $i/*; done
 service abrtd condrestart >/dev/null 2>&1 || :
 
 %posttrans addon-ccpp
@@ -556,10 +577,11 @@ service abrt-ccpp condrestart >/dev/null 2>&1 || :
 # Regenerate core_bactraces because of missing crash threads
 abrtdir=$(grep "DumpLocation" /etc/abrt/abrt.conf | cut -d'=' -f2 | tr -d ' ')
 if test -d "$abrtdir"; then
-    for DD in `find "$abrtdir" -maxdepth 1 -type d`
+    for DD in `find "$abrtdir" -mindepth 1 -maxdepth 1 -type d`
     do
         if test -f "$DD/analyzer" && grep -q "^CCpp$" "$DD/analyzer"; then
-            /usr/bin/abrt-action-generate-core-backtrace -d "$DD" -- >/dev/null 2>&1
+            /usr/bin/abrt-action-generate-core-backtrace -d "$DD" -- >/dev/null 2>&1 || :
+            test -f "$DD/core_backtrace" && chown `stat --format=%U:abrt $DD` "$DD/core_backtrace" || :
         fi
     done
 fi
@@ -602,6 +624,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %config(noreplace) %{_sysconfdir}/%{name}/abrt.conf
 %config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
 %config(noreplace) %{_sysconfdir}/%{name}/xorg.conf
+%{_mandir}/man5/abrt-xorg.conf.5.gz
 %config(noreplace) %{_sysconfdir}/%{name}/gpg_keys.conf
 %config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_event.conf
 %config(noreplace) %{_sysconfdir}/libreport/events.d/smart_event.conf
@@ -816,21 +839,46 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/dbus-1/system-services/org.freedesktop.problems.service
 %{_datadir}/polkit-1/actions/abrt_polkit.policy
 %config(noreplace) %{_sysconfdir}/libreport/events.d/dbus_event.conf
-%dir %{_defaultdocdir}/%{name}-dbus-%{version}/
-%dir %{_defaultdocdir}/%{name}-dbus-%{version}/html/
-%{_defaultdocdir}/%{name}-dbus-%{version}/html/*.html
-%{_defaultdocdir}/%{name}-dbus-%{version}/html/*.css
+%dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/
+%dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/
+%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/*.html
+%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/*.css
 
 %files python
 %{python_sitelib}/problem/
 %{_mandir}/man5/abrt-python.5.gz
-%dir %{_defaultdocdir}/%{name}-python-%{version}/
-%{_defaultdocdir}/%{name}-python-%{version}/examples/
+
+%files python-doc
+%{python_sitelib}/problem_examples
 
 %files console-notification
 %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
 
 %changelog
+* Sat Oct 26 2013 Jakub Filak <jfilak at redhat.com> 2.1.9-1
+- pyhook: add logging workaround for rhbz#1023041
+- spec: add systemd-python to BuildRequires
+- start abrt-handle-event in non-interactive mode
+- Log to journal instead of syslog
+- Create manpage for xorg.conf
+- Configuration UI: instantly apply changes
+- applet: reload user configuration before accessing its values
+- switch logging from syslog to systemd in f20 - rhbz#1010648
+- make notification messages more clear
+- Use log_ family instead of VERBn log calls
+- spec: unversioned doc directories in newer fedoras
+- don't consider crashes posted to ABRT server as reported
+- check return values of fcntl() and setsid()
+- remove a dead code uncovered by coverity
+- spec: fix file access rights for type and core_bactrace
+- spec: move examples to abrt-python-doc package
+- install problem examples to python dir
+- spec: added the versioned abrt-libs requires to silence rpmdiff
+- a-dump-oops: Add new WARNING pattern
+- a-a-save-kernel-data: support more kernel flavours
+- a-h-event: always compare results of realpath()
+- Resolves: #1017869, #1018307
+
 * Fri Oct 04 2013 Jakub Filak <jfilak at redhat.com> 2.1.8-1
 - Disassemble only instruction rage memory if backtrace is too big
 - Include floating-point registers in the backtrace
diff --git a/sources b/sources
index 83d1e4e..6bb3c63 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4dc26c8f7d54152502d2dc15edec5a4d  abrt-2.1.8.tar.gz
+13f02df3677ba08444d33b9137b7676d  abrt-2.1.9.tar.gz


More information about the scm-commits mailing list