Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-time-compat for openSUSE:Factory 
checked in at 2021-09-10 23:41:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-time-compat (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-time-compat.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-time-compat"

Fri Sep 10 23:41:16 2021 rev:11 rq:917503 version:1.9.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-time-compat/ghc-time-compat.changes  
2021-06-01 10:40:35.577132903 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-time-compat.new.1899/ghc-time-compat.changes    
    2021-09-10 23:41:33.966575654 +0200
@@ -1,0 +2,8 @@
+Thu Sep  2 08:32:28 UTC 2021 - [email protected]
+
+- Update time-compat to version 1.9.6.1.
+  # 1.9.6.1
+
+  - Support `time-1.12`.
+
+-------------------------------------------------------------------

Old:
----
  time-compat-1.9.6.tar.gz

New:
----
  time-compat-1.9.6.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-time-compat.spec ++++++
--- /var/tmp/diff_new_pack.60j4e4/_old  2021-09-10 23:41:34.398576114 +0200
+++ /var/tmp/diff_new_pack.60j4e4/_new  2021-09-10 23:41:34.402576118 +0200
@@ -19,7 +19,7 @@
 %global pkg_name time-compat
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.9.6
+Version:        1.9.6.1
 Release:        0
 Summary:        Compatibility package for time
 License:        BSD-3-Clause

++++++ time-compat-1.9.6.tar.gz -> time-compat-1.9.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/time-compat-1.9.6/CHANGELOG.md 
new/time-compat-1.9.6.1/CHANGELOG.md
--- old/time-compat-1.9.6/CHANGELOG.md  2001-09-09 03:46:40.000000000 +0200
+++ new/time-compat-1.9.6.1/CHANGELOG.md        2001-09-09 03:46:40.000000000 
+0200
@@ -1,3 +1,7 @@
+# 1.9.6.1
+
+- Support `time-1.12`.
+
 # 1.9.6
 
 - Move `Hashable` instance here from `hashable-time` package.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/time-compat-1.9.6/src/Data/Time/Calendar/MonthDay/Compat.hs 
new/time-compat-1.9.6.1/src/Data/Time/Calendar/MonthDay/Compat.hs
--- old/time-compat-1.9.6/src/Data/Time/Calendar/MonthDay/Compat.hs     
2001-09-09 03:46:40.000000000 +0200
+++ new/time-compat-1.9.6.1/src/Data/Time/Calendar/MonthDay/Compat.hs   
2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,12 @@
 {-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 710
+{-# LANGUAGE PatternSynonyms #-}
+#endif
 module Data.Time.Calendar.MonthDay.Compat (
     MonthOfYear, DayOfMonth, DayOfYear,
+#if __GLASGOW_HASKELL__ >= 710
+    -- patterns
+#endif
     monthAndDayToDayOfYear,
     monthAndDayToDayOfYearValid,
     dayOfYearToMonthAndDay,
@@ -14,3 +20,50 @@
 #if !MIN_VERSION_time(1,11,0)
 import Data.Time.Calendar.Types
 #endif
+
+{-
+#if !MIN_VERSION_time(1,12,0)
+#if __GLASGOW_HASKELL__ >= 710
+pattern January :: MonthOfYear
+pattern January = 1
+
+pattern February :: MonthOfYear
+pattern February = 2
+
+pattern March :: MonthOfYear
+pattern March = 3
+
+pattern April :: MonthOfYear
+pattern April = 4
+
+pattern May :: MonthOfYear
+pattern May = 5
+
+pattern June :: MonthOfYear
+pattern June = 6
+
+pattern July :: MonthOfYear
+pattern July = 7
+
+pattern August :: MonthOfYear
+pattern August = 8
+
+pattern September :: MonthOfYear
+pattern September = 9
+
+pattern October :: MonthOfYear
+pattern October = 10
+
+pattern November :: MonthOfYear
+pattern November = 11
+
+-- | The twelve 'MonthOfYear' patterns form a @COMPLETE@ set.
+pattern December :: MonthOfYear
+pattern December = 12
+
+#if __GLASGOW_HASKELL__ >= 802
+{-# COMPLETE January, February, March, April, May, June, July, August, 
September, October, November, December #-}
+#endif
+#endif
+#endif
+-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/time-compat-1.9.6/test/main/Test/Format/ISO8601.hs 
new/time-compat-1.9.6.1/test/main/Test/Format/ISO8601.hs
--- old/time-compat-1.9.6/test/main/Test/Format/ISO8601.hs      2001-09-09 
03:46:40.000000000 +0200
+++ new/time-compat-1.9.6.1/test/main/Test/Format/ISO8601.hs    2001-09-09 
03:46:40.000000000 +0200
@@ -74,8 +74,9 @@
         , nameTest "expandedWeekDateFormat" $ readShowProperties $ 
expandedWeekDateFormat 6
         , nameTest "expandedYearWeekFormat" $ readShowProperties $ 
expandedYearWeekFormat 6
         , nameTest "timeOfDayFormat" $ readShowProperties $ timeOfDayFormat
-        , nameTest "hourMinuteFormat" $ readShowProperties $ hourMinuteFormat
-        , nameTest "hourFormat" $ readShowProperty $ hourFormat
+        -- https://github.com/haskellari/time-compat/issues/23
+        -- , nameTest "hourMinuteFormat" $ readShowProperties $ 
hourMinuteFormat
+        -- , nameTest "hourFormat" $ readShowProperty $ hourFormat
         , nameTest "withTimeDesignator" $ readShowProperties $ \fe -> 
withTimeDesignator $ timeOfDayFormat fe
         , nameTest "withUTCDesignator" $ readShowProperties $ \fe -> 
withUTCDesignator $ timeOfDayFormat fe
         , nameTest "timeOffsetFormat" $ readShowProperties $ timeOffsetFormat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/time-compat-1.9.6/time-compat.cabal 
new/time-compat-1.9.6.1/time-compat.cabal
--- old/time-compat-1.9.6/time-compat.cabal     2001-09-09 03:46:40.000000000 
+0200
+++ new/time-compat-1.9.6.1/time-compat.cabal   2001-09-09 03:46:40.000000000 
+0200
@@ -1,6 +1,6 @@
 cabal-version:      1.12
 name:               time-compat
-version:            1.9.6
+version:            1.9.6.1
 synopsis:           Compatibility package for time
 description:
   This packages tries to compat as much of @time@ features as possible.
@@ -56,7 +56,7 @@
       base          >=4.5     && <4.16
     , base-orphans  >=0.8.4   && <0.9
     , deepseq       >=1.3.0.0 && <1.4 || >=1.4.1.1 && <1.5
-    , time          >=1.4     && <1.7 || >=1.8 && <1.9 || >=1.9.2 && <1.9.4 || 
>=1.10 && <1.10.1 || >=1.11 && <1.11.2
+    , time          >=1.4     && <1.7 || >=1.8 && <1.9 || >=1.9.2 && <1.9.4 || 
>=1.10 && <1.10.1 || >=1.11 && <1.11.2 || >=1.12 && <1.13
     , hashable      >=1.3.2.0 && <1.4
 
   if flag(old-locale)

Reply via email to