The package rpms/mozjs115.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/mozjs115.git/commit/?id=7e91920bb....
Change:
-%ifarch aarch64
Thanks.
Full change:
============
commit 0efa8f179746c459df2b33c046482e0cd8f5a947
Author: František Zatloukal <fzatlouk(a)redhat.com>
Date: Wed Jun 12 18:50:49 2024 +0200
mozjs115-115.12.0 (RHBZ#2264868)
diff --git a/.gitignore b/.gitignore
index 17a4d3e..329ca55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/firefox-115.3.1esr.source.tar.xz
/firefox-115.6.0esr.source.tar.xz
/firefox-115.7.0esr.source.tar.xz
+/firefox-115.12.0esr.source.tar.xz
diff --git a/mozjs115.spec b/mozjs115.spec
index ffa8995..9e30da0 100644
--- a/mozjs115.spec
+++ b/mozjs115.spec
@@ -18,7 +18,7 @@
%endif
Name: mozjs%{major}
-Version: 115.7.0
+Version: 115.12.0
Release: %autorelease
Summary: SpiderMonkey JavaScript library
diff --git a/sources b/sources
index 9f926e7..4cc0c1a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (firefox-115.7.0esr.source.tar.xz) =
d468d8ef117d76e0660c5359c3becf0502354c61bdaaeb4137d86f52b50143abec2ac4578af69afa5670700b57efff1c7323ca23e3339a9eaaa888dee7e8e922
+SHA512 (firefox-115.12.0esr.source.tar.xz) =
d98475061d870e0f3aa920b7c0b9b0c1cbdb3f4102f760f1d1c5ea3e45e216c673c8d3662501e7e78af4950a003a519e94b57e9b1eda8d615c159cdf62130e89
commit 7e91920bb84d9b7346cc063649de493abf632ec0
Author: František Zatloukal <fzatlouk(a)redhat.com>
Date: Wed Jun 12 18:09:47 2024 +0200
Re-enable lto on aarch64
diff --git a/mozjs115.spec b/mozjs115.spec
index 39a5e92..ffa8995 100644
--- a/mozjs115.spec
+++ b/mozjs115.spec
@@ -12,12 +12,6 @@
%define _lto_cflags %{nil}
%endif
-# Disable LTO on aarch64 (borked since GCC14)
-#
https://bugzilla.redhat.com/show_bug.cgi?id=2260867
-%ifarch aarch64
-%define _lto_cflags %{nil}
-%endif
-
# Big endian platforms
%ifarch ppc ppc64 s390 s390x
%global big_endian 1
commit 2529838aad39ce21648f41720766c4f69fdc8fca
Author: František Zatloukal <fzatlouk(a)redhat.com>
Date: Wed Jun 12 18:09:12 2024 +0200
tests: Replace pipes with shlex for Python 3.13
diff --git a/mozjs115.spec b/mozjs115.spec
index 912eabb..39a5e92 100644
--- a/mozjs115.spec
+++ b/mozjs115.spec
@@ -61,6 +61,9 @@ Patch20: spidermonkey_checks_disable.patch
# s390x/ppc64 fixes
Patch21: 0001-Skip-failing-tests-on-ppc64-and-s390x.patch
+# Tests Fixes
+Patch30: tests-Replace-pipes-with-shlex-for-Python-3.13.patch
+
BuildRequires: cargo
%if !0%{?rhel}
BuildRequires: ccache
diff --git a/tests-Replace-pipes-with-shlex-for-Python-3.13.patch
b/tests-Replace-pipes-with-shlex-for-Python-3.13.patch
new file mode 100644
index 0000000..50c49de
--- /dev/null
+++ b/tests-Replace-pipes-with-shlex-for-Python-3.13.patch
@@ -0,0 +1,32 @@
+From dae1848488117166227b00cd7dcadf704b770339 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <fzatlouk(a)redhat.com>
+Date: Wed, 12 Jun 2024 15:56:03 +0200
+Subject: [PATCH] tests: Replace pipes with shlex for Python 3.13
+
+---
+ js/src/tests/lib/results.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/js/src/tests/lib/results.py b/js/src/tests/lib/results.py
+index f902060..ba0c7c6 100644
+--- a/js/src/tests/lib/results.py
++++ b/js/src/tests/lib/results.py
+@@ -1,5 +1,5 @@
+ import json
+-import pipes
++import shlex
+ import re
+
+ from .progressbar import NullProgressBar, ProgressBar
+@@ -9,7 +9,7 @@ from .structuredlog import TestLogger
+
+
+ def escape_cmdline(args):
+- return " ".join([pipes.quote(a) for a in args])
++ return " ".join([shlex.quote(a) for a in args])
+
+
+ class TestOutput:
+--
+2.45.1
+
commit 35fbe3fd5f585f10b8f346910446a115b6dfe8f0
Author: František Zatloukal <fzatlouk(a)redhat.com>
Date: Wed Jun 12 15:53:53 2024 +0200
Adjust file paths
diff --git a/mozjs115.spec b/mozjs115.spec
index 9bab7a8..912eabb 100644
--- a/mozjs115.spec
+++ b/mozjs115.spec
@@ -230,8 +230,8 @@ pushd js/src/
%endif
%files
-%doc README.html
-%license LICENSE
+%doc js/src/README.html
+%license js/src/LICENSE
%{_libdir}/libmozjs-%{major}.so.0*
%files devel
commit 16033c6f96131d071fa9f0c2709dc486e11bb114
Author: František Zatloukal <fzatlouk(a)redhat.com>
Date: Tue Jun 11 16:06:15 2024 +0200
Adjust known failures
diff --git a/known_failures.txt b/known_failures.txt
index c586972..dcce71b 100644
--- a/known_failures.txt
+++ b/known_failures.txt
@@ -6,6 +6,7 @@ non262/Intl/DateTimeFormat/day-period-hour-cycle.js
non262/Intl/DateTimeFormat/fractional-second-digits-append-item.js
non262/Intl/DateTimeFormat/related-year.js
non262/Intl/DateTimeFormat/timeZone_backzone.js
+non262/Intl/DateTimeFormat/timeZone_version.js
non262/Intl/DisplayNames/calendar.js
non262/Intl/DisplayNames/currency.js
non262/Intl/DisplayNames/language-dialect.js
commit b0f7540df35bc1631c870c8d9e08ada7cb986926
Author: František Zatloukal <fzatlouk(a)redhat.com>
Date: Tue Jun 11 16:03:13 2024 +0200
spec cleanup
diff --git a/mozjs115.spec b/mozjs115.spec
index a0b3c4d..9bab7a8 100644
--- a/mozjs115.spec
+++ b/mozjs115.spec
@@ -101,10 +101,7 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
-%autosetup -n firefox-%{version}/js/src -N
-
-pushd ../..
-%autopatch -p1
+%autosetup -n firefox-%{version} -p1
# Purge the bundled six library incompatible with Python 3.12
rm third_party/python/six/six.py
@@ -126,8 +123,6 @@ rm -rf js/src/devtools/automation/variants/
rm -rf js/src/octane/
rm -rf js/src/ctypes/libffi/
-popd
-
%build
%if 0%{?build_with_lto}
#
https://github.com/ptomato/mozjs/commit/36bb7982b41e0ef9a65f7174252ab996c...
@@ -137,11 +132,11 @@ export CARGO_PROFILE_RELEASE_LTO=true
# Use bundled autoconf
export M4=m4
export AWK=awk
-export AC_MACRODIR=/builddir/build/BUILD/firefox-%{version}/build/autoconf/
+export AC_MACRODIR=./build/autoconf/
+pushd js/src/
#sh ../../build/autoconf/autoconf.sh
--localdir=/builddir/build/BUILD/firefox-%%{version}/js/src configure.in > configure
#chmod +x configure
-
%configure \
--with-system-icu \
--with-system-zlib \
@@ -158,6 +153,7 @@ export
AC_MACRODIR=/builddir/build/BUILD/firefox-%{version}/build/autoconf/
%make_build
%install
+pushd js/src/
%make_install
# Fix permissions
@@ -211,6 +207,7 @@ ln -s libmozjs-%{major}.so.0.0.0
%{buildroot}%{_libdir}/libmozjs-%{major}.so.0
ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so
%check
+pushd js/src/
# Run SpiderMonkey tests
%if 0%{?require_tests}
%{python3} tests/jstests.py -d -s -t 2400 --exclude-file=known_failures.txt --no-progress
--wpt=disabled ../../js/src/dist/bin/js%{major}