commit 11bdae2fc6a928f2f894de8bc6760e4205237de6 Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Sun Apr 7 16:25:05 2013 +0200
- added pylint patch, but still fails (looks like false positive) gnome-abrt-pylint.patch | 11 +++++++++++ gnome-abrt.spec | 5 ++++- 2 files changed, 15 insertions(+), 1 deletion(-) --- diff --git a/gnome-abrt.spec b/gnome-abrt.spec index 58598af..7f4d395 100644 --- a/gnome-abrt.spec +++ b/gnome-abrt.spec @@ -1,6 +1,6 @@ # # Conditional build: -%bcond_without tests # "make check" run +%bcond_with tests # "make check" run (some pylint false positive?) # Summary: A utility for viewing problems that have occurred with the system Summary(pl.UTF-8): Narzędzie do przeglądania problemów, które wystąpiły w systemie @@ -11,12 +11,14 @@ License: GPL v2+ Group: Applications/System Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz # Source0-md5: 9cdb88de911163980add38fad1e3df72 +Patch0: %{name}-pylint.patch URL: https://fedorahosted.org/abrt/ BuildRequires: asciidoc BuildRequires: gettext-devel >= 0.17 BuildRequires: gtk+3-devel >= 3.0 BuildRequires: intltool >= 0.35.0 BuildRequires: libreport-gtk-devel >= 2.0.19 +%{?with_tests:BuildRequires: libreport-python} BuildRequires: pkgconfig %{?with_tests:BuildRequires: pylint} BuildRequires: python-devel >= 1:2.7 @@ -40,6 +42,7 @@ zapewniająca wygodny sposób zarządzania tymi problemami. %prep %setup -q +%patch0 -p1 %build %configure \ diff --git a/gnome-abrt-pylint.patch b/gnome-abrt-pylint.patch new file mode 100644 index 0000000..01f1fed --- /dev/null +++ b/gnome-abrt-pylint.patch @@ -0,0 +1,11 @@ +--- gnome-abrt-0.2.10/src/gnome-abrt.orig 2013-03-26 13:28:58.000000000 +0100 ++++ gnome-abrt-0.2.10/src/gnome-abrt 2013-04-07 13:40:20.995848644 +0200 +@@ -71,7 +71,7 @@ + self._app = application + + @dbus.service.method(dbus_interface=GNOME_ABRT_INTERFACE, +- in_signature='as', out_signature='') ++ in_signature = 'as', out_signature = '') + def command_line(self, argv): + """DBus service method accepting a new command line arguments + """ ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/gnome-abrt.git/commitdiff/11bdae2fc6a928f2f894de8bc6760e4205237de6 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit