diff --git a/rpmbuild/xpra.spec b/rpmbuild/xpra.spec index ce3c0fa43f..4f57ca6a62 100644 --- a/rpmbuild/xpra.spec +++ b/rpmbuild/xpra.spec @@ -32,7 +32,7 @@ %define with_python3 1 %define libwebp libwebp -%define libvpx libvpx +%define libvpx libvpx-xpra %define run_tests 1 # any centos / rhel supported: @@ -55,7 +55,6 @@ Patch0: centos-ignore-invalid-gcc-warning.patch #can't run the tests with python 2.6 which is too old: %define run_tests 0 #distro version is too old replace with our private libraries -%define libvpx libvpx-xpra %define libwebp libwebp-xpra #no pycups available in repos: %define requires_printing %{nil} @@ -77,7 +76,10 @@ Patch0: centos-ignore-invalid-gcc-warning.patch #note: probably not working since we don't have gtkglext for Python3? %define py3requires_opengl , python3-PyOpenGL, numpy %endif - +%if 0%{?fedora}>=23 +#Fedora 23 has libvpx 1.4, no need for our own libvpx-xpra packages: +%define libvpx libvpx +%endif Name: xpra Version: %{version}