9.0 release fixes #105

Merged
akatch merged 47 commits from 9.0_release_fixes into develop 2022-08-11 14:17:29 +00:00
Showing only changes of commit 33e96cdeea - Show all commits

View File

@ -43,6 +43,9 @@ sub run {
my $ver_major = substr($version_id, 0, index($version_id, q/./)); my $ver_major = substr($version_id, 0, index($version_id, q/./));
my $ver_minor = substr($version_id, index($version_id, q/./), length($version_id)); my $ver_minor = substr($version_id, index($version_id, q/./), length($version_id));
my $target = lc($ver_major); my $target = lc($ver_major);
if ( $ver_major = '9' ) {
$target = lc($version_id);
}
my $reltag = script_output 'rpm -q rocky-release --qf "%{RELEASE}\n"'; my $reltag = script_output 'rpm -q rocky-release --qf "%{RELEASE}\n"';
my $relver = substr($reltag, 0, rindex($reltag, q/./)); my $relver = substr($reltag, 0, rindex($reltag, q/./));
@ -79,6 +82,10 @@ sub run {
# Test for Rocky Support Product # Test for Rocky Support Product
$strip = strip_marks($content{'ROCKY_SUPPORT_PRODUCT'}); $strip = strip_marks($content{'ROCKY_SUPPORT_PRODUCT'});
if ( $ver_major = '9' ) {
$fullname = qq/$fullname $ver_major/;
$fullname =~ s/ /-/g;
}
rec_log "ROCKY_SUPPORT_PRODUCT should be $fullname and is $strip", $strip eq $fullname, $failref; rec_log "ROCKY_SUPPORT_PRODUCT should be $fullname and is $strip", $strip eq $fullname, $failref;
# Test for Rocky Support Product Version # Test for Rocky Support Product Version