Conversation
Signed-off-by: Owen-sz <owen@fyralabs.com>
Deploying devdocs with
|
| Latest commit: |
8513ba6
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e16d904e.devdocs-next.pages.dev |
| Branch Preview URL: | https://owen-expand-rpm.devdocs-next.pages.dev |
Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen-sz <owen@fyralabs.com>
|
Sections page is pretty much done. Working on macros now |
|
|
||
| ### `%description [-n]<name>` | ||
| Used to define a description for a subpackage. | ||
| Requires if `%package` is used. |
There was a problem hiding this comment.
Yeah, I think this should be refactored to explain the behavior when %package is used. I would also very much suggest making the header -n <name> as that is the format you would usually see for subpackages.
There was a problem hiding this comment.
There is supposed to be a distinction here between %description and %description [-n]<name>
I can reword this one better though
|
|
||
| ##### `%_smp_build_ncpus` [#_smp_build_ncpus] | ||
|
|
||
| Expands to the output of `nproc` (the build host's thread count) |
There was a problem hiding this comment.
This is the default behavior, but only because %{__smp_use_cpus} uses this if no other argument is passed to the macro. You can actually use this macro, or preferrably %{_smp_ncpus_max}, to give a different amount of CPUs available to the build, which will also affect $RPM_BUILD_NCPUS.
| Used to define a description for a subpackage. | ||
| Requires if `%package` is used. | ||
|
|
||
| The `-n` and `<name>` options work the same, however if not defined this will refer to the main package. |
There was a problem hiding this comment.
They don't work the same by this very description, though?
Signed-off-by: Owen-sz <owen@fyralabs.com>
|
The most recent commit is super WIP but looking for feedback on how to best implement what I'm trying to do here, plus I'm tired |
WIP, starting with sections page