RPM packaging: fix kmymoney build on OBS

pull/3/head
François Andriot 8 years ago
parent cfd8f6e12e
commit 98b8951497

@ -71,6 +71,7 @@ BuildRequires: autoconf automake libtool m4
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: libtool
BuildRequires: fdupes
# SUSE desktop files utility
%if 0%{?suse_version}
@ -239,6 +240,7 @@ grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po
%__make %{?_smp_mflags}
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
@ -246,6 +248,9 @@ export PATH="%{tde_bindir}:${PATH}"
%find_lang kmymoney2
# Links duplicate files
%fdupes "%{?buildroot}%{tde_datadir}"
%clean
%__rm -rf %{buildroot}

@ -0,0 +1,2 @@
setBadness('library-without-ldconfig-postun', 0)
setBadness('library-without-ldconfig-postin', 0)
Loading…
Cancel
Save