From b4565a483ca0760c9339b5e873f071c849e9ff33 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Tue, 30 Nov 2021 12:31:12 -0700 Subject: [PATCH] rllh readme and release --- README.md | 15 +++++++++++++++ SPECS/rocky-release.spec | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 31f791d..749edf9 100644 --- a/README.md +++ b/README.md @@ -1 +1,16 @@ Release package - All PR's should be against original/rpms/rocky-release + +## Notes for Packagers/Builders + +This package produces both stable packages of `rocky-release` +(`rocky-release`, `rocky-repos`, `rocky-gpg-keys`) as well as `rocky-release-lookahead` +(all packages appended with `-lookahead`). By default, it only produces the +"stable" version of the packages. + +When building the package, the `rllh` macro can define the behavior of the +build: + +* If `rllh` is set to `0` or is undefined, the stable packages are built +* If `rllh` is set to a number higher than 0, the lookahead packages are built + +The `rllh` macro may be versioned out for future use. diff --git a/SPECS/rocky-release.spec b/SPECS/rocky-release.spec index 02b3b40..9e6bb6f 100644 --- a/SPECS/rocky-release.spec +++ b/SPECS/rocky-release.spec @@ -16,7 +16,7 @@ %define distro_code Blue Onyx %define major 9 %define minor 0 -%define rocky_rel 1.%{!?rllh:0} +%define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.0} %define rpm_license BSD-3-Clause %define contentdir pub/rocky