summaryrefslogtreecommitdiffstats
path: root/redhat/applications/settings/tde-guidance/tde-guidance.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/settings/tde-guidance/tde-guidance.spec')
-rw-r--r--redhat/applications/settings/tde-guidance/tde-guidance.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/redhat/applications/settings/tde-guidance/tde-guidance.spec b/redhat/applications/settings/tde-guidance/tde-guidance.spec
index c743098c2..c9962b718 100644
--- a/redhat/applications/settings/tde-guidance/tde-guidance.spec
+++ b/redhat/applications/settings/tde-guidance/tde-guidance.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.1.0
+%define tde_version 14.1.1
%endif
%define tde_pkg tde-guidance
%define tde_prefix /opt/trinity
@@ -377,6 +377,11 @@ if [ -d /usr/X11R6 ]; then
%__sed -i "setup.py" -e "s|/usr/X11R6/lib|/usr/X11R6/%{_lib}|g"
fi
+# FIXME: ordinal not in range in rhel7
+%if 0%{?rhel} == 7
+export LC_ALL=en_US.UTF-8
+%endif
+
%__python ./setup.py build
@@ -393,6 +398,11 @@ export PYTHONPATH="%{python_sitearch}/sip4_tqt:${PYTHONPATH}"
# For Mageia/Mandriva: Avoids 'error: byte-compiling must be disabled.
export PYTHONDONTWRITEBYTECODE=
+# FIXME: ordinal not in range in rhel7
+%if 0%{?rhel} == 7
+export LC_ALL=en_US.UTF-8
+%endif
+
%__rm -rf %{buildroot}
%__python ./setup.py install \
--prefix=%{tde_prefix} \