Hello community,

here is the log from the commit of package python-python-spidermonkey for 
openSUSE:Factory checked in at 2014-11-04 17:30:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-spidermonkey (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-spidermonkey.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-spidermonkey"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-spidermonkey/python-python-spidermonkey.changes
    2013-12-19 12:37:14.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-python-spidermonkey.new/python-python-spidermonkey.changes
       2014-11-04 17:30:43.000000000 +0100
@@ -1,0 +2,7 @@
+Sun Nov  2 17:01:38 UTC 2014 - [email protected]
+
+- use newer mozjs24 after 13.2
+  (python-spidermonkey-opensuse-js24.patch)
+- compile with -fno-strict-aliasing
+
+-------------------------------------------------------------------

New:
----
  python-spidermonkey-opensuse-js24.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-python-spidermonkey.spec ++++++
--- /var/tmp/diff_new_pack.49z9Li/_old  2014-11-04 17:30:45.000000000 +0100
+++ /var/tmp/diff_new_pack.49z9Li/_new  2014-11-04 17:30:45.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-python-spidermonkey
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,8 +29,13 @@
 # PATCH-FIX-OPENSUSE: [email protected] -- add missing powerpc headers
 Patch1:         python-spidermonkey-powerpc.patch
 Patch2:         python-spidermonkey-ppc64le.patch
-BuildRequires:  js-devel
+Patch3:         python-spidermonkey-opensuse-js24.patch
 BuildRequires:  mozilla-nspr-devel
+%if 0%{?suse_version} > 1320
+BuildRequires:  mozjs24-devel
+%else
+BuildRequires:  js-devel
+%endif
 BuildRequires:  python-devel
 BuildRequires:  python-nose
 BuildRequires:  python-setuptools
@@ -51,7 +56,11 @@
 %if 0%{?suse_version}
 # Mozilla's 'js' library is called differently on openSUSE. pkg-config doesn't
 # contain "-DJS_THREADSAFE", but openSUSE's js was built this way:
+%if 0%{?suse_version} > 1320
+%patch3 -p1
+%else
 %patch0 -p1
+%endif
 # Drop currently failing test:
 rm tests/test-syntax-error.py
 %endif
@@ -59,9 +68,9 @@
 %patch2 -p1
 
 %build
-CFLAGS="%{optflags}" python setup.py build
+CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
 #TODO/FIXME: Use system js:
-#CFLAGS="%{optflags}" python setup.py --system-library build
+#CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py --system-library 
build
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}

++++++ python-spidermonkey-opensuse-js24.patch ++++++
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("mozjs-24", config)
     return config
 
 def platform_config():
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to