summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-10-08 18:26:36 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-10-08 18:26:36 +0200
commit98b8951497303c7408f7ef34bd315d8af70ad628 (patch)
tree68e46560b29c03a4fba6f207d5536855ee4e4a77 /redhat
parentcfd8f6e12e4d437db3640408f8c40c3c11da6824 (diff)
downloadtde-packaging-98b8951497303c7408f7ef34bd315d8af70ad628.tar.gz
tde-packaging-98b8951497303c7408f7ef34bd315d8af70ad628.zip
RPM packaging: fix kmymoney build on OBS
Diffstat (limited to 'redhat')
-rw-r--r--redhat/applications/kmymoney/kmymoney-14.0.0.spec5
-rw-r--r--redhat/applications/kmymoney/trinity-kmymoney-rpmlintrc2
2 files changed, 7 insertions, 0 deletions
diff --git a/redhat/applications/kmymoney/kmymoney-14.0.0.spec b/redhat/applications/kmymoney/kmymoney-14.0.0.spec
index e787a83c1..47d3e02d4 100644
--- a/redhat/applications/kmymoney/kmymoney-14.0.0.spec
+++ b/redhat/applications/kmymoney/kmymoney-14.0.0.spec
@@ -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}
diff --git a/redhat/applications/kmymoney/trinity-kmymoney-rpmlintrc b/redhat/applications/kmymoney/trinity-kmymoney-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/applications/kmymoney/trinity-kmymoney-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)