diff --git a/gjs.changes b/gjs.changes index 192e803..a49873b 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 26 12:58:30 CET 2010 - vuntz@opensuse.org + +- Build against mozilla-xulrunner192-devel on openSUSE > 11.2. +- Add dbus-1-devel Requires to devel package. + ------------------------------------------------------------------- Fri Mar 19 09:01:25 CET 2010 - dimstar@opensuse.org diff --git a/gjs.spec b/gjs.spec index ab29922..26cbe33 100644 --- a/gjs.spec +++ b/gjs.spec @@ -16,11 +16,15 @@ # +%if 0%{suse_version} > 1120 +%define xulrunner_ver 192 +%else %if 0%{suse_version} > 1110 %define xulrunner_ver 191 %else %define xulrunner_ver 190 %endif +%endif Name: gjs Version: 0.6 @@ -57,6 +61,7 @@ Mozilla SpiderMonkey JavaScript engine. License: MIT License (or similar) Summary: JavaScript bindings based on gobject-introspection and Mozilla Group: Development/Libraries/GNOME +Requires: dbus-1-devel Requires: gobject-introspection-devel Requires: libgjs-0 = %{version} Requires: mozilla-xulrunner%{xulrunner_ver}-devel