diff --git a/akonadi-server.spec b/akonadi-server.spec index c09684d..49e52b4 100644 --- a/akonadi-server.spec +++ b/akonadi-server.spec @@ -51,7 +51,7 @@ Requires: libKF5AkonadiPrivate5 = %{version} Requires: libqt5-sql-mysql Requires: mysql Suggests: mariadb -Conflicts: akonadi-runtime +Obsoletes: akonadi-runtime < %{version} %description This package contains the data files of Akonadi, the KDE PIM storage @@ -86,6 +86,10 @@ service. %install %kf5_makeinstall -C build +%pre +/usr/bin/akonadictl stop +sleep 30 + %post /sbin/ldconfig %{_kf5_bindir}/update-mime-database %{_kf5_sharedir}/mime &> /dev/null || :