From c60dd1b16372b1367d9ddaa56f165c47d9df5811 Mon Sep 17 00:00:00 2001 From: David Walluck Date: Wed, 17 Apr 2024 16:25:45 -0400 Subject: [PATCH] Reformat tables so that they're more readable in plain text (#97) --- src/site/markdown/deps.md | 14 +++++++------- src/site/markdown/scripts.md | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/site/markdown/deps.md b/src/site/markdown/deps.md index ecdefd4..769f557 100644 --- a/src/site/markdown/deps.md +++ b/src/site/markdown/deps.md @@ -64,13 +64,13 @@ Or using text operators in order to avoid XML escaping: other-package ge 1.0 -| Operator | XML | Text alias | Description | -| --- | --- | --- | --- | -| = | `=` | `eq` | Equal | -| < | `<` | `lt` | Less than | -| > | `>` | `gt` | Greater than | -| <= | `<=` | `le` | Less than or equal | -| >= | `>=` | `ge` | Greater than or equal | +| Operator | XML | Text alias | Description | +|----------|---------|------------|-----------------------| +| = | `=` | `eq` | Equal | +| < | `<` | `lt` | Less than | +| > | `>` | `gt` | Greater than | +| <= | `<=` | `le` | Less than or equal | +| >= | `>=` | `ge` | Greater than or equal | **Note:** The whitespaces between the name and the operate are required. In other words `foo >= 1.0` works, while `foo>=1.0` _does not_! diff --git a/src/site/markdown/scripts.md b/src/site/markdown/scripts.md index 5a8717c..802f77a 100644 --- a/src/site/markdown/scripts.md +++ b/src/site/markdown/scripts.md @@ -10,14 +10,14 @@ Also see The RPM builder current does support the following script types of RPM: -| Type | Tag | Spec Name | Description | -| ----- | ----- | ---------------- | ------------- | -| Before Transaction | `` | `%pretrans` | Run before the transaction | -| Before Installation | `` | `%pre` | Run before the installation of the package | -| After Installation | `` | `%post` | Run after the installation of the package | -| Before Removal | `` | `%preun` | Run before the removal of the package | -| After Removal | `` | `%postun` | Run after the removal of the package | -| After Transaction | `` | `%posttrans ` | Run after the transaction | +| Type | Tag | Spec Name | Description | +|---------------------|------------------------|---------------|--------------------------------------------| +| Before Transaction | `` | `%pretrans` | Run before the transaction | +| Before Installation | `` | `%pre` | Run before the installation of the package | +| After Installation | `` | `%post` | Run after the installation of the package | +| Before Removal | `` | `%preun` | Run before the removal of the package | +| After Removal | `` | `%postun` | Run after the removal of the package | +| After Transaction | `` | `%posttrans ` | Run after the transaction | Please note that RPM has a few things you might not expected from your scripts. For example is it possible to have multiple RPMs with the same package name, but different versions, installed. This will