diff --git a/.gitignore b/.gitignore index b1c214e..8485078 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ abrt-1.1.13.tar.gz /abrt-2.0.18.tar.gz /abrt-2.0.19.tar.gz /abrt-2.0.20.tar.gz +/abrt-2.1.0.tar.gz diff --git a/abrt.spec b/abrt.spec index 2aafb07..8748674 100644 --- a/abrt.spec +++ b/abrt.spec @@ -24,7 +24,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.0.20 +Version: 2.1.0 Release: 1%{?dist} License: GPLv2+ Group: Applications/System @@ -48,8 +48,9 @@ BuildRequires: libtool BuildRequires: nss-devel BuildRequires: asciidoc BuildRequires: xmlto -BuildRequires: libreport-devel >= 2.0.14-1 +BuildRequires: libreport-devel >= 2.1.0-1 BuildRequires: btparser-devel +Requires: libreport >= 2.1.0-1 %if %{with systemd} Requires: systemd-units @@ -88,6 +89,7 @@ Summary: %{name}'s gui Group: User Interface/Desktops Requires: %{name} = %{version}-%{release} Requires: %{name}-dbus = %{version}-%{release} +Requires: gnome-abrt BuildRequires: libreport-gtk-devel # we used to have abrt-applet, now abrt-gui includes it: Provides: abrt-applet = %{version}-%{release} @@ -215,6 +217,7 @@ Requires: abrt-addon-xorg Requires: gdb >= 7.0-3 Requires: elfutils Requires: abrt-gui +Requires: gnome-abrt Requires: abrt-plugin-bodhi Requires: libreport-plugin-logger, libreport-plugin-bugzilla Requires: libreport-plugin-ureport @@ -237,6 +240,18 @@ ABRT DBus service which provides org.freedesktop.problems API on dbus and uses PolicyKit to authorize to access the problem data. +%package python +Summary: ABRT Python API +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} +BuildRequires: python-nose +BuildRequires: python-sphinx +BuildArch: noarch + +%description python +High-level API for querying, creating and manipulating +problems handled by ABRT in Python. + %prep %setup -q #RHEL @@ -248,7 +263,7 @@ uses PolicyKit to authorize to access the problem data. %build autoconf -CFLAGS="%{optflags} -Werror" %configure --disable-silent-rules +CFLAGS="%{optflags} -Werror" %configure --with-defaultdumplocation=/var/spool/abrt --disable-silent-rules make %{?_smp_mflags} %install @@ -265,12 +280,6 @@ mkdir -p $RPM_BUILD_ROOT/var/spool/abrt mkdir -p $RPM_BUILD_ROOT/var/spool/abrt-upload desktop-file-install \ - --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ - --vendor %{desktopvendor} \ - --delete-original \ - ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop - -desktop-file-install \ --dir ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart \ src/applet/abrt-applet.desktop @@ -523,7 +532,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_bindir}/abrt-gui %dir %{_datadir}/%{name} # all glade, gtkbuilder and py files for gui -%{_datadir}/applications/%{desktopvendor}-%{name}.desktop %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/status/* %{_datadir}/%{name}/icons/hicolor/*/status/* @@ -623,7 +631,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_sysconfdir}/libreport/events.d/python_event.conf %{_bindir}/abrt-action-analyze-python %{_mandir}/man1/abrt-action-analyze-python.1* -%{python_site}/abrt*.py* +%{python_sitearch}/abrt*.py* %{python_site}/abrt.pth %files cli @@ -650,7 +658,47 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/polkit-1/actions/abrt_polkit.policy %config(noreplace) %{_sysconfdir}/libreport/events.d/dbus_event.conf +%files python +%{python_sitelib}/problem/ +%{_mandir}/man5/abrt-python.5.gz +%{_defaultdocdir}/%{name}-python-%{version}/examples/ + %changelog +* Mon Feb 04 2013 Jakub Filak 2.1.0-1 +- pkg-config: export defaultdumplocation variable +- configure: set default dump location to /var/tmp/abrt +- abrtd: sanitize mode and ovner of all elements +- updated translation +- abrtd-inotify-flood test: expend it to check for another inotify-related bug +- gnome-abrt is default GUI +- applet: on requrest open gnome-abrt instead of abrt-gui +- Make it so that g_io_channel_read_chars(channel_inotify) does not buffer data. +- multilib fixes +- daemon: unify accessibility check before delete with dbus +- dbus: move dir accessibility check from abrt to libreport +- dbus: user dd_chown instead of own impl. +- allow default dump directory to be configured through cmd line args +- introduce abrt-python +- reporter-bz: post a comment to dup bug, if we found a dup. version 2. +- replace left over magic dd modes by macro +- synchronize default dump dir mode with libreport +- replace all occurrences of hardcoded dump location by a variable +- harvest-vmcore: read dump dir path from configuration +- use lchown when chowning files over dbus +- use lchown when chowning newly created problem directory +- verify-that-report-edits test: fix to account for new CLI interface +- koops: add all x86 TRAP prefixes to list of suspicious strings +- koops: put all suspicious strings to global variable +- applet: extend comment. No code changes +- applet: introduce shortened reporting +- abrt-applet: handle SIGTERM and perform nice termination +- abrt-applet: update the seen list on every possible action +- applet: don't notify outdated new problems +- Add and use "report-cli" event instead of removed "report-cli -r" option +- fixed the relro flags rhbz#812284 +- applet: unref unused GIOChannel +- Resolves: #892230, #895742 + * Thu Dec 20 2012 Jiri Moskovcak 2.0.20-1 - New version 2.0.20 - Fix typo: usefull->useful diff --git a/sources b/sources index 4e227c2..7cf78b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ac614c632546897c1dce8d9c691dea28 abrt-2.0.20.tar.gz +4327e9d2d730d0b7677b4a5f0f792e08 abrt-2.1.0.tar.gz