From 0f341cd6985327478686186ace5e5a5b4c70f439358f3118d84ad3d0f71eb538 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Sat, 24 Dec 2011 14:24:50 +0000 Subject: [PATCH] Accepting request 98101 from home:vuntz:branches:GNOME:Factory Split typelib out to fix build OBS-URL: https://build.opensuse.org/request/show/98101 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=57 --- gjs.changes | 6 ++++++ gjs.spec | 16 +++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/gjs.changes b/gjs.changes index 253f145..dfdedcc 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 24 14:09:35 UTC 2011 - vuntz@opensuse.org + +- Split typelib file into typelib-1_0-GjsDBus-1_0 subpackage. +- Add typelib-1_0-GjsDBus-1_0 Requires to devel subpackage. + ------------------------------------------------------------------- Tue Dec 20 20:34:37 UTC 2011 - vuntz@opensuse.org diff --git a/gjs.spec b/gjs.spec index 8c0a52a..e698706 100644 --- a/gjs.spec +++ b/gjs.spec @@ -44,6 +44,7 @@ Mozilla SpiderMonkey JavaScript engine. %package -n libgjs0 Summary: JavaScript bindings based on gobject-introspection and Mozilla +Group: Development/Libraries/GNOME Provides: libgjs-0 = %{version} Obsoletes: libgjs-0 < %{version} @@ -51,9 +52,19 @@ Obsoletes: libgjs-0 < %{version} This module contains JavaScript bindings based on gobject-introspection and the Mozilla SpiderMonkey JavaScript engine. +%package -n typelib-1_0-GjsDBus-1_0 +Summary: GJS DBus utility library -- Introspection bindings +Group: Development/Libraries/GNOME + +%description -n typelib-1_0-GjsDBus-1_0 +This module contains JavaScript bindings based on gobject-introspection and the +Mozilla SpiderMonkey JavaScript engine. + %package -n libgjs-devel Summary: JavaScript bindings based on gobject-introspection and Mozilla +Group: Development/Libraries/GNOME Requires: libgjs0 = %{version} +Requires: typelib-1_0-GjsDBus-1_0 # Just a helper provides Provides: gjs-devel = %{version} @@ -94,9 +105,12 @@ rm -rf %{buildroot} %{_datadir}/gjs-1.0/ %{_libdir}/*.so.* %dir %{_libdir}/gjs -%{_libdir}/gjs/GjsDBus-1.0.typelib %{_libdir}/gjs-1.0/ +%files -n typelib-1_0-GjsDBus-1_0 +%defattr(-,root,root) +%{_libdir}/gjs/GjsDBus-1.0.typelib + %files -n libgjs-devel %defattr(-,root,root) %{_includedir}/*