Skip to content

Commit

Permalink
the build script may give us a 'xpra_revision_no' value
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 11, 2021
1 parent 5ab33d6 commit d03ead0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packaging/rpm/xpra.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@ echo CentOS 7.x is no longer supported
exit 1
%endif

%if ! 0%{?revision_no}
%if 0%(echo $XPRA_REVISION)
%define revision_no 10.r%(echo $XPRA_REVISION)
%if 0%{?xpra_revision_no}
%define revision_no 10.r%{xpra_revision_no}
%else
%define revision_no 10
%endif
%endif

Name: xpra
Version: %{version}
Expand Down

0 comments on commit d03ead0

Please sign in to comment.