docs icon indicating copy to clipboard operation
docs copied to clipboard

Use $releasever over RPM macro in repository configuration on RHEL

Open SteenSchutt opened this issue 6 months ago • 1 comments

Description

While it's not really a big deal, RHEL has the $releasever variable with contains the major release of the operating system. Using this instead of inserting the version at file creation time makes it slightly more portable when migrating between OS versions, and it also aligns with the use of $basearch in the very same line :)

Links

Fixes my minor nitpick

Writing help

For information about style and word usage, see the Contribution guide

Review checklists

Reviewers: use this section to ensure you have checked everything before approving this PR:

Subject matter expert (SME) review checklist

  • [ ] Is the content technically accurate?
  • [ ] Is the content complete?
  • [ ] Is the content presented in a logical order?
  • [ ] Does the content use appropriate names for features and products?
  • [ ] Does the content provide relevant links to further information?

Documentation team review checklist

  • [ ] Is the content free from typos?
  • [ ] Does the content use plain English?
  • [ ] Does the content contain clear sections for concepts, tasks, and references?
  • [ ] Have any images been uploaded to the correct location, and are resolvable?
  • [ ] If the page index was updated, are redirects required and have they been implemented?
  • [ ] Have you checked the built version of this content?

SteenSchutt avatar Jul 12 '25 10:07 SteenSchutt