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