The package rpms/nodejs-cjs-module-lexer.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/nodejs-cjs-module-lexer.git/commit/?....
Change: +ExclusiveArch: %{ix86} x86_64 aarch64 ppc64le riscv64 noarch
Thanks.
Full change: ============
commit 14504e91c93902b70cdb2a1dc372b025d7f2a130 Author: Jan Staněk jstanek@redhat.com Date: Tue Aug 13 16:23:29 2024 +0200
enable binaryen optimization
diff --git a/nodejs-cjs-module-lexer.spec b/nodejs-cjs-module-lexer.spec index 932e985..ad39b2d 100644 --- a/nodejs-cjs-module-lexer.spec +++ b/nodejs-cjs-module-lexer.spec @@ -1,6 +1,8 @@ %global npm_name cjs-module-lexer %global prebuilt_blobs lib/lexer.wasm
+%bcond wasm_opt 1 + Name: nodejs-%{npm_name} Summary: A very fast lexer used to detect the named exports of a CommonJS module Version: 1.3.1 @@ -28,6 +30,9 @@ ExclusiveArch: %{ix86} x86_64 aarch64 ppc64le riscv64 noarch
BuildRequires: clang lld make wasi-libc-devel BuildRequires: nodejs-devel npm +%if %{with wasm_opt} +BuildRequires: binaryen +%endif # for autosetup -S git_am BuildRequires: git-core
@@ -49,7 +54,8 @@ tar -xzf %{S:2} && ln -rsf node_modules_dev node_modules WASM_CC=clang \ WASM_CFLAGS='--target=wasm32-wasi --sysroot=/usr/wasm32-wasi' \ WASM_LDFLAGS='-nostartfiles -nodefaultlibs -lc' \ - clean lib/lexer.wasm + %{?with_wasm_opt:WASM_OPT=/usr/bin/wasm-opt} \ + clean lib/lexer.wasm %{?with_wasm_opt:optimize}
npm --offline run build npm --offline pack
commit a9291b4b0db4102d038fbb9b76ed4e9a6949aab7 Author: Jan Staněk jstanek@redhat.com Date: Tue Aug 13 16:11:33 2024 +0200
Update to version 1.3.1 (rhbz#2277570)
diff --git a/.gitignore b/.gitignore index 681a41d..c5a4beb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ /cjs-module-lexer-1.2.3.tar.gz /cjs-module-lexer-1.2.3-nm-dev.tgz /cjs-module-lexer-1.2.3-bundled-licenses.txt +/cjs-module-lexer-1.3.1.tar.gz +/cjs-module-lexer-1.3.1-nm-dev.tgz +/cjs-module-lexer-1.3.1-bundled-licenses.txt diff --git a/nodejs-cjs-module-lexer.spec b/nodejs-cjs-module-lexer.spec index d90b17c..932e985 100644 --- a/nodejs-cjs-module-lexer.spec +++ b/nodejs-cjs-module-lexer.spec @@ -3,7 +3,7 @@
Name: nodejs-%{npm_name} Summary: A very fast lexer used to detect the named exports of a CommonJS module -Version: 1.2.3 +Version: 1.3.1 Release: %autorelease
License: MIT @@ -14,9 +14,6 @@ Source: https://github.com/nodejs/%%7Bnpm_name%7D/archive/%%7Bversion%7D/%%7Bnpm_nam... Source2: %{npm_name}-%{version}-nm-dev.tgz Source3: %{npm_name}-%{version}-bundled-licenses.txt
-# Adapt Makefile for easier rebuilds -Patch: 0001-parametrize-wasm-compilation-process.patch - # Binary files in this package are aimed at the wasm32-wasi "architecture". %global _binaries_in_noarch_packages_terminate_build 0 BuildArch: noarch diff --git a/sources b/sources index 4c60588..0f91297 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (cjs-module-lexer-1.2.3.tar.gz) = dab77f606c0b0c12abf9e91994cd56b3492e45ecb6e615236abb948fa2a66146d25776bb895b4b25a1b3cb15168eb073b07ff405da47d3b2a1e62428171b4f76 -SHA512 (cjs-module-lexer-1.2.3-nm-dev.tgz) = 44d91bfe4e782a47d0506ec5d0bf12877083b263222535019efd0e0d50614d6688edde17571025ddd9c8f1c2a428974bfb59ee9d9c97d1b7e20150785cfab3de -SHA512 (cjs-module-lexer-1.2.3-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (cjs-module-lexer-1.3.1.tar.gz) = cfd082aeb096bfa1ca9213571c072b6e0a13ba8ffdff3e12def6ea3f21a9ab6fcd4ad1ce342dff0a2a89f999b3bd1609e37aa11139b3deef39341b28cc856f4f +SHA512 (cjs-module-lexer-1.3.1-nm-dev.tgz) = e0473ed3ff0514eab817641dc97ffca67b92d65a5817652eb48598e1fb3bd7095f1422fa2f4ae3c942d20ad0466f1aea7d8eabf71aa02de7f7f2bf656329aeb0 +SHA512 (cjs-module-lexer-1.3.1-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba
commit d65191509e7fbd33a7cc620d2c97818b56799eda Author: Fedora Release Engineering releng@fedoraproject.org Date: Thu Jul 18 19:37:08 2024 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
commit 073bb8876de078519f32ec7b34f70ac880edc858 Author: Jan Staněk jstanek@redhat.com Date: Thu Apr 4 12:14:42 2024 +0200
Enable gating
diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..dd02a0b --- /dev/null +++ b/gating.yaml @@ -0,0 +1,19 @@ +--- !Policy # testing repository +product_versions: + - fedora-* +decision_contexts: [bodhi_update_push_testing] +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} +--- !Policy # stable repository +product_versions: + - fedora-* +decision_contexts: [bodhi_update_push_stable] +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} +... diff --git a/test-plan.fmf b/test-plan.fmf new file mode 100644 index 0000000..35d1404 --- /dev/null +++ b/test-plan.fmf @@ -0,0 +1,15 @@ +--- +summary: Package test suite +discover: + how: fmf + url: https://gitlab.com/redhat/centos-stream/tests/nodejs + filter: 'component: nodejs-cjs-module-lexer' +prepare: + - name: install nodejs and cjs-module-lexer + how: install + package: + - nodejs + - nodejs-cjs-module-lexer +execute: + how: tmt +...
commit 7cc71b9fdf0c55984462d20dcfed376024831c2f Author: Fedora Release Engineering releng@fedoraproject.org Date: Thu Jan 25 09:08:02 2024 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
commit 4d2718332710f3054176ccb00b7ff7620c287768 Author: Yaakov Selkowitz yselkowi@redhat.com Date: Mon Jan 15 12:32:48 2024 -0500
Do not attempt to build on s390x
lld is a build requirement of the WASI toolchain but is not yet supported on s390x (although work is underway upstream). Therefore, %nodejs_arches cannot be used here until that changes.
diff --git a/nodejs-cjs-module-lexer.spec b/nodejs-cjs-module-lexer.spec index fcb3d8c..d90b17c 100644 --- a/nodejs-cjs-module-lexer.spec +++ b/nodejs-cjs-module-lexer.spec @@ -20,7 +20,14 @@ Patch: 0001-parametrize-wasm-compilation-process.patch # Binary files in this package are aimed at the wasm32-wasi "architecture". %global _binaries_in_noarch_packages_terminate_build 0 BuildArch: noarch +# change this conditional to the fedora and rhel releases containing lld +# versions which include support for s390x: +# https://github.com/llvm/llvm-project/issues/57097 +%if 0 ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 aarch64 ppc64le riscv64 noarch +%endif
BuildRequires: clang lld make wasi-libc-devel BuildRequires: nodejs-devel npm
commit 14938ca14b7eef9b6c38859cf855c56c0914089f Author: Fedora Release Engineering releng@fedoraproject.org Date: Sun Jan 21 09:47:20 2024 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
arch-excludes@lists.fedoraproject.org