don't suppress abrt reporting, don't redirect bug reports to upstream

This commit is contained in:
Nils Philippsen 2011-12-15 13:59:43 +01:00
parent dc002694e1
commit 31c2223abc

View File

@ -155,12 +155,6 @@ to find in similar commercial offerings, and some interesting extras as well.
GIMP provides a large image manipulation toolbox, including channel operations
and layers, effects, sub-pixel imaging and anti-aliasing, and conversions, all
with multi-level undo.
%if %unstable
This is an UNSTABLE development version of GIMP. Please report bugs in the
program upstream:
https://bugzilla.gnome.org/enter_bug.cgi?product=GIMP&version=%version
%endif
%package libs
Summary: GIMP libraries
@ -170,12 +164,6 @@ License: LGPLv3+
%description libs
The gimp-libs package contains shared libraries needed for the GNU Image
Manipulation Program (GIMP).
%if %unstable
This is an UNSTABLE development version of GIMP. Please report bugs in the
program upstream:
https://bugzilla.gnome.org/enter_bug.cgi?product=GIMP&version=%version
%endif
%package devel
Summary: GIMP plugin and extension development kit
@ -191,12 +179,6 @@ Requires: pkgconfig
The gimp-devel package contains the static libraries and header files
for writing GNU Image Manipulation Program (GIMP) plug-ins and
extensions.
%if %unstable
This is an UNSTABLE development version of GIMP. Please report bugs in the
program upstream:
https://bugzilla.gnome.org/enter_bug.cgi?product=GIMP&version=%version
%endif
%package devel-tools
Summary: GIMP plugin and extension development tools
@ -207,12 +189,6 @@ Requires: gimp-devel = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel-tools
The gimp-devel-tools package contains gimptool, a helper program to build GNU
Image Manipulation Program (GIMP) plug-ins and extensions.
%if %unstable
This is an UNSTABLE development version of GIMP. Please report bugs in the
program upstream:
https://bugzilla.gnome.org/enter_bug.cgi?product=GIMP&version=%version
%endif
%package help-browser
Summary: GIMP help browser plug-in
@ -224,12 +200,6 @@ Requires: gimp%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description help-browser
The gimp-help-browser package contains a lightweight help browser plugin for
viewing GIMP online help.
%if %unstable
This is an UNSTABLE development version of GIMP. Please report bugs in the
program upstream:
https://bugzilla.gnome.org/enter_bug.cgi?product=GIMP&version=%version
%endif
%prep
cat << EOF
@ -379,16 +349,6 @@ ln -snf gimptool-%{lib_api_version}.1 %{buildroot}%{_mandir}/man1/gimptool.1
ln -snf gimprc-%{binver}.5 %{buildroot}/%{_mandir}/man5/gimprc.5
%endif
%if %unstable
# Suppress abrt bug reporting for unstable releases
mkdir -p %{buildroot}%{_sysconfdir}/libreport/events.d
cat << EOF > %{buildroot}%{_sysconfdir}/libreport/events.d/gimp-unstable.conf
# don't generate abrt reports for unstable gimp releases
EVENT=post-create executable~=.*/gimp.*
test -d "\$DUMP_DIR" && rm -rf -- "\$DUMP_DIR"
EOF
%endif # unstable
%clean
rm -rf %{buildroot}
@ -476,12 +436,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/icons/hicolor/*/apps/gimp.png
%if %unstable
%dir %{_sysconfdir}/libreport
%dir %{_sysconfdir}/libreport/events.d
%dir %{_sysconfdir}/libreport/events.d/gimp-unstable.conf
%endif
%files libs
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING ChangeLog NEWS README