[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
This commit is contained in:
parent
92973eb3c4
commit
111a259568
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user