Skip to content

Commit

Permalink
revision not detected unless we ignore all spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed May 23, 2024
1 parent 299ccfe commit 767a66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/rpm/xpra.spec
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Packager: Antoine Martin <[email protected]>
Vendor: https://xpra.org/
Source: https://xpra.org/src/xpra-%{version}.tar.xz
#grab the full revision number from the source archive's src_info.py file:
%define revision_no %(tar -OJxf %{SOURCE0} xpra-%{version}/xpra/src_info.py | grep -e "^REVISION=" | awk -F= '{print ".r"$2}' 2> /dev/null)
%define revision_no %(tar -OJxf %{SOURCE0} xpra-%{version}/xpra/src_info.py | sed 's/ //g' | grep -e "^REVISION=" | awk -F= '{print ".r"$2}' 2> /dev/null)
%{!?nvidia_codecs: %define nvidia_codecs %(pkg-config --exists cuda && echo 1)}
#Fedora 38+ cannot build the cuda kernels:
%if 0%{?fedora}>=38
Expand Down

0 comments on commit 767a66a

Please sign in to comment.