commit 63164cc92fd47e242b404e4e528dfdb271b0d9b0
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Thu Feb 22 21:10:08 2018 +0100
Disable Werror=deprecated-declarations on fedora > 27
xpra-codecs-freeworld.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/xpra-codecs-freeworld.spec b/xpra-codecs-freeworld.spec
index 94f27eb..e66bde5 100644
--- a/xpra-codecs-freeworld.spec
+++ b/xpra-codecs-freeworld.spec
@@ -61,7 +61,11 @@ x264 and ffmpeg.
%endif
%build
+%if 0%{?fedora} > 27
+CFLAGS="%{optflags} -Wno-error=deprecated-declarations" %{__python2} setup.py
build --executable="%{__python2} -s" \
+%else
CFLAGS="%{optflags}" %{__python2} setup.py build
--executable="%{__python2} -s" \
+%endif
%{?_with_enc_x264} \
%{?_with_dec_avcodec2} \
%{?_with_csc_swscale} \
@@ -111,10 +115,11 @@ find %{buildroot}%{python2_sitearch}/xpra -name '*.so' \
%license COPYING
%changelog
-* Fri Feb 09 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 2.2.4-2
+* Thu Feb 22 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 2.2.4-2
- Fix ?_isa macro
- Add gcc BR
- Use python2-Cython BR
+- Disable Werror=deprecated-declarations on fedora > 27
* Fri Feb 09 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 2.2.4-1
- Update to 2.2.4