The package rpms/0ad.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/0ad.git/commit/?id=cd4731b8f750f3....
Change:
-%ifnarch %{ix86} aarch64 ppc64le
Thanks.
Full change:
============
commit cd4731b8f750f3151441c7a0c3aaf1a3a0b6130c
Author: Kalev Lember <klember(a)redhat.com>
Date: Sat Oct 1 20:04:35 2022 +0200
Re-enable self tests for all arches
They seem to pass just fine now.
diff --git a/0ad.spec b/0ad.spec
index 0a6c15c..a47265c 100644
--- a/0ad.spec
+++ b/0ad.spec
@@ -248,13 +248,10 @@ export STRIP=/bin/true
#-----------------------------------------------------------------------
%check
-# XXX FIXME segfaults in one of the i686 tests
-%ifnarch %{ix86} aarch64 ppc64le
# Depends on availablity of nvtt
%if %{with nvtt}
LD_LIBRARY_PATH=binaries/system binaries/system/test%{dbg} -libdir binaries/system
%endif
-%endif
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/0ad.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/0ad.desktop
@@ -276,6 +273,7 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/0ad.desktop
%changelog
* Sat Oct 01 2022 Kalev Lember <klember(a)redhat.com> - 0.0.26-3
- Fix a self test failure when building under systemd-nspawn based mock
+- Re-enable self tests for all arches
* Fri Sep 30 2022 Kalev Lember <klember(a)redhat.com> - 0.0.26-2
- Fix FTBFS with Python 3.11 and setuptools 60+ in F37 (#2045149)
commit a9c3b8c215b7e1f6096d9533f5051e4c1fa63460
Author: Kalev Lember <klember(a)redhat.com>
Date: Sat Oct 1 15:15:48 2022 +0200
Fix a self test failure when building under systemd-nspawn based mock
https://code.wildfiregames.com/D4792
diff --git a/0ad-check.patch b/0ad-check.patch
index 9a02607..cc365cb 100644
--- a/0ad-check.patch
+++ b/0ad-check.patch
@@ -13,3 +13,14 @@ diff -up source/gui/tests/test_CGUIText.h.orig
source/gui/tests/test_CGUIText.h
TS_ASSERT_OK(g_VFS->Mount(L"", DataDir() / "mods" /
"mod" / "", VFS_MOUNT_MUST_EXIST));
CGUI gui(g_ScriptContext);
+--- source/network/tests/test_StunClient.h
++++ source/network/tests/test_StunClient.h
+@@ -42,7 +42,7 @@
+ CStr ip;
+ TS_ASSERT(StunClient::FindLocalIP(ip));
+ // Quick validation that this looks like a valid IP address.
+- if (ip.size() < 8 || ip.size() > 15)
++ if (ip.size() < 7 || ip.size() > 15)
+ {
+ TS_FAIL("StunClient::FindLocalIP did not return a valid IPV4 address: wrong
size");
+ return;
diff --git a/0ad.spec b/0ad.spec
index ab0d38c..0a6c15c 100644
--- a/0ad.spec
+++ b/0ad.spec
@@ -27,7 +27,7 @@
Name: 0ad
Version: 0.0.26
-Release: 2%{?dist}
+Release: 3%{?dist}
# BSD License:
# build/premake/*
# libraries/source/miniupnpc/* (not built/used)
@@ -274,6 +274,9 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/0ad.desktop
%{_mandir}/man6/*.6*
%changelog
+* Sat Oct 01 2022 Kalev Lember <klember(a)redhat.com> - 0.0.26-3
+- Fix a self test failure when building under systemd-nspawn based mock
+
* Fri Sep 30 2022 Kalev Lember <klember(a)redhat.com> - 0.0.26-2
- Fix FTBFS with Python 3.11 and setuptools 60+ in F37 (#2045149)