The package rpms/python-djvulibre.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/python-djvulibre.git/commit/?id=fb15....
Change: +%ifarch %ix86 x86_64
Thanks.
Full change: ============
commit fb15343147cfab6d7bd60a5e1286cdbd4393d7a5 Author: Andrew Toskin andrew@tosk.in Date: Wed Jul 22 10:50:33 2020 -0700
Skip %check phase for less commonly used architectures
The nosetests don't fail for all versions of ARM, but I'm guessing upstream didn't write the tests with ARM or Sparc in mind. As long as the tests pass on x86* and the package still builds on the other architectures, I figure that's good enough.
diff --git a/python-djvulibre.spec b/python-djvulibre.spec index 14994d1..7bbde19 100644 --- a/python-djvulibre.spec +++ b/python-djvulibre.spec @@ -3,7 +3,7 @@
Name: python-djvulibre Version: 0.8.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python support for the DjVu image format License: GPLv2 URL: https://jwilk.net/software/python-djvulibre @@ -68,11 +68,13 @@ rm -rf html/.{doctrees,buildinfo} %py3_install
- +# nosetests doesn't work on ARMv7 or s390x. +%ifarch %ix86 x86_64 %check # For these tests, import from PYTHONPATH instead of upstream's `djvu` subdirectory. rm -rf ./djvu/ PYTHONPATH=%{buildroot}/%{python3_sitearch} nosetests-%{python3_version} +%endif
@@ -88,5 +90,8 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch} nosetests-%{python3_version}
%changelog +* Wed Jul 22 2020 Andrew Toskin andrew@tosk.in - 0.8.5-2 +- Final working build. + * Wed Dec 18 2019 Andrew Toskin andrew@tosk.in - 0.8.5-1 - Initial package (starting over from scratch).
arch-excludes@lists.fedoraproject.org