Hello community, here is the log from the commit of package mozjs52 for openSUSE:Factory checked in at 2018-03-05 13:35:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old) and /work/SRC/openSUSE:Factory/.mozjs52.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "mozjs52" Mon Mar 5 13:35:33 2018 rev:6 rq:582173 version:52.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes 2018-01-30 15:39:46.471571843 +0100 +++ /work/SRC/openSUSE:Factory/.mozjs52.new/mozjs52.changes 2018-03-05 13:35:37.592787663 +0100 @@ -1,0 +2,9 @@ +Thu Mar 1 16:17:33 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Actually remove bundled zlib and use system zlib. Avoids potential + problems when trying to use system zlib while mozjs52-devel is + installed (two zlib.h instances with conflicting definitions). + Likewise fix for boo#1082720. +- Drop unused zip BuildRequires. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mozjs52.spec ++++++ --- /var/tmp/diff_new_pack.pfACwJ/_old 2018-03-05 13:35:42.176621777 +0100 +++ /var/tmp/diff_new_pack.pfACwJ/_new 2018-03-05 13:35:42.176621777 +0100 @@ -40,8 +40,8 @@ BuildRequires: python-devel BuildRequires: python-pip BuildRequires: readline-devel -BuildRequires: zip BuildRequires: pkgconfig(libffi) +BuildRequires: pkgconfig(zlib) %description JavaScript is the Netscape-developed object scripting language used in millions @@ -80,6 +80,9 @@ %patch4 -p1 %endif +# Remove zlib directory (to assure using the system version) +rm -rf modules/zlib + cd js/src # Fix release number head -n -1 ../../config/milestone.txt > ../../config/milestone.txt @@ -134,9 +137,6 @@ --without-system-icu \ %endif --with-system-zlib \ -%ifarch %{arm} aarch64 ppc ppc64 ppc64le - \ -%endif # Without adding these sources resulted library has weak symbols #echo "CPPSRCS += \$(DEPTH)/mfbt/Unified_cpp_mfbt0.cpp \$(DEPTH)/../../mfbt/Compression.cpp \$(DEPTH)/../../mfbt/decimal/Decimal.cpp" >> js/src/backend.mk