From 8f14cc9c93963b18f9844555303324577a2044cd Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Tue, 27 Jan 2026 21:02:06 -0600 Subject: [PATCH 1/3] fix (srpm): link to js build macros in needed spots Signed-off-by: Owen-sz --- content/docs/terra/srpm.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/docs/terra/srpm.mdx b/content/docs/terra/srpm.mdx index 5b32e3cd..d6942d73 100644 --- a/content/docs/terra/srpm.mdx +++ b/content/docs/terra/srpm.mdx @@ -415,6 +415,8 @@ All macros calling the package managers also call NPM environment variables beca #### NPM Macros for using [NPM](https://www.npmjs.com). +For `%npm_build`, see [here](#npm_build). + ##### %__npm_log_level Macro that sets the logging level for NPM. Defaults to `error` because NPM logs can fill the terminal quickly. @@ -480,6 +482,8 @@ Expands to: `%{__npm} test{:rpmspec}` #### Bun Macros for using [Bun](https://bun.com). +For `%bun_build`, see [here](#bun_build). + ##### %bun_common_envvars Sets the `$BUN_HOME{:bash}` for future use and sets the cache dir. @@ -527,6 +531,8 @@ Expands to: `%{__bun} test{:rpmspec}` #### Deno Macros for using [Deno](https://deno.com). +For `%deno_build`, see [here](#deno_build). + ##### %deno_common_envvars Sets the `$DENO_DIR{:bash}`, `$DENO_INSTALL_ROOT{:bash}`, limits `$DENO_JOBS{:bash}` to `${RPM_BUILD_NCPUS}{:bash}`, disables update notifications, and forces color. @@ -569,6 +575,8 @@ Expands to: `%{__deno} test --parallel{:rpmspec}` #### PNPM Macros for using [PNPM](https://pnpm.io). +For `%pnpm_build`, see [here](#pnpm_build). + ##### %pnpm_common_envvars Sets the NPM environment variables and the PNPM home directory. @@ -630,6 +638,8 @@ Macros for using [Yarn (Yarn Classic/Yarn v1)](https://classic.yarnpkg.com) and You SHOULD use `yarnpkg` (Yarn Classic) unless you need `yarnpkg-berry` (Yarn Berry) specifically. +For `%yarn_build`, see [here](#yarn_build). + ##### %yarn_common_envvars Sets the NPM evironment variables and Yarn's cache folder. From 6358ffb755162d1af9c16a688f373100771e4d54 Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Tue, 27 Jan 2026 21:15:34 -0600 Subject: [PATCH 2/3] clean up Signed-off-by: Owen-sz --- content/docs/terra/srpm.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/docs/terra/srpm.mdx b/content/docs/terra/srpm.mdx index d6942d73..9056c453 100644 --- a/content/docs/terra/srpm.mdx +++ b/content/docs/terra/srpm.mdx @@ -415,7 +415,7 @@ All macros calling the package managers also call NPM environment variables beca #### NPM Macros for using [NPM](https://www.npmjs.com). -For `%npm_build`, see [here](#npm_build). +For `%npm_build{:rpmspec}`, see [here](#npm_build). ##### %__npm_log_level Macro that sets the logging level for NPM. Defaults to `error` because NPM logs can fill the terminal quickly. @@ -482,7 +482,7 @@ Expands to: `%{__npm} test{:rpmspec}` #### Bun Macros for using [Bun](https://bun.com). -For `%bun_build`, see [here](#bun_build). +For `%bun_build{:rpmspec}`, see [here](#bun_build). ##### %bun_common_envvars Sets the `$BUN_HOME{:bash}` for future use and sets the cache dir. @@ -531,7 +531,7 @@ Expands to: `%{__bun} test{:rpmspec}` #### Deno Macros for using [Deno](https://deno.com). -For `%deno_build`, see [here](#deno_build). +For `%deno_build{:rpmspec}`, see [here](#deno_build). ##### %deno_common_envvars Sets the `$DENO_DIR{:bash}`, `$DENO_INSTALL_ROOT{:bash}`, limits `$DENO_JOBS{:bash}` to `${RPM_BUILD_NCPUS}{:bash}`, disables update notifications, and forces color. @@ -575,7 +575,7 @@ Expands to: `%{__deno} test --parallel{:rpmspec}` #### PNPM Macros for using [PNPM](https://pnpm.io). -For `%pnpm_build`, see [here](#pnpm_build). +For `%pnpm_build{:rpmspec}`, see [here](#pnpm_build). ##### %pnpm_common_envvars Sets the NPM environment variables and the PNPM home directory. @@ -638,7 +638,7 @@ Macros for using [Yarn (Yarn Classic/Yarn v1)](https://classic.yarnpkg.com) and You SHOULD use `yarnpkg` (Yarn Classic) unless you need `yarnpkg-berry` (Yarn Berry) specifically. -For `%yarn_build`, see [here](#yarn_build). +For `%yarn_build{:rpmspec}`, see [here](#yarn_build). ##### %yarn_common_envvars Sets the NPM evironment variables and Yarn's cache folder. From 7e2228bbd042169fb309282842d02538b0e0842f Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Wed, 28 Jan 2026 19:44:47 -0600 Subject: [PATCH 3/3] clarify webapp build purpose --- content/docs/terra/srpm.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/docs/terra/srpm.mdx b/content/docs/terra/srpm.mdx index 9056c453..22ddc862 100644 --- a/content/docs/terra/srpm.mdx +++ b/content/docs/terra/srpm.mdx @@ -415,7 +415,7 @@ All macros calling the package managers also call NPM environment variables beca #### NPM Macros for using [NPM](https://www.npmjs.com). -For `%npm_build{:rpmspec}`, see [here](#npm_build). +For building webapps with NPM, see [%npm_build](#npm_build). ##### %__npm_log_level Macro that sets the logging level for NPM. Defaults to `error` because NPM logs can fill the terminal quickly. @@ -482,7 +482,7 @@ Expands to: `%{__npm} test{:rpmspec}` #### Bun Macros for using [Bun](https://bun.com). -For `%bun_build{:rpmspec}`, see [here](#bun_build). +For building webapps with Bun, see [%bun_build](#bun_build). ##### %bun_common_envvars Sets the `$BUN_HOME{:bash}` for future use and sets the cache dir. @@ -531,7 +531,7 @@ Expands to: `%{__bun} test{:rpmspec}` #### Deno Macros for using [Deno](https://deno.com). -For `%deno_build{:rpmspec}`, see [here](#deno_build). +For building webapps with Deno, see [%deno_build](#deno_build). ##### %deno_common_envvars Sets the `$DENO_DIR{:bash}`, `$DENO_INSTALL_ROOT{:bash}`, limits `$DENO_JOBS{:bash}` to `${RPM_BUILD_NCPUS}{:bash}`, disables update notifications, and forces color. @@ -575,7 +575,7 @@ Expands to: `%{__deno} test --parallel{:rpmspec}` #### PNPM Macros for using [PNPM](https://pnpm.io). -For `%pnpm_build{:rpmspec}`, see [here](#pnpm_build). +For building webapps with PNPM, see [%pnpm_build](#pnpm_build). ##### %pnpm_common_envvars Sets the NPM environment variables and the PNPM home directory. @@ -638,7 +638,7 @@ Macros for using [Yarn (Yarn Classic/Yarn v1)](https://classic.yarnpkg.com) and You SHOULD use `yarnpkg` (Yarn Classic) unless you need `yarnpkg-berry` (Yarn Berry) specifically. -For `%yarn_build{:rpmspec}`, see [here](#yarn_build). +For building webapps with Yarn, see [%yarn_build](#yarn_build). ##### %yarn_common_envvars Sets the NPM evironment variables and Yarn's cache folder.