Try using %{version} for RPM builds
This commit is contained in:
parent
c1fa38120d
commit
a0ae9210dd
|
@ -97,7 +97,7 @@ Features include:
|
|||
|
||||
%build
|
||||
cd bin
|
||||
%{cmake} .. -DUSE_INSTALL_PREFIX=OFF -DBUNDLE_PROJECTM_PRESETS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
||||
%{cmake} .. -DUSE_INSTALL_PREFIX=OFF -DBUNDLE_PROJECTM_PRESETS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DFORCE_GIT_REVISION=%{version}
|
||||
%{cmake_build}
|
||||
|
||||
%install
|
||||
|
|
Loading…
Reference in New Issue