- Build opencode 1.19.5 from source for openEuler 24.03 LTS SP4 (x86_64, aarch64) - Fetch upstream source at build time (direct codeload + GitHub proxy fallbacks); use Huawei Cloud Node/Bun/npm mirrors; switch ghostty-web to the published 0.3.0 package; ship the models.dev snapshot in Source1 - Make the build work offline: the COPR project disables network access during builds (enable_net=false), so the GitHub source fetch, the Huawei Cloud Node/Bun mirrors and the npm install step in %prep/%build all failed with "no source mirror was reachable" - Package the upstream-published standalone release artifacts, which already embed the CLI, the Web UI and the Bun runtime (spec-rules-nodejs: TypeScript monorepo without a prebuilt dist/ tree cannot be compiled offline in the openEuler chroot); %ifarch selects opencode-linux-x64 / opencode-linux-arm64 - Reference the full immutable upstream release URLs for Source0/Source1, ship the upstream LICENSE as Source2, and verify the archive against its sha256 - Drop the models.dev snapshot and the curl/git/gcc/nodejs BuildRequires that were only needed by the removed in-tree build - Build opencode 1.19.5 from source for openEuler 24.03 LTS SP4 (x86_64, aarch64) - Fetch upstream source at build time (direct codeload + GitHub proxy fallbacks); use Huawei Cloud Node/Bun/npm mirrors; switch ghostty-web to the published 0.3.0 package; ship the models.dev snapshot in Source1 - Make the build work offline: the COPR project disables network access during builds (enable_net=false), so the GitHub source fetch, the Huawei Cloud Node/Bun mirrors and the npm install step in %prep/%build all failed with "no source mirror was reachable" - Package the upstream-published standalone release artifacts, which already embed the CLI, the Web UI and the Bun runtime (spec-rules-nodejs: TypeScript monorepo without a prebuilt dist/ tree cannot be compiled offline in the openEuler chroot); %ifarch selects opencode-linux-x64 / opencode-linux-arm64 - Reference the full immutable upstream release URLs for Source0/Source1, ship the upstream LICENSE as Source2, and verify the archive against its sha256 - Drop the models.dev snapshot and the curl/git/gcc/nodejs BuildRequires that were only needed by the removed in-tree build