From 2f2ec61dff9c51df7c936aa12207c61f986546aa10e784fdd1f47db16790b995 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Wed, 27 Apr 2011 14:49:19 +0000 Subject: [PATCH] Accepting request 68593 from home:vuntz:branches:GNOME:Factory ok OBS-URL: https://build.opensuse.org/request/show/68593 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gobject-introspection?expand=0&rev=45 --- gi-find-deps.sh | 12 +++++++----- gobject-introspection.changes | 4 ++-- gobject-introspection.spec | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/gi-find-deps.sh b/gi-find-deps.sh index fd571e0..c5470f6 100644 --- a/gi-find-deps.sh +++ b/gi-find-deps.sh @@ -37,19 +37,21 @@ done } function find_requires { -# FIXME: There are multiple ways how the gi bindings can be imported. We only catch the 'basic' one +# FIXME: There are multiple ways gi bindings can be imported. We only catch the 'basic' one # Currently, we detect: # - in python: # . from gi.repository import foo [Unversioned requirement of 'foo'] # . from gi.repository import foo-1.0 [versioned requirement] -# . And we do not stumble over from gi.repository import foo as _bar +# . And we do not stumble over: +# from gi.repository import foo as _bar +# from gi.repository import foo, bar # - in JS: # . imports.gi.foo; [unversioned requirement of 'foo'] # . imports.gi.goo-1.0; [versioned requirement] # . The imports can be listed on one line, and we catch them. -# Not detected froms: -# - imports.gi.versions.Gtk = '3.0'; -# - gi.require_version('Gtk', '3.0') +# Forms currently not detected: +# - js: imports.gi.versions.Gtk = '3.0'; +# - py: gi.require_version('Gtk', '3.0') while read file; do case $file in diff --git a/gobject-introspection.changes b/gobject-introspection.changes index a05e9be..0576358 100644 --- a/gobject-introspection.changes +++ b/gobject-introspection.changes @@ -1,8 +1,8 @@ ------------------------------------------------------------------- Wed Apr 27 09:16:02 UTC 2011 - dimstar@opensuse.org -- Add gi-find-deps.sh: automatically detect requires and provides - for gobject-introspected typelibs. +- Add gi-find-deps.sh: automatically detect Requires and Provides + for gobject-introspection typelibs. ------------------------------------------------------------------- Tue Apr 26 14:52:08 UTC 2011 - fcrozat@novell.com diff --git a/gobject-introspection.spec b/gobject-introspection.spec index c9e41ff..466f69a 100644 --- a/gobject-introspection.spec +++ b/gobject-introspection.spec @@ -26,7 +26,7 @@ Summary: GObject Introspection Tools Url: http://live.gnome.org/GObjectIntrospection Group: Development/Libraries/GNOME Source0: %{name}-%{version}.tar.bz2 -# gi-find-deps.sh installed as rpm helper for Provides and Requires. Script creates typelib()-style Provides/Requires. +# gi-find-deps.sh is a rpm helper for Provides and Requires. Script creates typelib()-style Provides/Requires. Source1: gi-find-deps.sh Source99: %{name}-rpmlintrc BuildRequires: bison