Fix FTBFS.

This commit is contained in:
Gwyn Ciesla 2017-06-22 08:44:32 -05:00
parent 04e0161200
commit 20d0c572c8

View File

@ -22,7 +22,7 @@
Name: brltty Name: brltty
Version: %{pkg_version} Version: %{pkg_version}
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://mielke.cc/brltty/ URL: http://mielke.cc/brltty/
@ -233,6 +233,8 @@ configure_opts=" \
JAVA_JNI_DIR=%{_libdir}/brltty \ JAVA_JNI_DIR=%{_libdir}/brltty \
JAVA_JNI=yes" JAVA_JNI=yes"
export PYTHONCOERCECLOCALE=0
# First build everything with Python 2 support # First build everything with Python 2 support
%configure $configure_opts PYTHON=%{__python2} %configure $configure_opts PYTHON=%{__python2}
# Parallel build seems broken, thus disabling it # Parallel build seems broken, thus disabling it
@ -351,6 +353,10 @@ fi
%endif %endif
%doc LICENSE-GPL LICENSE-LGPL %doc LICENSE-GPL LICENSE-LGPL
%doc %{_mandir}/man[15]/brltty.* %doc %{_mandir}/man[15]/brltty.*
%{_sysconfdir}/X11/Xsession.d/60xbrlapi
%{_datadir}/metainfo/org.a11y.brltty.metainfo.xml
%{_datadir}/polkit-1/actions/org.a11y.brlapi.policy
%if %{with_speech_dispatcher} %if %{with_speech_dispatcher}
%files speech-dispatcher %files speech-dispatcher
@ -417,6 +423,9 @@ fi
%endif %endif
%changelog %changelog
* Thu Jun 22 2017 Gwyn Ciesla <limburgher@gmail.com> - 5.5-3
- Fix Python-related FTBFS.
* Fri May 12 2017 Richard W.M. Jones <rjones@redhat.com> - 5.5-2 * Fri May 12 2017 Richard W.M. Jones <rjones@redhat.com> - 5.5-2
- OCaml 4.04.1 rebuild. - OCaml 4.04.1 rebuild.