commit ghc-http-date for openSUSE:Factory

Hello community, here is the log from the commit of package ghc-http-date for openSUSE:Factory checked in at 2020-09-30 19:53:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-http-date (Old) and /work/SRC/openSUSE:Factory/.ghc-http-date.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-http-date" Wed Sep 30 19:53:33 2020 rev:3 rq:838494 version:0.0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-http-date/ghc-http-date.changes 2020-08-28 21:33:45.088677566 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-http-date.new.4249/ghc-http-date.changes 2020-09-30 19:53:38.856744813 +0200 @@ -1,0 +2,6 @@ +Fri Sep 25 02:00:58 UTC 2020 - psimons@suse.com + +- Update http-date to version 0.0.9. + Upstream does not provide a change log file. + +------------------------------------------------------------------- Old: ---- http-date-0.0.8.tar.gz New: ---- http-date-0.0.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-http-date.spec ++++++ --- /var/tmp/diff_new_pack.vSlhmO/_old 2020-09-30 19:53:42.976748498 +0200 +++ /var/tmp/diff_new_pack.vSlhmO/_new 2020-09-30 19:53:42.984748505 +0200 @@ -19,7 +19,7 @@ %global pkg_name http-date %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.0.8 +Version: 0.0.9 Release: 0 Summary: HTTP Date parser/formatter License: BSD-3-Clause ++++++ http-date-0.0.8.tar.gz -> http-date-0.0.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-date-0.0.8/Network/HTTP/Date/Converter.hs new/http-date-0.0.9/Network/HTTP/Date/Converter.hs --- old/http-date-0.0.8/Network/HTTP/Date/Converter.hs 2018-07-26 06:04:25.000000000 +0200 +++ new/http-date-0.0.9/Network/HTTP/Date/Converter.hs 2020-09-25 03:36:29.000000000 +0200 @@ -4,8 +4,6 @@ , utcToHTTPDate ) where -import Control.Applicative -import Data.ByteString.Internal import Data.Time import Data.Time.Calendar.WeekDate import Data.Word @@ -13,7 +11,7 @@ import Foreign.Ptr import Foreign.Storable import Network.HTTP.Date.Types -import System.IO.Unsafe (unsafePerformIO) +import System.IO.Unsafe (unsafeDupablePerformIO, unsafePerformIO) import System.Posix.Types {-| @@ -94,10 +92,10 @@ isLeap year = year `rem` 4 == 0 && (year `rem` 400 == 0 || year `rem` 100 /= 0) - (months, daysArr) = if isLeap yy + (mnths, daysArr) = if isLeap yy then (leapMonth, leapDayInMonth) else (normalMonth, normalDayInMonth) - findMonth n = inlinePerformIO $ (,) <$> (peekElemOff months n) <*> (peekElemOff daysArr n) + findMonth n = unsafeDupablePerformIO $ (,) <$> (peekElemOff mnths n) <*> (peekElemOff daysArr n) ---------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-date-0.0.8/http-date.cabal new/http-date-0.0.9/http-date.cabal --- old/http-date-0.0.8/http-date.cabal 2018-07-26 06:04:25.000000000 +0200 +++ new/http-date-0.0.9/http-date.cabal 2020-09-25 03:36:29.000000000 +0200 @@ -1,5 +1,5 @@ Name: http-date -Version: 0.0.8 +Version: 0.0.9 Author: Kazu Yamamoto <kazu@iij.ad.jp> Maintainer: Kazu Yamamoto <kazu@iij.ad.jp> License: BSD3 @@ -7,10 +7,11 @@ Synopsis: HTTP Date parser/formatter Description: Fast parser and formatter for HTTP Date Category: Network, Web -Cabal-Version: >= 1.8 +Cabal-Version: >= 1.10 Build-Type: Simple Library + Default-Language: Haskell2010 GHC-Options: -Wall Exposed-Modules: Network.HTTP.Date Other-Modules: Network.HTTP.Date.Converter @@ -24,6 +25,7 @@ , time Test-Suite spec + Default-Language: Haskell2010 Type: exitcode-stdio-1.0 HS-Source-Dirs: test Main-Is: Spec.hs @@ -37,6 +39,7 @@ , time Test-Suite doctests + Default-Language: Haskell2010 Type: exitcode-stdio-1.0 HS-Source-Dirs: test Ghc-Options: -threaded
participants (1)
-
root