File qt6_add_translations.patch of Package qtspell

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fcb4c8f..2f32032 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,7 +62,7 @@ SET(QTSPELL_LIB_VERSION ${QTSPELL_MAJOR}.${QTSPELL_MINOR}.0)
 SET(QTSPELL_SO_VERSION ${QTSPELL_MAJOR})
 
 
-QT_ADD_TRANSLATION(qtspell_QM ${qtspell_TS})
+QT6_ADD_TRANSLATION(qtspell_QM ${qtspell_TS})
 
 ADD_LIBRARY(qtspell SHARED ${qtspell_SRCS} ${qtspell_HDRS} ${qtspell_QM})
 GENERATE_EXPORT_HEADER(qtspell
diff --git a/packaging/debian/control b/packaging/debian/control
index a67619a..0e103c1 100644
--- a/packaging/debian/control
+++ b/packaging/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Sandro Mani <manisandro@gmail.com>
 Build-Depends: debhelper (>= 9),
                cmake,
-               libenchant-dev,
+               libenchant-2-dev,
                qtbase5-dev,
                qttools5-dev,
                qttools5-dev-tools,
openSUSE Build Service is sponsored by