Skip to content

Commit

Permalink
rpm: fix pulseaudio version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Oct 4, 2022
1 parent a3313a4 commit 62609b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm_spec/gui-agent.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ URL: http://www.qubes-os.org
%define pa_ver_full %((pkg-config --modversion libpulse 2>/dev/null || echo 0.0) | cut -d "-" -f 1)
%define pa_ver_major_minor %((pkg-config --modversion libpulse 2>/dev/null || echo 0.0) | cut -d "-" -f 1 | cut -d "." -f 1,2)
%define pa_ver_major %(echo %{pa_ver_major_minor} | cut -d "." -f 1)
%define pa_module_dir %(if [ $(PA_VER_MAJOR) -ge 16 ]; then echo pulseaudio; else echo pulse-%{pa_ver_major_minor}; fi)
%define pa_module_dir %(if [ %{pa_ver_major} -ge 16 ]; then echo pulseaudio; else echo pulse-%{pa_ver_major_minor}; fi)

BuildRequires: gcc
BuildRequires: libX11-devel
Expand Down

0 comments on commit 62609b5

Please sign in to comment.