Use %define instead of %global for defining release_version macro

Fixes an rpmlint error with expanding the macro.
This commit is contained in:
Kalev Lember 2011-03-01 15:57:29 +02:00
parent c99872e0fc
commit 2e0c649a66

View File

@ -1,6 +1,6 @@
%global apiver 1.6
# 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
Version: 2.22.2