summaryrefslogtreecommitdiffstats
path: root/redhat/applications
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications')
-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)