From 111a259568b425474c90ee85b5ec328f143b879f Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Thu, 10 Apr 2025 11:15:44 +0200 Subject: [PATCH] [enhancement] Use %global instead of %define The other occurences are functions that are called with various arguments through the SPECfile. I tried to replace them too, but the resulting logic did not expanded correcly and resulted in various FTI issues. Related: RHEL-87738 --- mysql8.4.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql8.4.spec b/mysql8.4.spec index 95dce9e..1949c22 100644 --- a/mysql8.4.spec +++ b/mysql8.4.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} # Name of the package without any prefixes %global majorname mysql %global package_version 8.4.4 -%define majorversion %(echo %{package_version} | cut -d'.' -f1-2 ) +%global majorversion %(echo %{package_version} | cut -d'.' -f1-2 ) %global pkgnamepatch mysql