From 3bea10d3e10de43185eaafa7af5804fed6b0b548 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Aug 24 2023 17:35:46 +0000 Subject: [PATCH 1/2] Fix list formatting It seems that somehow the space after the asterisks was not an ASCII space and this threw off the formatting. --- diff --git a/guidelines/modules/ROOT/pages/index.adoc b/guidelines/modules/ROOT/pages/index.adoc index 06aeaea..2c1de7a 100644 --- a/guidelines/modules/ROOT/pages/index.adoc +++ b/guidelines/modules/ROOT/pages/index.adoc @@ -2134,10 +2134,10 @@ to get some information about the build environment. In order to simplify the dependency graph, spec files should only use the following languages for this purpose: -* Python -* Perl -* Standard programs used in shell programing, for instance gawk or sed -* Lua (as supported by the native lua interpreter in rpm) +* Python +* Perl +* Standard programs used in shell programing, for instance gawk or sed +* Lua (as supported by the native lua interpreter in rpm) Additionally, if your package cannot build without a specific scripting language From 3207b29c1fb2f08f09fe70f085a61518aad073d4 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Aug 24 2023 17:40:41 +0000 Subject: [PATCH 2/2] Properly format some RPM macros. --- diff --git a/guidelines/modules/ROOT/pages/index.adoc b/guidelines/modules/ROOT/pages/index.adoc index 2c1de7a..3638c6a 100644 --- a/guidelines/modules/ROOT/pages/index.adoc +++ b/guidelines/modules/ROOT/pages/index.adoc @@ -2129,7 +2129,8 @@ RPM macro files MUST NOT be marked as `+%config+`. == Scripting Inside of Specfiles Sometimes it is necessary to write a short script (perhaps a one-liner) -that is executed in the %prep, %build, or %install sections of a spec file +that is executed in the +`+%prep+`, `+%build+`, or `+%install+` sections of a spec file to get some information about the build environment. In order to simplify the dependency graph, spec files should only use the following languages for this purpose: