Skip to content

Commit

Permalink
[RPM] put the SHA commit in the about dialog for unstable builds
Browse files Browse the repository at this point in the history
  • Loading branch information
daniviga committed Apr 7, 2019
1 parent f1dbcc3 commit f85954b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpm/qgis.spec.template
Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit f85954b

Please sign in to comment.