From 53ff177fdf9c8dd42ec6fc2b259df1ae081a3463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 1 Dec 2021 10:22:27 +0100 Subject: [PATCH] Adjust dependencies and environment so that tests pass --- PyMca.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/PyMca.spec b/PyMca.spec index 6de789f..01c7e56 100644 --- a/PyMca.spec +++ b/PyMca.spec @@ -28,13 +28,15 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: %py3_dist cython BuildRequires: %py3_dist numpy -BuildRequires: %py3_dist matplotlib +BuildRequires: %py3_dist h5py BuildRequires: %py3_dist pyqt5 BuildRequires: %py3_dist fisx +BuildRequires: %py3_dist matplotlib +BuildRequires: python3-matplotlib-qt5 BuildRequires: mesa-libGL-devel BuildRequires: mesa-libGLU-devel BuildRequires: qhull-devel -BuildRequires: %py3_dist h5py +BuildRequires: glibc-langpack-pl Requires: hicolor-icon-theme Requires: %{name}-data = %{version}-%{release} @@ -196,7 +198,8 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ PYMCA_DATA_DIR=%{buildroot}/usr/share/PyMca \ PYMCA_DOC_DIR=%{buildroot}/usr/share/doc/PyMca \ QT_QPA_PLATFORM=offscreen \ -%{__python3} PyMca5/tests/TestAll.py || : +LC_ALL=pl_PL.utf8 \ +%{__python3} PyMca5/tests/TestAll.py # Test results are ingored. In F34 rawhide mock: # ERROR: testHdf5Uri (ConfigDictTest.testConfigDict)