diff --git a/kmplot.changes b/kmplot.changes
index 8b8c221..1bb1d9b 100644
--- a/kmplot.changes
+++ b/kmplot.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu May 12 13:58:54 UTC 2016 - dimstar@opensuse.org
+
+- Fix the desktop ID referenced in org.kde.kmplot.appdata.xml.
+
-------------------------------------------------------------------
Sat May 7 10:33:33 UTC 2016 - tittiatcoke@gmail.com
diff --git a/kmplot.spec b/kmplot.spec
index c84ff0a..9278bc6 100644
--- a/kmplot.spec
+++ b/kmplot.spec
@@ -56,6 +56,10 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%install
%kf5_makeinstall -C build
+# Fixup the content of the appdata file
+sed -i "s|kmplot.desktop|org.kde.kmplot.desktop|" \
+ %{buildroot}%{_datadir}/appdata/org.kde.kmplot.appdata.xml
+
%files
%defattr(-,root,root)
%doc COPYING*