The package rpms/osmium-tool.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/osmium-tool.git/commit/?id=80f742....
Change:
+%ifarch armv7hl
Thanks.
Full change:
============
commit 80f7421a3c29db362542b4fcc0f1700a097d5e85
Author: Tom Hughes <tom(a)compton.nu>
Date: Sat Jan 26 22:43:55 2019 +0000
Disable expensive-optimizations on armv7hl
diff --git a/osmium-tool.spec b/osmium-tool.spec
index 418ba03..ca22edd 100644
--- a/osmium-tool.spec
+++ b/osmium-tool.spec
@@ -34,6 +34,10 @@ rm -rf include/rapidjson
%build
mkdir build
cd build
+%ifarch armv7hl
+export CFLAGS="%{optflags} -fno-expensive-optimizations"
+export CXXFLAGS="%{optflags} -fno-expensive-optimizations"
+%endif
%cmake ..
%make_build
commit 62377c7701ab21f0bf8a0ee39910e063f92fb564
Author: Tom Hughes <tom(a)compton.nu>
Date: Sat Jan 26 22:30:41 2019 +0000
Ensure the Fedora optimisation flags are respected
diff --git a/osmium-tool.spec b/osmium-tool.spec
index 4a6996c..418ba03 100644
--- a/osmium-tool.spec
+++ b/osmium-tool.spec
@@ -27,6 +27,7 @@ based on the Osmium library
%prep
%autosetup -p 1 -n %{name}-%{version}
+sed -i -e "s/-O3 -g//" CMakeLists.txt
rm -rf include/rapidjson