Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-timezone-series for 
openSUSE:Factory checked in at 2022-02-11 23:09:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-timezone-series (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-timezone-series.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-timezone-series"

Fri Feb 11 23:09:50 2022 rev:6 rq:953548 version:0.1.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-timezone-series/ghc-timezone-series.changes  
2020-12-22 11:47:52.525931085 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-timezone-series.new.1956/ghc-timezone-series.changes
        2022-02-11 23:11:47.947360656 +0100
@@ -1,0 +2,6 @@
+Sun Dec 26 00:31:09 UTC 2021 - Peter Simons <[email protected]>
+
+- Update timezone-series to version 0.1.13 revision 1.
+  Upstream does not provide a change log file.
+
+-------------------------------------------------------------------

Old:
----
  timezone-series-0.1.9.tar.gz

New:
----
  timezone-series-0.1.13.tar.gz
  timezone-series.cabal

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

Other differences:
------------------
++++++ ghc-timezone-series.spec ++++++
--- /var/tmp/diff_new_pack.XG14Sq/_old  2022-02-11 23:11:48.359361848 +0100
+++ /var/tmp/diff_new_pack.XG14Sq/_new  2022-02-11 23:11:48.367361871 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-timezone-series
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,13 @@
 
 %global pkg_name timezone-series
 Name:           ghc-%{pkg_name}
-Version:        0.1.9
+Version:        0.1.13
 Release:        0
 Summary:        Enhanced timezone handling for Data.Time
 License:        BSD-3-Clause
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-rpm-macros
@@ -50,6 +51,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ timezone-series-0.1.9.tar.gz -> timezone-series-0.1.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/timezone-series-0.1.9/Data/Time/LocalTime/TimeZone/Internal/TimeVersion.hs 
new/timezone-series-0.1.13/Data/Time/LocalTime/TimeZone/Internal/TimeVersion.hs
--- 
old/timezone-series-0.1.9/Data/Time/LocalTime/TimeZone/Internal/TimeVersion.hs  
    2018-03-14 11:38:59.000000000 +0100
+++ 
new/timezone-series-0.1.13/Data/Time/LocalTime/TimeZone/Internal/TimeVersion.hs 
    1970-01-01 01:00:00.000000000 +0100
@@ -1,40 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- | Functions that depend on the version of the @time@ library
-
-module Data.Time.LocalTime.TimeZone.Internal.TimeVersion
-(
-   mapBuiltTime
- , mapFormatCharacter
-)
-where
-
-#if MIN_VERSION_time(1,6,0)
-
-mapBuiltTime :: Functor f => (a -> b) -> f a -> f b
-mapBuiltTime = fmap
-
-#else
-
-mapBuiltTime :: a -> a
-mapBuiltTime = id
-
-#endif
-
-#if MIN_VERSION_time(1,9,1)
-
-mapFormatCharacter :: (a -> b) -> Maybe (x -> b -> String) -> Maybe (x -> a -> 
String)
-mapFormatCharacter f = fmap (\g x -> g x . f)
-
-#elif MIN_VERSION_time(1,8,0)
-
-mapFormatCharacter ::
-  (a -> b) -> (c -> d -> e -> b -> z) -> c -> d -> e -> a -> z
-mapFormatCharacter f g locale mpado mwidth = g locale mpado mwidth . f
-
-#else
-
-mapFormatCharacter :: (a -> b) -> (c -> d -> b -> z) -> c -> d -> a -> z
-mapFormatCharacter f g locale mpado = g locale mpado . f
-
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/timezone-series-0.1.9/Data/Time/LocalTime/TimeZone/Series.hs 
new/timezone-series-0.1.13/Data/Time/LocalTime/TimeZone/Series.hs
--- old/timezone-series-0.1.9/Data/Time/LocalTime/TimeZone/Series.hs    
2018-03-14 11:38:59.000000000 +0100
+++ new/timezone-series-0.1.13/Data/Time/LocalTime/TimeZone/Series.hs   
2001-09-09 03:46:40.000000000 +0200
@@ -32,21 +32,23 @@
                   ZonedTime(ZonedTime),
                   utcToLocalTime, localTimeToUTC)
 #if MIN_VERSION_time(1,9,1)
-import Data.Time.Format.Internal (FormatTime(formatCharacter), 
ParseTime(buildTime))
+import Data.Time.Format.Internal
+  ( FormatTime(formatCharacter)
+  , ParseTime( buildTime
+             , parseTimeSpecifier
+             , substituteTimeSpecifier
+             )
+  )
 #else
 import Data.Time (FormatTime(formatCharacter), ParseTime(buildTime))
 #endif
 import Data.List (partition)
 import Data.Maybe (listToMaybe, fromMaybe)
+import Data.Proxy (Proxy(Proxy))
 import Data.Typeable (Typeable)
 import Control.Arrow (first)
 import Control.DeepSeq (NFData(..))
 
--- Conditional import, depending on the version of the time library,
--- controlled by cabal flag:
-import Data.Time.LocalTime.TimeZone.Internal.TimeVersion (mapBuiltTime,
-  mapFormatCharacter)
-
 -- $abouttzs
 -- A @TimeZoneSeries@ describes a timezone with a set of 'TimeZone'
 -- objects. Each @TimeZone@ object describes the clock setting in the
@@ -93,6 +95,19 @@
 
 instance ParseTime TimeZoneSeries where
   buildTime locale = mapBuiltTime (flip TimeZoneSeries []) . buildTime locale
+#if MIN_VERSION_time(1,9,1)
+  parseTimeSpecifier _ = parseTimeSpecifier (Proxy :: Proxy TimeZone)
+  substituteTimeSpecifier _ =
+    substituteTimeSpecifier (Proxy :: Proxy TimeZone)
+#endif
+
+#if MIN_VERSION_time(1,6,0)
+mapBuiltTime :: Functor f => (a -> b) -> f a -> f b
+mapBuiltTime = fmap
+#else
+mapBuiltTime :: a -> a
+mapBuiltTime = id
+#endif
 
 -- | The latest non-summer @TimeZone@ in a @TimeZoneSeries@ is in some
 -- sense representative of the timezone.
@@ -107,6 +122,19 @@
     fmap (mapFormatCharacter latestNonSummer) .
     formatCharacter
 
+#if MIN_VERSION_time(1,9,1)
+mapFormatCharacter ::
+  (a -> b) -> Maybe (x -> b -> String) -> Maybe (x -> a -> String)
+mapFormatCharacter f = fmap (\g x -> g x . f)
+#elif MIN_VERSION_time(1,8,0)
+mapFormatCharacter ::
+  (a -> b) -> (c -> d -> e -> b -> z) -> c -> d -> e -> a -> z
+mapFormatCharacter f g locale mpado mwidth = g locale mpado mwidth . f
+#else
+mapFormatCharacter :: (a -> b) -> (c -> d -> b -> z) -> c -> d -> a -> z
+mapFormatCharacter f g locale mpado = g locale mpado . f
+#endif
+
 -- | Given a timezone represented by a @TimeZoneSeries@, and a @UTCTime@,
 -- provide the state of the timezone's clocks at that time.
 timeZoneFromSeries :: TimeZoneSeries -> UTCTime -> TimeZone
@@ -183,6 +211,11 @@
 
 instance ParseTime ZoneSeriesTime where
   buildTime locale = mapBuiltTime zonedTimeToZoneSeriesTime . buildTime locale
+#if MIN_VERSION_time(1,9,1)
+  parseTimeSpecifier _ = parseTimeSpecifier (Proxy :: Proxy ZonedTime)
+  substituteTimeSpecifier _ =
+    substituteTimeSpecifier (Proxy :: Proxy ZonedTime)
+#endif
 
 instance FormatTime ZoneSeriesTime where
   formatCharacter =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/timezone-series-0.1.9/LICENSE 
new/timezone-series-0.1.13/LICENSE
--- old/timezone-series-0.1.9/LICENSE   2018-03-14 11:38:59.000000000 +0100
+++ new/timezone-series-0.1.13/LICENSE  2001-09-09 03:46:40.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2010-2018 Yitzchak Gale. All rights reserved.
+Copyright (c) 2010-2021 Yitzchak Gale. All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/timezone-series-0.1.9/README.md 
new/timezone-series-0.1.13/README.md
--- old/timezone-series-0.1.9/README.md 2018-03-14 11:38:59.000000000 +0100
+++ new/timezone-series-0.1.13/README.md        2001-09-09 03:46:40.000000000 
+0200
@@ -43,7 +43,7 @@
 packages for more information about reading and creating Olson
 timezone files.
 
-Copyright (c) 2010-2018 Yitzchak Gale. All rights reserved.
+Copyright (c) 2010-2021 Yitzchak Gale. All rights reserved.
 
 For licensing information, see the BSD3-style license in the file
 LICENSE that was originally distributed by the author together with
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/timezone-series-0.1.9/timezone-series.cabal 
new/timezone-series-0.1.13/timezone-series.cabal
--- old/timezone-series-0.1.9/timezone-series.cabal     2018-03-14 
11:38:59.000000000 +0100
+++ new/timezone-series-0.1.13/timezone-series.cabal    2001-09-09 
03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 Name:                timezone-series
-Version:             0.1.9
+Version:             0.1.13
 Synopsis:            Enhanced timezone handling for Data.Time
 Description:         This package endows Data.Time, from the time
                      package, with several data types and functions
@@ -14,7 +14,7 @@
 License-file:        LICENSE
 Author:              Yitzchak Gale
 Maintainer:          [email protected]
-Copyright:           Copyright (c) 2010-2018 Yitzchak Gale. All rights 
reserved.
+Copyright:           Copyright (c) 2010-2021 Yitzchak Gale. All rights 
reserved.
 Category:            Data
 Build-type:          Simple
 Extra-source-files:  README.md
@@ -29,8 +29,7 @@
   Default-language:    Haskell2010
   Hs-source-dirs:      .
   Exposed-modules:     Data.Time.LocalTime.TimeZone.Series
-  Other-modules:       Data.Time.LocalTime.TimeZone.Internal.TimeVersion
   Default-extensions:  DeriveDataTypeable
   Build-depends:       base >= 4.4 && < 5
                      , deepseq
-                     , time (>= 1.1.4 && < 1.9) || (>= 1.9.1 && < 1.10)
+                     , time (>= 1.1.4 && < 1.9) || (>= 1.9.1 && < 1.13)

++++++ timezone-series.cabal ++++++
Name:                timezone-series
Version:             0.1.13
x-revision: 1
Synopsis:            Enhanced timezone handling for Data.Time
Description:         This package endows Data.Time, from the time
                     package, with several data types and functions
                     for enhanced processing of timezones. For one way
                     to create timezone series, see the timezone-olson
                     (<http://hackage.haskell.org/package/timezone-olson>)
                     and timezone-olson-th
                     (<http://hackage.haskell.org/package/timezone-olson-th>)
                     packages.
Homepage:            http://projects.haskell.org/time-ng/
License:             BSD3
License-file:        LICENSE
Author:              Yitzchak Gale
Maintainer:          [email protected]
Copyright:           Copyright (c) 2010-2021 Yitzchak Gale. All rights reserved.
Category:            Data
Build-type:          Simple
Extra-source-files:  README.md
Cabal-version:       >=1.10
Tested-with:         GHC > 7.4 && < 8.5

Source-repository HEAD
  type:              git
  location:          https://github.com/ygale/timezone-series.git

Library
  Default-language:    Haskell2010
  Hs-source-dirs:      .
  Exposed-modules:     Data.Time.LocalTime.TimeZone.Series
  Default-extensions:  DeriveDataTypeable
  Build-depends:       base >= 4.4 && < 5
                     , deepseq
                     , time (>= 1.1.4 && < 1.9) || (>= 1.9.1 && < 1.14)

Reply via email to