The package rpms/matreshka.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/matreshka.git/commit/?id=a2a8da18....
Change:
-%ifnarch ppc64le
Thanks.
Full change:
============
commit a2a8da181fd4f1b8a5a84d7d6f87c75e6ace6751
Author: Pavel Zhukov <pavel(a)zhukoff.net>
Date: Wed Dec 9 14:33:50 2020 +0100
Rebuild with new libgnat
diff --git a/matreshka-gcc11.patch b/matreshka-gcc11.patch
new file mode 100644
index 0000000..f84e5d9
--- /dev/null
+++ b/matreshka-gcc11.patch
@@ -0,0 +1,44 @@
+diff --git a/source/league/ucd/matreshka-internals-unicode-ucd-core.ads
b/source/league/ucd/matreshka-internals-unicode-ucd-core.ads
+index 7b864a7..f620ec7 100644
+--- a/source/league/ucd/matreshka-internals-unicode-ucd-core.ads
++++ b/source/league/ucd/matreshka-internals-unicode-ucd-core.ads
+@@ -42,9 +42,6 @@
+ -- $Revision: 5307 $ $Date: 2015-05-16 01:04:40 +0300 (Sat, 16 May 2015) $
+ ------------------------------------------------------------------------------
+
+-pragma Restrictions (No_Elaboration_Code);
+--- GNAT: enforce generation of preinitialized data section instead of
+--- generation of elaboration code.
+
+ with Matreshka.Internals.Unicode.Ucd.Core_0000;
+ with Matreshka.Internals.Unicode.Ucd.Core_0001;
+diff --git a/source/league/ucd/matreshka-internals-unicode-ucd-cases.ads
b/source/league/ucd/matreshka-internals-unicode-ucd-cases.ads
+index e4a2b49..9139a81 100644
+--- a/source/league/ucd/matreshka-internals-unicode-ucd-cases.ads
++++ b/source/league/ucd/matreshka-internals-unicode-ucd-cases.ads
+@@ -42,10 +42,6 @@
+ -- $Revision: 5307 $ $Date: 2015-05-16 01:04:40 +0300 (Sat, 16 May 2015) $
+ ------------------------------------------------------------------------------
+
+-pragma Restrictions (No_Elaboration_Code);
+--- GNAT: enforce generation of preinitialized data section instead of
+--- generation of elaboration code.
+-
+ package Matreshka.Internals.Unicode.Ucd.Cases is
+
+ pragma Preelaborate;
+diff --git a/source/league/ucd/matreshka-internals-unicode-ucd-colls.ads
b/source/league/ucd/matreshka-internals-unicode-ucd-colls.ads
+index 4b1a464..448ec0b 100644
+--- a/source/league/ucd/matreshka-internals-unicode-ucd-colls.ads
++++ b/source/league/ucd/matreshka-internals-unicode-ucd-colls.ads
+@@ -42,10 +42,6 @@
+ -- $Revision: 5315 $ $Date: 2015-05-16 01:33:36 +0300 (Sat, 16 May 2015) $
+ ------------------------------------------------------------------------------
+
+-pragma Restrictions (No_Elaboration_Code);
+--- GNAT: enforce generation of preinitialized data section instead of
+--- generation of elaboration code.
+-
+ package Matreshka.Internals.Unicode.Ucd.Colls is
+
+ pragma Preelaborate;
diff --git a/matreshka.spec b/matreshka.spec
index ea77e40..2122b45 100644
--- a/matreshka.spec
+++ b/matreshka.spec
@@ -13,10 +13,15 @@ Patch1: %{name}-gprinstall.patch
BuildRequires: gcc-gnat
BuildRequires: fedora-gnat-project-common >= 3
BuildRequires: chrpath
-BuildRequires: gprbuild valgrind
+BuildRequires: gprbuild
+%ifnarch s390x
+BuildRequires: valgrind
+%endif
BuildRequires: postgresql-devel sqlite-devel mariadb-devel
BuildRequires: aws-devel
+Patch0: %{name}-gcc11.patch
+
# gprbuild only available on these:
ExclusiveArch: %GPRbuild_arches
# Fails on armv7hl:
@@ -415,9 +420,9 @@ make %{?_smp_mflags} GPRBUILD_FLAGS="%Gnatmake_optflags"
AWS_BUILD=relocatable
## find libs without RPATH, Fedora specific
export LD_LIBRARY_PATH="%{buildroot}/%{_libdir}/:$LD_LIBRARY_PATH"
# FIXME
http://forge.ada-ru.org/matreshka/ticket/482#ticket
-%ifnarch ppc64le
+##%ifnarch ppc64le
make %{?_smp_mflags} GNAT_OPTFLAGS="%{GNAT_optflags}" check
AWS_BUILD=relocatable
-%endif
+##%endif
## Delete compiled python files
rm -f %{buildroot}/%{_datadir}/gdb/python/matreshka/matreshka.py?