diff --git a/hsyslog-udp.cabal b/hsyslog-udp.cabal
--- a/hsyslog-udp.cabal
+++ b/hsyslog-udp.cabal
@@ -1,5 +1,5 @@
 name:                   hsyslog-udp
-version:                0.2.1
+version:                0.2.2
 synopsis:               Log to syslog over a network via UDP
 description:            Supports <https://tools.ietf.org/html/rfc5424 RFC 5424>,
                         <https://tools.ietf.org/html/rfc3164 RFC 3164>, or any
@@ -41,6 +41,6 @@
   other-modules:        System.Posix.Syslog.UDPSpec
 
   Build-Depends:        base >= 3 && < 5
-                      , hspec < 2.5
+                      , hspec < 2.6
                       , hsyslog-udp
                       , time < 1.9
