diff --git a/ghc-dbus.spec b/ghc-dbus.spec
index f40d3e1..f875bdf 100644
--- a/ghc-dbus.spec
+++ b/ghc-dbus.spec
@@ -104,6 +104,7 @@ This package provides the Haskell %{pkg_name} library development files.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cabal-tweak-dep-ver lens '<4.18' '< 5'
 
 %build
 %ghc_lib_build