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
This commit is contained in:
Vincent Untz 2011-04-27 14:49:19 +00:00 committed by Git OBS Bridge
parent 5cab2bf049
commit 2f2ec61dff
3 changed files with 10 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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