Force GIT_REV in Fedora RPM builds

This commit is contained in:
John Maguire 2022-09-01 18:25:03 +01:00
parent a0ae9210dd
commit 3fd467591a
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ Features include:
%build
cd bin
%{cmake} .. -DUSE_INSTALL_PREFIX=OFF -DBUNDLE_PROJECTM_PRESETS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DFORCE_GIT_REVISION=%{version}
%{cmake} .. -DUSE_INSTALL_PREFIX=OFF -DBUNDLE_PROJECTM_PRESETS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DFORCE_GIT_REVISION=@GIT_REV@
%{cmake_build}
%install