The package rpms/libalkimia.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/libalkimia.git/commit/?id=da314e2....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit da314e2401a393432bf30973836720be2c7e1abd
Author: Rex Dieter <rdieter(a)gmail.com>
Date: Thu Mar 29 16:37:58 2018 -0500
-qt4: make kde4 kmymoney buildable again
-qt4: use gmp unconditionally (as previous alkimia v5 used gmp)
diff --git a/libalkimia.spec b/libalkimia.spec
index a2b0adf..1070298 100644
--- a/libalkimia.spec
+++ b/libalkimia.spec
@@ -10,12 +10,18 @@
Name: libalkimia
Summary: Financial library
Version: 7.0.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2+
URL:
https://kmymoney.org/
Source0:
http://download.kde.org/stable/alkimia/%{version}/src/alkimia-%{version}....
+## upstreamable patches
+Patch100: alkimia-7.0.1-find_dependency.patch
+# allow use of gmp even if mpir is present
+Patch101: alkimia-7.0.1-use_gmp.patch
+Patch102: alkimia-7.0.1-include_dir.patch
+
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkg-config
@@ -30,13 +36,16 @@ BuildRequires: pkgconfig(QtCore)
BuildRequires: pkgconfig(QtDBus)
BuildRequires: pkgconfig(QtTest)
-%ifnarch ppc64le
-# mpir not built on ppc64le... yet
-BuildRequires: mpir-devel
-%global gmp mpir
-%else
+# keep qt4 build unconditionally using gmp
BuildRequires: gmp-devel
+
+# qt5 build conditional
+%ifarch ppc64le
+# mpir not built on ppc64le... yet, only gmp available
%global gmp gmp
+%else
+BuildRequires: mpir-devel
+%global gmp mpir
%endif
%if 0%{?docs}
@@ -49,7 +58,7 @@ BuildRequires: doxygen
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
-Requires: %{gmp}-devel
+Requires: gmp-devel
%description devel
%{summary}.
@@ -98,8 +107,9 @@ make libalkimia_apidoc -C %{_target_platform}-qt5
mkdir %{_target_platform}-qt4
pushd %{_target_platform}-qt4
%{cmake} .. \
- -DBUILD_QT4:BOOL=ON \
- -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
+ -DBUILD_QT4:BOOL=1 \
+ -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} \
+ -DUSE_GMP:BOOL=1
popd
%make_build -C %{_target_platform}-qt4
@@ -161,6 +171,10 @@ make test ARGS="--output-on-failure --timeout 20" -C
%{_target_platform}-qt5 ||:
%changelog
+* Thu Mar 29 2018 Rex Dieter <rdieter(a)fedoraproject.org> - 7.0.1-3
+- -qt4: make kde4 kmymoney buildable again
+- -qt4: use gmp unconditionally (as previous alkimia v5 used gmp)
+
* Mon Mar 19 2018 Rex Dieter <rdieter(a)fedoraproject.org> - 7.0.1-2
- -devel: Requires: (gmp,mpir)-devel