Skip to content

Commit

Permalink
Reformat tables so that they're more readable in plain text
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalluck committed Apr 17, 2024
1 parent 1bee59e commit 300b837
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions src/site/markdown/deps.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ Or using text operators in order to avoid XML escaping:
other-package ge 1.0 <!-- same as &gt;= -->
</dependency>

| Operator | XML | Text alias | Description |
| --- | --- | --- | --- |
| = | `=` | `eq` | Equal |
| < | `&lt;` | `lt` | Less than |
| > | `&gt;` | `gt` | Greater than |
| <= | `&lt;=` | `le` | Less than or equal |
| >= | `&gt;=` | `ge` | Greater than or equal |
| Operator | XML | Text alias | Description |
|----------|---------|------------|-----------------------|
| = | `=` | `eq` | Equal |
| < | `&lt;` | `lt` | Less than |
| > | `&gt;` | `gt` | Greater than |
| <= | `&lt;=` | `le` | Less than or equal |
| >= | `&gt;=` | `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_!

Expand Down
16 changes: 8 additions & 8 deletions src/site/markdown/scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | `<beforeTransaction>` | `%pretrans` | Run before the transaction |
| Before Installation | `<beforeInstallation>` | `%pre` | Run before the installation of the package |
| After Installation | `<afterInstallation>` | `%post` | Run after the installation of the package |
| Before Removal | `<beforeRemoval>` | `%preun` | Run before the removal of the package |
| After Removal | `<afterRemoval>` | `%postun` | Run after the removal of the package |
| After Transaction | `<afterTransaction>` | `%posttrans ` | Run after the transaction |
| Type | Tag | Spec Name | Description |
|---------------------|------------------------|---------------|--------------------------------------------|
| Before Transaction | `<beforeTransaction>` | `%pretrans` | Run before the transaction |
| Before Installation | `<beforeInstallation>` | `%pre` | Run before the installation of the package |
| After Installation | `<afterInstallation>` | `%post` | Run after the installation of the package |
| Before Removal | `<beforeRemoval>` | `%preun` | Run before the removal of the package |
| After Removal | `<afterRemoval>` | `%postun` | Run after the removal of the package |
| After Transaction | `<afterTransaction>` | `%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
Expand Down

0 comments on commit 300b837

Please sign in to comment.