From 74f322bfe8bd9297302a34e6eed82acd07ed99fdc60e8c30047a433790b8167e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 11 Jul 2011 15:48:25 +0000 Subject: [PATCH] Accepting request 76037 from home:vuntz:branches:GNOME:Factory Fix bug in Requires generation OBS-URL: https://build.opensuse.org/request/show/76037 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gobject-introspection?expand=0&rev=60 --- gi-find-deps.sh | 2 +- gobject-introspection.changes | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gi-find-deps.sh b/gi-find-deps.sh index f6e308e..eb6a11f 100644 --- a/gi-find-deps.sh +++ b/gi-find-deps.sh @@ -65,7 +65,7 @@ while read file; do done ;; *.py) - for module in $(grep -h -P "from gi.repository import (\w+)" $file | sed 's:#.*::' | sed -e 's,from gi.repository import,,' -r -e 's:\s+as\s+\w+::g' -e 's:,::g'); do + for module in $(grep -h -P "from gi.repository import (\w+)" $file | sed 's:#.*::' | sed -e 's,from gi.repository import,,' -r -e 's:\s+as\s+\w+::g' -e 's:,: :g'); do split_name_version $module print_req_prov done diff --git a/gobject-introspection.changes b/gobject-introspection.changes index 7ebe633..bf6291c 100644 --- a/gobject-introspection.changes +++ b/gobject-introspection.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jul 11 13:24:35 CEST 2011 - vuntz@opensuse.org + +- gi-find-deps.sh: Correctly deal with "from gi.repository import + Gtk,GObject" by replacing ',' with a space instead of just + removing it. This should fix wrong Requires like + typelib(GtkGObject). + ------------------------------------------------------------------- Wed Jun 15 12:25:02 CEST 2011 - dimstar@opensuse.org