mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
[RPM] put the SHA commit in the about dialog for unstable builds
This commit is contained in:
parent
f1dbcc3c53
commit
f85954b304
@ -21,6 +21,7 @@
|
||||
%if %{_timestamp} > 0
|
||||
# Epoch is set only when building packages from master
|
||||
Epoch: %{_timestamp}
|
||||
%define configure_with_sha -D SHA=%(sha=%{_relver}; echo ${sha##git})
|
||||
%define combinedversion %{epoch}:%{version}
|
||||
%define builddate %(date -d @%{_timestamp} '+%a %b %d %Y')
|
||||
%else
|
||||
@ -230,6 +231,7 @@ gzip ChangeLog
|
||||
-D WITH_SERVER:BOOL=TRUE \
|
||||
-D WITH_3D:BOOL=TRUE \
|
||||
-D USE_OPENCL:BOOL=TRUE \
|
||||
%{configure_with_sha} \
|
||||
.
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
Loading…
x
Reference in New Issue
Block a user