Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reformat tables so that they're more readable in plain text #97

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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