Use %define instead of %global for defining release_version macro
Fixes an rpmlint error with expanding the macro.
This commit is contained in:
parent
c99872e0fc
commit
2e0c649a66
@ -1,6 +1,6 @@
|
|||||||
%global apiver 1.6
|
%global apiver 1.6
|
||||||
# first two digits of version
|
# first two digits of version
|
||||||
%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
||||||
|
|
||||||
Name: atkmm
|
Name: atkmm
|
||||||
Version: 2.22.2
|
Version: 2.22.2
|
||||||
|
Loading…
Reference in New Issue
Block a user