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: gcc-c++
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: libtool BuildRequires: libtool
BuildRequires: fdupes
# SUSE desktop files utility # SUSE desktop files utility
%if 0%{?suse_version} %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} %__make %{?_smp_mflags}
%install %install
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -246,6 +248,9 @@ export PATH="%{tde_bindir}:${PATH}"
%find_lang kmymoney2 %find_lang kmymoney2
# Links duplicate files
%fdupes "%{?buildroot}%{tde_datadir}"
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}

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