Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
008c8782d3 | ||
|
|
778704d8cd | ||
|
|
c6846466f8 | ||
|
|
5fd2aee5f1 | ||
|
|
ece44cc2ed | ||
|
|
949d844525 | ||
|
|
41b5084498 |
2 changed files with 6 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
Name: PyMca
|
Name: PyMca
|
||||||
Version: 5.9.3
|
Version: 5.9.4
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: X-ray Fluorescence Toolkit
|
Summary: X-ray Fluorescence Toolkit
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
|
|
@ -61,8 +61,7 @@ This package contains photon interaction data/elements data for %{name}.
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n pymca-%{version}
|
%autosetup -p1 -n pymca-%{version}
|
||||||
|
|
||||||
# Fix wrong shebang of pymcapostbatch.
|
sed -r -i 's|(os.path.join.")(PyMca5")|\1src/\2|' setup.py
|
||||||
sed -i "s|!python|!%python3|g" PyMca5/scripts/pymcapostbatch
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Need to define manually. Note using pkg-config to export the cflags
|
# Need to define manually. Note using pkg-config to export the cflags
|
||||||
|
|
@ -80,6 +79,8 @@ PYMCA_DATA_DIR=/usr/share/PyMca \
|
||||||
PYMCA_DOC_DIR=/usr/share/doc/PyMca \
|
PYMCA_DOC_DIR=/usr/share/doc/PyMca \
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
cp -ap src/PyMca5/PyMcaData/attdata/* %{buildroot}%{_datadir}/PyMca/attdata/
|
||||||
|
|
||||||
# Install desktop file.
|
# Install desktop file.
|
||||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{S:1}
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{S:1}
|
||||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{S:2}
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{S:2}
|
||||||
|
|
@ -193,7 +194,7 @@ PYMCA_DATA_DIR=%{buildroot}/usr/share/PyMca \
|
||||||
PYMCA_DOC_DIR=%{buildroot}/usr/share/doc/PyMca \
|
PYMCA_DOC_DIR=%{buildroot}/usr/share/doc/PyMca \
|
||||||
QT_QPA_PLATFORM=offscreen \
|
QT_QPA_PLATFORM=offscreen \
|
||||||
LC_ALL=pl_PL.utf8 \
|
LC_ALL=pl_PL.utf8 \
|
||||||
%python3 PyMca5/tests/TestAll.py
|
%python3 src/PyMca5/tests/TestAll.py
|
||||||
|
|
||||||
# Test results are ingored. In F34 rawhide mock:
|
# Test results are ingored. In F34 rawhide mock:
|
||||||
# ERROR: testHdf5Uri (ConfigDictTest.testConfigDict)
|
# ERROR: testHdf5Uri (ConfigDictTest.testConfigDict)
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (pymca-5.9.3-filtered.tar.xz) = 5dc298a47a5e6591f805c4e892fe1c175b3e76b6591217b405acf92ebbce5107c6a69da7ac0d3039ad963b1adce1d421893efcf9b0c783c140a32c09e61156f3
|
SHA512 (pymca-5.9.4-filtered.tar.xz) = 08304ccfda672aa7fe9075eb72a17d5a12c72924c15546c0706435970d754e8dcf75870bdac99509a52d539e5f6d8cc42131bae823d9c0cbda688e4b5dfa39f4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue