packages feed

cabal-debian 4.35.8 → 4.35.9

raw patch · 2 files changed

+3/−3 lines, 2 files

Files

cabal-debian.cabal view
@@ -1,5 +1,5 @@ Name:           cabal-debian-Version:        4.35.8+Version:        4.35.9 Copyright:      Copyright (c) 2007-2014, David Fox, Jeremy Shaw License:        BSD3 License-File:   LICENSE
src/Debian/Debianize/Optparse.hs view
@@ -180,7 +180,7 @@ nameAddrR = either fail return =<< parseMaintainer <$> O.str  relationsR :: O.ReadM Relations-relationsR = either (fail . show) return =<< parseRelations <$> O.str+relationsR = either (fail . show) return =<< parseRelations <$> (O.str :: O.ReadM String)  mappingR :: O.ReadM (String, Relations) mappingR = span (/= ':') <$> O.str >>= \case@@ -313,7 +313,7 @@     ]  debianVersionP :: O.Parser (Maybe DebianVersion)-debianVersionP = O.option (Just . parseDebianVersion' <$> O.str) m where+debianVersionP = O.option (Just . parseDebianVersion' <$> (O.str :: O.ReadM String)) m where   m = O.help helpMsg       <> O.long "deb-version"       <> O.metavar "DEBIANVERSION"