diff --git a/desktopfile.diff b/desktopfile.diff new file mode 100644 index 0000000..3ca50ac --- /dev/null +++ b/desktopfile.diff @@ -0,0 +1,12 @@ +diff -ur a/src/program/org.kde.kbibtex.desktop b/src/program/org.kde.kbibtex.desktop +--- a/src/program/org.kde.kbibtex.desktop 2018-06-21 22:00:30.000000000 +0200 ++++ b/src/program/org.kde.kbibtex.desktop 2018-06-29 13:07:52.851674788 +0200 +@@ -85,7 +85,7 @@ + X-KDE-StartupNotify=true + # TODO X-DBUS-StartupType=Multi + # TODO X-DBUS-ServiceName=org.kde.kbibtex +-Categories=Qt;KDE;Office;Database;Science;Literature;Education; ++Categories=Qt;KDE;Office;Database;Science;Education; + MimeType=text/x-bibtex;application/x-research-info-systems; + Keywords=BibTeX;bibliography;editor;LaTeX; + Keywords[ca]=BibTeX;bibliografia;editor;LaTeX; diff --git a/kbibtex.changes b/kbibtex.changes index 74ebde5..35a2c5a 100644 --- a/kbibtex.changes +++ b/kbibtex.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 29 11:28:07 UTC 2018 - cornelis@solcon.nl + +- Add desktopfile.diff to solve rpmlint errors + ------------------------------------------------------------------- Fri Jun 29 10:34:01 UTC 2018 - cornelis@solcon.nl diff --git a/kbibtex.spec b/kbibtex.spec index 088b03e..6746143 100644 --- a/kbibtex.spec +++ b/kbibtex.spec @@ -23,6 +23,8 @@ Summary: The BibTeX (Latex) bibliography manager by KDE Url: https://userbase.kde.org/KBibTeX/ Group: Productivity/Publishing/TeX/Utilities Source: http://download.kde.org/stable/KBibTeX/%{version}/%{name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE: revert upstream desktop file change to solve rpmlint error +Patch0: desktopfile.diff BuildRequires: update-desktop-files BuildRequires: extra-cmake-modules BuildRequires: pkgconfig(Qt5Concurrent) @@ -79,6 +81,7 @@ This package contains the devel files for %{name}. %prep %setup -q -n %{name}-%{version} +%patch0 -p1 %build %cmake_kf5 -d build