Skip to content

Commit

Permalink
Merge pull request #9740 from daniviga/rpm-sha
Browse files Browse the repository at this point in the history
[RPM] put the SHA commit in the about dialog for unstable builds
  • Loading branch information
m-kuhn committed Apr 7, 2019
2 parents 9464105 + f85954b commit ea4ea1f
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 ea4ea1f

Please sign in to comment.