From d28f520dbfcd2c8d76861a50829354606097e976 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 13 Dec 2022 11:48:44 -0800 Subject: [PATCH] os_release: drop a now-unneeded > 34 conditional Signed-off-by: Adam Williamson --- tests/os_release.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/os_release.pm b/tests/os_release.pm index 5968164b..63816225 100644 --- a/tests/os_release.pm +++ b/tests/os_release.pm @@ -60,9 +60,7 @@ sub run { $cannedtag = (split /-/, $build)[-1]; } my $name = ucfirst($id); - # from F35 onwards, $NAME is "Fedora Linux" not just "Fedora" - my $relnum = get_release_number; - my $fullname = $relnum > 34 ? $name . " Linux" : $name; + my $fullname = $name . " Linux"; my $rawrel = get_var("RAWREL", ''); # Should be the version number or Rawhide. my $version_id = get_var("VERSION");