Compare commits

..

No commits in common. "rawhide" and "f41" have entirely different histories.

2 changed files with 5 additions and 6 deletions

View file

@ -1,5 +1,5 @@
Name: PyMca
Version: 5.9.4
Version: 5.9.3
Release: %autorelease
Summary: X-ray Fluorescence Toolkit
License: GPL-2.0-or-later
@ -61,7 +61,8 @@ This package contains photon interaction data/elements data for %{name}.
%prep
%autosetup -p1 -n pymca-%{version}
sed -r -i 's|(os.path.join.")(PyMca5")|\1src/\2|' setup.py
# Fix wrong shebang of pymcapostbatch.
sed -i "s|!python|!%python3|g" PyMca5/scripts/pymcapostbatch
%build
# Need to define manually. Note using pkg-config to export the cflags
@ -79,8 +80,6 @@ PYMCA_DATA_DIR=/usr/share/PyMca \
PYMCA_DOC_DIR=/usr/share/doc/PyMca \
%py3_install
cp -ap src/PyMca5/PyMcaData/attdata/* %{buildroot}%{_datadir}/PyMca/attdata/
# Install desktop file.
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{S:1}
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{S:2}
@ -194,7 +193,7 @@ PYMCA_DATA_DIR=%{buildroot}/usr/share/PyMca \
PYMCA_DOC_DIR=%{buildroot}/usr/share/doc/PyMca \
QT_QPA_PLATFORM=offscreen \
LC_ALL=pl_PL.utf8 \
%python3 src/PyMca5/tests/TestAll.py
%python3 PyMca5/tests/TestAll.py
# Test results are ingored. In F34 rawhide mock:
# ERROR: testHdf5Uri (ConfigDictTest.testConfigDict)

View file

@ -1 +1 @@
SHA512 (pymca-5.9.4-filtered.tar.xz) = 08304ccfda672aa7fe9075eb72a17d5a12c72924c15546c0706435970d754e8dcf75870bdac99509a52d539e5f6d8cc42131bae823d9c0cbda688e4b5dfa39f4
SHA512 (pymca-5.9.3-filtered.tar.xz) = 5dc298a47a5e6591f805c4e892fe1c175b3e76b6591217b405acf92ebbce5107c6a69da7ac0d3039ad963b1adce1d421893efcf9b0c783c140a32c09e61156f3