File python-spidermonkey-opensuse-js.patch of Package python-python-spidermonkey

Binary files a/.setup.py.swp and b/.setup.py.swp differ
diff -ruN a/setup.py b/setup.py
--- a/setup.py	2011-02-17 04:33:24.000000000 +0100
+++ b/setup.py	2013-01-16 11:05:29.000000000 +0100
@@ -87,10 +87,7 @@
     return pkg_config("nspr", config)
 
 def js_config(config=None):
-    config = pkg_config("mozilla-js", config)
-    if "-DJS_THREADSAFE" not in config["extra_compile_args"]:
-        raise SystemError("Unable to link against a library that was "
-            "compiled without -DJS_THREADSAFE");
+    config = pkg_config("mozjs185", config)
     return config
 
 def platform_config():
openSUSE Build Service is sponsored by