commit ghc-time-compat for openSUSE:Factory

2024-07-22 Thread Source-Sync
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 2024-07-22 17:16:46

Comparing /work/SRC/openSUSE:Factory/ghc-time-compat (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-time-compat.new.17339 (New)


Package is "ghc-time-compat"

Mon Jul 22 17:16:46 2024 rev:18 rq:1188661 version:1.9.7

Changes:

--- /work/SRC/openSUSE:Factory/ghc-time-compat/ghc-time-compat.changes  
2024-05-21 18:36:37.010768646 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-time-compat.new.17339/ghc-time-compat.changes   
2024-07-22 17:17:53.673016706 +0200
@@ -1,0 +2,6 @@
+Thu Jul  4 20:56:02 UTC 2024 - Peter Simons 
+
+- Update time-compat to version 1.9.7 revision 2.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---

New:

  time-compat.cabal



Other differences:
--
++ ghc-time-compat.spec ++
--- /var/tmp/diff_new_pack.jq5rCp/_old  2024-07-22 17:17:55.845103368 +0200
+++ /var/tmp/diff_new_pack.jq5rCp/_new  2024-07-22 17:17:55.849103528 +0200
@@ -26,6 +26,7 @@
 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/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base-devel
 BuildRequires:  ghc-base-orphans-devel
@@ -93,6 +94,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ time-compat.cabal ++
cabal-version:  1.12
name:   time-compat
version:1.9.7
x-revision: 2
synopsis:   Compatibility package for time
description:
  This packages tries to compat as much of @time@ features as possible.
  .
  /TODO:/
  .
  * Difference type @ParseTime@ and @FormatTime@ instances are missing.
  .
  * Formatting varies depending on underlying @time@ version
  .
  * @dayFractionToTimeOfDay@ on extreme values

category:   Time, Compatibility
license:BSD3
license-file:   LICENSE
maintainer: Oleg Grenrus 
author: Ashley Yakeley
homepage:   https://github.com/haskellari/time-compat
bug-reports:https://github.com/haskellari/time-compat/issues
build-type: Simple
extra-source-files: CHANGELOG.md
tested-with:
  GHC ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.5
   || ==9.8.2
   || ==9.10.1

source-repository head
  type: git
  location: https://github.com/haskellari/time-compat.git

library
  default-language:   Haskell2010
  hs-source-dirs: src
  other-extensions:   CPP
  default-extensions: Trustworthy
  build-depends:
  base  >=4.12&& <4.21
, base-orphans  >=0.9.2   && <0.10
, deepseq   >=1.4.4.0 && <1.6
, hashable  >=1.4.4.0 && <1.6
, time  >=1.8.0.2 && <1.9  || >=1.9.2 && <1.9.4 || >=1.10 && 
<1.10.1 || >=1.11 && <1.11.2 || >=1.12 && <1.13

  exposed-modules:
Data.Time.Calendar.Compat
Data.Time.Calendar.Easter.Compat
Data.Time.Calendar.Julian.Compat
Data.Time.Calendar.Month.Compat
Data.Time.Calendar.MonthDay.Compat
Data.Time.Calendar.OrdinalDate.Compat
Data.Time.Calendar.Quarter.Compat
Data.Time.Calendar.WeekDate.Compat
Data.Time.Clock.Compat
Data.Time.Clock.POSIX.Compat
Data.Time.Clock.System.Compat
Data.Time.Clock.TAI.Compat
Data.Time.Compat
Data.Time.Format.Compat
Data.Time.Format.ISO8601.Compat
Data.Time.LocalTime.Compat

  other-modules:
Data.Format
Data.Time.Calendar.Private
Data.Time.Calendar.Types
Data.Time.Orphans

test-suite instances
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs:   test-instances
  main-is:  Test.hs
  build-depends:
  base
, deepseq
, hashable >=1.4.0.0 && <1.6
, HUnit>=1.3.1   && <1.3.2 || >=1.6.0.0 && <1.7
, time-compat

-- This test-suite is from time library
-- Changes:
-- * imports: Data.Time -> Data.Time.Compat etc
-- * disabled Test.Format.ParseTime
-- * Test.Format.Format has also trees disabled
-- * Test.Format.Compile doesn't work
-- * disabled 'TimeOfDay minBound 0 0' (Test.LocalTime.Time)
--
test-suite main
  if !impl(ghc >=7.4)
buildable: False

  default-language:   Haskell2010
  type:   exitcode-stdio-1.0
  hs-source-dirs: test/main
  default-extensions:
CPP
DeriveDataTypeable
ExistentialQuantification
FlexibleInstances

commit ghc-time-compat for openSUSE:Factory

2023-10-13 Thread Source-Sync
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 2023-10-13 23:14:59

Comparing /work/SRC/openSUSE:Factory/ghc-time-compat (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-time-compat.new.20540 (New)


Package is "ghc-time-compat"

Fri Oct 13 23:14:59 2023 rev:16 rq:1117083 version:1.9.6.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-time-compat/ghc-time-compat.changes  
2023-04-04 21:24:15.682502016 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-time-compat.new.20540/ghc-time-compat.changes   
2023-10-13 23:16:02.798008842 +0200
@@ -1,0 +2,6 @@
+Wed Oct  4 13:36:05 UTC 2023 - Peter Simons 
+
+- Update time-compat to version 1.9.6.1 revision 6.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--
++ ghc-time-compat.spec ++
--- /var/tmp/diff_new_pack.ruMNqI/_old  2023-10-13 23:16:03.238024800 +0200
+++ /var/tmp/diff_new_pack.ruMNqI/_new  2023-10-13 23:16:03.238024800 +0200
@@ -26,7 +26,7 @@
 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/5.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/6.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base-devel
 BuildRequires:  ghc-base-orphans-devel

++ time-compat.cabal ++
--- /var/tmp/diff_new_pack.ruMNqI/_old  2023-10-13 23:16:03.278026252 +0200
+++ /var/tmp/diff_new_pack.ruMNqI/_new  2023-10-13 23:16:03.282026396 +0200
@@ -1,7 +1,7 @@
 cabal-version:  1.12
 name:   time-compat
 version:1.9.6.1
-x-revision: 5
+x-revision: 6
 synopsis:   Compatibility package for time
 description:
   This packages tries to compat as much of @time@ features as possible.
@@ -35,9 +35,10 @@
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
-   || ==9.2.7
-   || ==9.4.4
-   || ==9.6.1
+   || ==9.2.8
+   || ==9.4.7
+   || ==9.6.3
+   || ==9.8.1
 
 source-repository head
   type: git
@@ -57,9 +58,9 @@
 default-extensions: Trustworthy
 
   build-depends:
-  base  >=4.5 && <4.19
+  base  >=4.5 && <4.20
 , base-orphans  >=0.8.4   && <0.10
-, deepseq   >=1.3.0.0 && <1.4 || >=1.4.1.1 && <1.5
+, deepseq   >=1.3.0.0 && <1.4 || >=1.4.1.1 && <1.6
 , 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.5
 


commit ghc-time-compat for openSUSE:Factory

2023-04-04 Thread Source-Sync
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 2023-04-04 21:23:57

Comparing /work/SRC/openSUSE:Factory/ghc-time-compat (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-time-compat.new.19717 (New)


Package is "ghc-time-compat"

Tue Apr  4 21:23:57 2023 rev:15 rq:1076079 version:1.9.6.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-time-compat/ghc-time-compat.changes  
2022-10-13 15:43:37.642911530 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-time-compat.new.19717/ghc-time-compat.changes   
2023-04-04 21:24:15.682502016 +0200
@@ -1,0 +2,11 @@
+Thu Mar 30 17:08:38 UTC 2023 - Peter Simons 
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+---
+Sun Mar 12 09:29:58 UTC 2023 - Peter Simons 
+
+- Update time-compat to version 1.9.6.1 revision 5.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--
++ ghc-time-compat.spec ++
--- /var/tmp/diff_new_pack.X1NoWi/_old  2023-04-04 21:24:16.282505413 +0200
+++ /var/tmp/diff_new_pack.X1NoWi/_new  2023-04-04 21:24:16.286505437 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-time-compat
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 %global pkg_name time-compat
+%global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:   ghc-%{pkg_name}
 Version:1.9.6.1
@@ -25,22 +26,35 @@
 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/4.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/5.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-base-devel
 BuildRequires:  ghc-base-orphans-devel
+BuildRequires:  ghc-base-orphans-prof
+BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-deepseq-devel
+BuildRequires:  ghc-deepseq-prof
 BuildRequires:  ghc-hashable-devel
+BuildRequires:  ghc-hashable-prof
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-time-devel
+BuildRequires:  ghc-time-prof
 ExcludeArch:%{ix86}
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-HUnit-prof
 BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-QuickCheck-prof
 BuildRequires:  ghc-base-compat-devel
+BuildRequires:  ghc-base-compat-prof
 BuildRequires:  ghc-tagged-devel
+BuildRequires:  ghc-tagged-prof
 BuildRequires:  ghc-tasty-devel
 BuildRequires:  ghc-tasty-hunit-devel
+BuildRequires:  ghc-tasty-hunit-prof
+BuildRequires:  ghc-tasty-prof
 BuildRequires:  ghc-tasty-quickcheck-devel
+BuildRequires:  ghc-tasty-quickcheck-prof
 %endif
 
 %description
@@ -64,6 +78,22 @@
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
+%package -n ghc-%{pkg_name}-doc
+Summary:Haskell %{pkg_name} library documentation
+Requires:   ghc-filesystem
+BuildArch:  noarch
+
+%description -n ghc-%{pkg_name}-doc
+This package provides the Haskell %{pkg_name} library documentation.
+
+%package -n ghc-%{pkg_name}-prof
+Summary:Haskell %{pkg_name} profiling library
+Requires:   ghc-%{pkg_name}-devel = %{version}-%{release}
+Supplements:(ghc-%{pkg_name}-devel and ghc-prof)
+
+%description -n ghc-%{pkg_name}-prof
+This package provides the Haskell %{pkg_name} profiling library.
+
 %prep
 %autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
@@ -89,4 +119,9 @@
 %files devel -f %{name}-devel.files
 %doc CHANGELOG.md
 
+%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%license LICENSE
+
+%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+
 %changelog

++ time-compat.cabal ++
--- /var/tmp/diff_new_pack.X1NoWi/_old  2023-04-04 21:24:16.338505730 +0200
+++ /var/tmp/diff_new_pack.X1NoWi/_new  2023-04-04 21:24:16.342505754 +0200
@@ -1,7 +1,7 @@
 cabal-version:  1.12
 name:   time-compat
 version:1.9.6.1
-x-revision: 4
+x-revision: 5
 synopsis:   Compatibility package for time
 description:
   This packages tries to compat as much of @time@ features as possible.
@@ -35,8 +35,9 @@
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
-   || ==9.2.4
-   || ==9.4.1
+   || ==9.2.7
+   || 

commit ghc-time-compat for openSUSE:Factory

2022-10-13 Thread Source-Sync
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 2022-10-13 15:43:20

Comparing /work/SRC/openSUSE:Factory/ghc-time-compat (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-time-compat.new.2275 (New)


Package is "ghc-time-compat"

Thu Oct 13 15:43:20 2022 rev:14 rq:1008534 version:1.9.6.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-time-compat/ghc-time-compat.changes  
2021-12-19 17:34:53.404284108 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-time-compat.new.2275/ghc-time-compat.changes
2022-10-13 15:43:37.642911530 +0200
@@ -1,0 +2,6 @@
+Wed Aug 10 19:33:11 UTC 2022 - Peter Simons 
+
+- Update time-compat to version 1.9.6.1 revision 4.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--
++ ghc-time-compat.spec ++
--- /var/tmp/diff_new_pack.E4BHs5/_old  2022-10-13 15:43:39.002914184 +0200
+++ /var/tmp/diff_new_pack.E4BHs5/_new  2022-10-13 15:43:39.006914193 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-time-compat
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 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/3.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base-orphans-devel
 BuildRequires:  ghc-deepseq-devel

++ time-compat.cabal ++
--- /var/tmp/diff_new_pack.E4BHs5/_old  2022-10-13 15:43:39.050914278 +0200
+++ /var/tmp/diff_new_pack.E4BHs5/_new  2022-10-13 15:43:39.054914286 +0200
@@ -1,7 +1,7 @@
 cabal-version:  1.12
 name:   time-compat
 version:1.9.6.1
-x-revision: 3
+x-revision: 4
 synopsis:   Compatibility package for time
 description:
   This packages tries to compat as much of @time@ features as possible.
@@ -33,9 +33,10 @@
|| ==8.4.4
|| ==8.6.5
|| ==8.8.4
-   || ==8.10.4
-   || ==9.0.1
-   || ==9.2.1
+   || ==8.10.7
+   || ==9.0.2
+   || ==9.2.4
+   || ==9.4.1
 
 source-repository head
   type: git
@@ -55,7 +56,7 @@
 default-extensions: Trustworthy
 
   build-depends:
-  base  >=4.5 && <4.17
+  base  >=4.5 && <4.18
 , 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 || >=1.12 && <1.13


commit ghc-time-compat for openSUSE:Factory

2021-12-19 Thread Source-Sync
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-12-19 17:34:36

Comparing /work/SRC/openSUSE:Factory/ghc-time-compat (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-time-compat.new.2520 (New)


Package is "ghc-time-compat"

Sun Dec 19 17:34:36 2021 rev:13 rq:96 version:1.9.6.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-time-compat/ghc-time-compat.changes  
2021-11-11 21:37:29.588935525 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-time-compat.new.2520/ghc-time-compat.changes
2021-12-19 17:34:53.404284108 +0100
@@ -1,0 +2,6 @@
+Tue Nov 16 19:50:56 UTC 2021 - psim...@suse.com
+
+- Update time-compat to version 1.9.6.1 revision 3.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--
++ ghc-time-compat.spec ++
--- /var/tmp/diff_new_pack.FAv06N/_old  2021-12-19 17:34:53.872284438 +0100
+++ /var/tmp/diff_new_pack.FAv06N/_new  2021-12-19 17:34:53.876284440 +0100
@@ -25,7 +25,7 @@
 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/2.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base-orphans-devel
 BuildRequires:  ghc-deepseq-devel

++ time-compat.cabal ++
--- /var/tmp/diff_new_pack.FAv06N/_old  2021-12-19 17:34:53.912284466 +0100
+++ /var/tmp/diff_new_pack.FAv06N/_new  2021-12-19 17:34:53.912284466 +0100
@@ -1,7 +1,7 @@
 cabal-version:  1.12
 name:   time-compat
 version:1.9.6.1
-x-revision: 2
+x-revision: 3
 synopsis:   Compatibility package for time
 description:
   This packages tries to compat as much of @time@ features as possible.
@@ -72,7 +72,7 @@
   if !impl(ghc >=8.0)
 build-depends:
 fail>=4.9.0.0 && <4.10
-  , semigroups  >=0.18.5  && <0.20
+  , semigroups  >=0.18.5  && <0.21
 
   exposed-modules:
 Data.Time.Calendar.Compat
@@ -107,7 +107,7 @@
   base
 , deepseq
 , HUnit>=1.3.1 && <1.3.2 || >=1.6.0.0 && <1.7
-, hashable >=1.3.1.0 && <1.4
+, hashable >=1.3.1.0 && <1.5
 , time-compat
 
 -- This test-suite is from time library
@@ -152,7 +152,7 @@
   if !impl(ghc >=8.0)
 build-depends:
 fail>=4.9.0.0 && <4.10
-  , semigroups  >=0.18.5  && <0.20
+  , semigroups  >=0.18.5  && <0.21
 
   build-depends:  time
   main-is:Main.hs


commit ghc-time-compat for openSUSE:Factory

2021-11-11 Thread Source-Sync
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-11-11 21:37:04

Comparing /work/SRC/openSUSE:Factory/ghc-time-compat (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-time-compat.new.1890 (New)


Package is "ghc-time-compat"

Thu Nov 11 21:37:04 2021 rev:12 rq:930369 version:1.9.6.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-time-compat/ghc-time-compat.changes  
2021-09-10 23:41:33.966575654 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-time-compat.new.1890/ghc-time-compat.changes
2021-11-11 21:37:29.588935525 +0100
@@ -1,0 +2,6 @@
+Mon Nov  1 08:29:20 UTC 2021 - psim...@suse.com
+
+- Update time-compat to version 1.9.6.1 revision 2.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---

New:

  time-compat.cabal



Other differences:
--
++ ghc-time-compat.spec ++
--- /var/tmp/diff_new_pack.zOZ9Zg/_old  2021-11-11 21:37:29.896935749 +0100
+++ /var/tmp/diff_new_pack.zOZ9Zg/_new  2021-11-11 21:37:29.900935752 +0100
@@ -25,6 +25,7 @@
 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/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base-orphans-devel
 BuildRequires:  ghc-deepseq-devel
@@ -65,6 +66,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ time-compat.cabal ++
cabal-version:  1.12
name:   time-compat
version:1.9.6.1
x-revision: 2
synopsis:   Compatibility package for time
description:
  This packages tries to compat as much of @time@ features as possible.
  .
  /TODO:/
  .
  * Difference type @ParseTime@ and @FormatTime@ instances are missing.
  .
  * Formatting varies depending on underlying @time@ version
  .
  * @dayFractionToTimeOfDay@ on extreme values

category:   Time, Compatibility
license:BSD3
license-file:   LICENSE
maintainer: Oleg Grenrus 
author: Ashley Yakeley
homepage:   https://github.com/haskellari/time-compat
bug-reports:https://github.com/haskellari/time-compat/issues
build-type: Simple
extra-source-files: CHANGELOG.md
tested-with:
  GHC ==7.4.2
   || ==7.6.3
   || ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.4
   || ==9.0.1
   || ==9.2.1

source-repository head
  type: git
  location: https://github.com/haskellari/time-compat.git

flag old-locale
  description: If true, use old-locale, otherwise use time 1.5 or newer.
  manual:  False
  default: False

library
  default-language: Haskell2010
  hs-source-dirs:   src
  other-extensions: CPP

  if impl(ghc >=7.2)
default-extensions: Trustworthy

  build-depends:
  base  >=4.5 && <4.17
, 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 || >=1.12 && <1.13
, hashable  >=1.3.2.0 && <1.5

  if flag(old-locale)
build-depends:
old-locale  >=1.0.0.2 && <1.1
  , time>=1.4 && <1.5

  else
build-depends: time >=1.5

  if !impl(ghc >=8.0)
build-depends:
fail>=4.9.0.0 && <4.10
  , semigroups  >=0.18.5  && <0.20

  exposed-modules:
Data.Time.Calendar.Compat
Data.Time.Calendar.Easter.Compat
Data.Time.Calendar.Julian.Compat
Data.Time.Calendar.Month.Compat
Data.Time.Calendar.MonthDay.Compat
Data.Time.Calendar.OrdinalDate.Compat
Data.Time.Calendar.Quarter.Compat
Data.Time.Calendar.WeekDate.Compat
Data.Time.Clock.Compat
Data.Time.Clock.POSIX.Compat
Data.Time.Clock.System.Compat
Data.Time.Clock.TAI.Compat
Data.Time.Compat
Data.Time.Format.Compat
Data.Time.Format.ISO8601.Compat
Data.Time.LocalTime.Compat

  other-modules:
Data.Format
Data.Time.Calendar.Private
Data.Time.Calendar.Types
Data.Time.Orphans

test-suite instances
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs:   test-instances
  main-is:  Test.hs
  build-depends:
  base
, deepseq
, HUnit>=1.3.1 && <1.3.2 || >=1.6.0.0 && <1.7
, hashable >=1.3.1.0 && <1.4
, time-compat

-- This test-suite is from time library
-- Changes:
-- * imports: 

commit ghc-time-compat for openSUSE:Factory

2021-09-10 Thread Source-Sync
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 - psim...@suse.com
+
+- 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.0 +0200
+++ new/time-compat-1.9.6.1/CHANGELOG.md2001-09-09 03:46:40.0 
+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.0 +0200
+++ new/time-compat-1.9.6.1/src/Data/Time/Calendar/MonthDay/Compat.hs   
2001-09-09 03:46:40.0 +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.0 +0200
+++ new/time-compat-1.9.6.1/test/main/Test/Format/ISO8601.hs2001-09-09 
03:46:40.0 +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 

commit ghc-time-compat for openSUSE:Factory

2021-06-01 Thread Source-Sync
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-06-01 10:38:58

Comparing /work/SRC/openSUSE:Factory/ghc-time-compat (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-time-compat.new.1898 (New)


Package is "ghc-time-compat"

Tue Jun  1 10:38:58 2021 rev:10 rq:896202 version:1.9.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-time-compat/ghc-time-compat.changes  
2021-03-10 08:57:45.218919846 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-time-compat.new.1898/ghc-time-compat.changes
2021-06-01 10:40:35.577132903 +0200
@@ -1,0 +2,11 @@
+Thu May 20 17:32:27 UTC 2021 - psim...@suse.com
+
+- Update time-compat to version 1.9.6.
+  # 1.9.6
+
+  - Move `Hashable` instance here from `hashable-time` package.
+Note: `ZonedTime` instance is dropped, as `ZonedTime` doesn't have `Eq`
+instance.
+  - Drop GHC-7.0 and GHC-7.2 support.
+
+---

Old:

  time-compat-1.9.5.tar.gz
  time-compat.cabal

New:

  time-compat-1.9.6.tar.gz



Other differences:
--
++ ghc-time-compat.spec ++
--- /var/tmp/diff_new_pack.kUviZl/_old  2021-06-01 10:40:35.973133576 +0200
+++ /var/tmp/diff_new_pack.kUviZl/_new  2021-06-01 10:40:35.977133584 +0200
@@ -19,16 +19,16 @@
 %global pkg_name time-compat
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.9.5
+Version:1.9.6
 Release:0
 Summary:Compatibility package for 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-base-orphans-devel
 BuildRequires:  ghc-deepseq-devel
+BuildRequires:  ghc-hashable-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-time-devel
 ExcludeArch:%{ix86}
@@ -65,7 +65,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ time-compat-1.9.5.tar.gz -> time-compat-1.9.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/time-compat-1.9.5/CHANGELOG.md 
new/time-compat-1.9.6/CHANGELOG.md
--- old/time-compat-1.9.5/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
+++ new/time-compat-1.9.6/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,10 @@
+# 1.9.6
+
+- Move `Hashable` instance here from `hashable-time` package.
+  Note: `ZonedTime` instance is dropped, as `ZonedTime` doesn't have `Eq`
+  instance.
+- Drop GHC-7.0 and GHC-7.2 support.
+
 # 1.9.5
 
 - Support `time-1.11.1`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/time-compat-1.9.5/src/Data/Time/Calendar/Compat.hs 
new/time-compat-1.9.6/src/Data/Time/Calendar/Compat.hs
--- old/time-compat-1.9.5/src/Data/Time/Calendar/Compat.hs  2001-09-09 
03:46:40.0 +0200
+++ new/time-compat-1.9.6/src/Data/Time/Calendar/Compat.hs  2001-09-09 
03:46:40.0 +0200
@@ -61,7 +61,7 @@
 -- CalendarDiffTime
 ---
 
-#if MIN_VERSION_time(1,9,0) && !MIN_VERSION_base(1,9,2)
+#if MIN_VERSION_time(1,9,0) && !MIN_VERSION_time(1,9,2)
 deriving instance Typeable CalendarDiffDays
 deriving instance Data CalendarDiffDays
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/time-compat-1.9.5/src/Data/Time/Calendar/Month/Compat.hs 
new/time-compat-1.9.6/src/Data/Time/Calendar/Month/Compat.hs
--- old/time-compat-1.9.5/src/Data/Time/Calendar/Month/Compat.hs
2001-09-09 03:46:40.0 +0200
+++ new/time-compat-1.9.6/src/Data/Time/Calendar/Month/Compat.hs
2001-09-09 03:46:40.0 +0200
@@ -60,6 +60,7 @@
 import Text.ParserCombinators.ReadP
 import Control.DeepSeq (NFData (..))
 import Data.Ix (Ix (..))
+import Data.Hashable (Hashable (..))
 
 -- | An absolute count of common calendar months.
 -- Number is equal to @(year * 12) + (monthOfYear - 1)@.
@@ -68,6 +69,9 @@
 instance NFData Month where
 rnf (MkMonth m) = rnf m
 
+instance Hashable Month where
+hashWithSalt salt (MkMonth x) = hashWithSalt salt x
+
 instance Enum Month where
 succ (MkMonth a) = MkMonth (succ a)
 pred (MkMonth a) = MkMonth (pred a)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/time-compat-1.9.5/src/Data/Time/Calendar/Quarter/Compat.hs 

commit ghc-time-compat for openSUSE:Factory

2021-03-10 Thread Source-Sync
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-03-10 08:55:46

Comparing /work/SRC/openSUSE:Factory/ghc-time-compat (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-time-compat.new.2378 (New)


Package is "ghc-time-compat"

Wed Mar 10 08:55:46 2021 rev:9 rq:877680 version:1.9.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-time-compat/ghc-time-compat.changes  
2020-12-22 11:47:42.633923111 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-time-compat.new.2378/ghc-time-compat.changes
2021-03-10 08:57:45.218919846 +0100
@@ -1,0 +2,6 @@
+Mon Feb 15 07:45:48 UTC 2021 - psim...@suse.com
+
+- Update time-compat to version 1.9.5 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---

New:

  time-compat.cabal



Other differences:
--
++ ghc-time-compat.spec ++
--- /var/tmp/diff_new_pack.P3bcBp/_old  2021-03-10 08:57:45.918920569 +0100
+++ /var/tmp/diff_new_pack.P3bcBp/_new  2021-03-10 08:57:45.922920573 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-time-compat
 #
-# 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
@@ -25,6 +25,7 @@
 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-base-orphans-devel
 BuildRequires:  ghc-deepseq-devel
@@ -64,6 +65,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ time-compat.cabal ++
cabal-version:  1.12
name:   time-compat
version:1.9.5
x-revision: 1
synopsis:   Compatibility package for time
description:
  This packages tries to compat as much of @time@ features as possible.
  .
  /TODO:/
  .
  * Difference type @ParseTime@ and @FormatTime@ instances are missing.
  .
  * Formatting varies depending on underlying @time@ version
  .
  * @dayFractionToTimeOfDay@ on extreme values

category:   Time, Compatibility
license:BSD3
license-file:   LICENSE
maintainer: Oleg Grenrus 
author: Ashley Yakeley
homepage:   https://github.com/haskellari/time-compat
bug-reports:https://github.com/haskellari/time-compat/issues
build-type: Simple
extra-source-files: CHANGELOG.md
tested-with:
  GHC ==7.0.4
   || ==7.2.2
   || ==7.4.2
   || ==7.6.3
   || ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.3

source-repository head
  type: git
  location: https://github.com/haskellari/time-compat.git

flag old-locale
  description: If true, use old-locale, otherwise use time 1.5 or newer.
  manual:  False
  default: False

library
  default-language: Haskell2010
  hs-source-dirs:   src
  other-extensions: CPP

  if impl(ghc >=7.2)
default-extensions: Trustworthy

  build-depends:
  base  >=4.3 && <4.16
, base-orphans  >=0.8.1   && <0.9
, deepseq   >=1.3.0.0 && <1.4 || >=1.4.1.1 && <1.5
, time  >=1.2 && <1.3 || >=1.4 && <1.7 || >=1.8 && <1.9 || 
>=1.9.2 && <1.9.4 || >=1.10 && <1.10.1 || >=1.11 && <1.11.2

  if flag(old-locale)
build-depends:
old-locale  >=1.0.0.2 && <1.1
  , time>=0   && <1.5

  else
build-depends: time >=1.5

  if !impl(ghc >=8.0)
build-depends:
fail>=4.9.0.0 && <4.10
  , semigroups  >=0.18.5  && <0.20

  exposed-modules:
Data.Time.Calendar.Compat
Data.Time.Calendar.Easter.Compat
Data.Time.Calendar.Julian.Compat
Data.Time.Calendar.Month.Compat
Data.Time.Calendar.MonthDay.Compat
Data.Time.Calendar.OrdinalDate.Compat
Data.Time.Calendar.Quarter.Compat
Data.Time.Calendar.WeekDate.Compat
Data.Time.Clock.Compat
Data.Time.Clock.POSIX.Compat
Data.Time.Clock.System.Compat
Data.Time.Clock.TAI.Compat
Data.Time.Compat
Data.Time.Format.Compat
Data.Time.Format.ISO8601.Compat
Data.Time.LocalTime.Compat

  other-modules:
Data.Format
Data.Time.Calendar.Private
Data.Time.Calendar.Types
Data.Time.Orphans

test-suite instances
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs:   test-instances
  main-is:  

[opensuse-commit] commit ghc-time-compat for openSUSE:Factory

2020-11-13 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package ghc-time-compat for openSUSE:Factory 
checked in at 2020-11-11 20:46:07

Comparing /work/SRC/openSUSE:Factory/ghc-time-compat (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-time-compat.new.26437 (New)


Package is "ghc-time-compat"

Wed Nov 11 20:46:07 2020 rev:7 rq:847475 version:1.9.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-time-compat/ghc-time-compat.changes  
2020-08-28 21:39:37.620844579 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-time-compat.new.26437/ghc-time-compat.changes   
2020-11-11 20:46:09.343632435 +0100
@@ -1,0 +2,16 @@
+Mon Nov  2 03:03:08 UTC 2020 - psim...@suse.com
+
+- Update time-compat to version 1.9.4.
+  # 1.9.4
+
+  - Support `time-1.11`
+- `Data.Time.Calendar.Month`
+- `Data.Time.Calendar.Quarter`
+- Pattern synonyms
+- `parseTimeMultipleM` is not backported
+- `Month` is missing `ParseTime` instance
+- Compat extras:
+  - Add `Ix`, `Enum`, `NFData` instances to `Month`, `Quarter`, 
`QuarterOfYear`,
+`CalendarDiffTime` and `DayOfWeek`.
+
+---

Old:

  time-compat-1.9.3.tar.gz

New:

  time-compat-1.9.4.tar.gz



Other differences:
--
++ ghc-time-compat.spec ++
--- /var/tmp/diff_new_pack.FJ4W8u/_old  2020-11-11 20:46:10.275633360 +0100
+++ /var/tmp/diff_new_pack.FJ4W8u/_new  2020-11-11 20:46:10.279633364 +0100
@@ -19,7 +19,7 @@
 %global pkg_name time-compat
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.9.3
+Version:1.9.4
 Release:0
 Summary:Compatibility package for time
 License:BSD-3-Clause

++ time-compat-1.9.3.tar.gz -> time-compat-1.9.4.tar.gz ++
 10370 lines of diff (skipped)
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org