Skip to content
Permalink
Browse files

[RPM] put the SHA commit in the about dialog for unstable builds

  • Loading branch information
daniviga committed Apr 7, 2019
1 parent f1dbcc3 commit f85954b304ef8b7358b67e2242a64dcf358d1fb9
Showing with 2 additions and 0 deletions.
  1. +2 −0 rpm/qgis.spec.template
@@ -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}

0 comments on commit f85954b

Please sign in to comment.
You can’t perform that action at this time.