The package rpms/calibre.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/calibre.git/commit/?id=61952b5cc5....
Change:
+%ifarch %{ix86} armv7hl
Thanks.
Full change:
============
commit 61952b5cc5b4f014841208854143d8db5e2b8f96
Author: Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl>
Date: Sun Apr 24 11:28:52 2022 +0200
Skip test that fails on 32 bit
======================================================================
ERROR: test_dom_load
(calibre.scraper.simple.find_tests.<locals>.TestSimpleWebEngineScraper)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/calibre-5.41.0/src/calibre/scraper/simple.py",
line 154, in test_dom_load
html = overseer.fetch_url(url, 'test')
File "/builddir/build/BUILD/calibre-5.41.0/src/calibre/scraper/simple.py",
line 86, in fetch_url
raise ValueError(output['err'])
ValueError: Failed to load HTML from:
file:///builddir/build/BUILD/calibre-5.41.0/resources/templates/new_book.html
----------------------------------------------------------------------
(cherry picked from commit 6738fe68ff08c145c757f71cbd87fdb6a3949fd6)
diff --git a/calibre.spec b/calibre.spec
index 3a6d0bb..9087d26 100644
--- a/calibre.spec
+++ b/calibre.spec
@@ -297,21 +297,20 @@ rm -f
%{buildroot}/%{_datadir}/metainfo/calibre-ebook-viewer.appdata.xml
#mv %%{buildroot}%%{_datadir}/calibre/mathjax
%%{buildroot}%%{_datadir}/calibre/mathjax-fedora
%check
-# skip failing tests:
-# - unrar (missing dependencies)
-# - bonjour (problems in mock)
-# - 7z (missing dependencies)
-# - qt (fails on 32-bit architectures only)
-# - test_searching (python3 porting issue?)
-CALIBRE_PY3_PORT=1 \
-%{__python3} setup.py test \
- --exclude-test-name unrar \
- --exclude-test-name bonjour \
- --exclude-test-name 7z \
- --exclude-test-name test_searching \
-%ifarch i686 armv7hl x86_64
- --exclude-test-name qt
+TEST_ARGS=(
+ # skip failing tests:
+ --exclude-test-name unrar # missing dependencies
+ --exclude-test-name bonjour # problems in mock
+ --exclude-test-name 7z # missing dependencies
+ --exclude-test-name test_searching # python3 porting issue?
+%ifarch %{ix86} armv7hl
+ --exclude-test-name qt # fails on 32-bit architectures only
+ --exclude-test-name test_dom_load
%endif
+)
+
+CALIBRE_PY3_PORT=1 \
+%python3 setup.py test "${TEST_ARGS[@]}"
appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/metainfo/calibre-gui.metainfo.xml