summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kmymoney
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-04-04 22:47:12 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-04-04 22:47:12 +0200
commit2bccc67f69c937e4db4e12f77182be57dbbb9a6a (patch)
treeb5e373b52fbb70d9965dd446300766b449cf524d /redhat/applications/kmymoney
parent7b26da834f79b8b6eb2d8e99a1467ffea2791380 (diff)
downloadtde-packaging-2bccc67f69c937e4db4e12f77182be57dbbb9a6a.tar.gz
tde-packaging-2bccc67f69c937e4db4e12f77182be57dbbb9a6a.zip
RPM Packaging: update 3.5.13.2 packages
Diffstat (limited to 'redhat/applications/kmymoney')
-rw-r--r--redhat/applications/kmymoney/kmymoney-3.5.13.2.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec b/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec
index a7ccc0a4d..acb5a1905 100644
--- a/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec
+++ b/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec
@@ -80,7 +80,11 @@ BuildRequires: libofx-devel
# OPENSP support
%if 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?mdkversion}
%if 0%{?mgaversion} || 0%{?pclinuxos}
+%if 0%{?mgaversion} >= 4
+BuildRequires: %{_lib}osp-devel
+%else
BuildRequires: %{_lib}OpenSP5-devel
+%endif
%else
BuildRequires: opensp-devel
%endif
@@ -92,7 +96,7 @@ BuildRequires: opensp-devel
BuildRequires: openjade-devel
%endif
-Requires: %{name}-common == %{version}
+Requires: %{name}-common == %{version}-%{release}
%description
KMyMoney is the Personal Finance Manager for TDE. It operates similar to
@@ -142,7 +146,8 @@ This package contains development files needed for KMyMoney plugins.
%build
-unset QTDIR; . /etc/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
export KDEDIR="%{tde_prefix}"
@@ -183,7 +188,8 @@ grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po
# Fix FTBFS inside sqlite3 archive
patch -p1 < %{PATCH4}
-%__make %{?_smp_mflags}
+%__make %{?_smp_mflags} || %__make
+
%install
export PATH="%{tde_bindir}:${PATH}"