Hello community,

here is the log from the commit of package ghc-path for openSUSE:Leap:15.2 
checked in at 2020-02-19 18:40:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/ghc-path (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.ghc-path.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-path"

Wed Feb 19 18:40:29 2020 rev:13 rq:771406 version:0.7.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/ghc-path/ghc-path.changes      2020-01-15 
15:02:26.593810667 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.ghc-path.new.26092/ghc-path.changes   
2020-02-19 18:40:29.482137296 +0100
@@ -1,0 +2,48 @@
+Mon Dec 30 03:01:20 UTC 2019 - [email protected]
+
+- Update path to version 0.7.0.
+  0.7.0:
+       * BREAKING CHANGE: "fileExtension" now throws an exception if the file 
has no
+               extension. You can use the result as a "Maybe" in pure
+               code or handle the exception appropriately in any other monad.
+       * Old extension operations "addFileExtension" and "setFileExtension" 
have
+               been deprecated and replaced by "addExtension" and 
"replaceExtension"
+               respectively with new behavior.
+               ADAPTING YOUR CODE TO THIS CHANGE:
+               * Code that sets an extension not starting with a "." e.g.  
"foo", must
+                 be changed such that it starts with a "." i.e. ".foo".
+               * Code that sets multiple extensions in one go e.g. ".tar.gz" 
must be
+                 changed to set them one at a time instead i.e. add ".tar" 
first and
+                 then add ".gz".
+               * Code that sets an extension starting with multiple dots e.g.
+                 "..foo" must be changed such as to make the extra dots part 
of the
+                 file name instead.
+               Details:
+               The new operations "addExtension" and "replaceExtension" accept 
only "valid"
+               extension forms which is exactly the same as what 
"fileExtension" returns.
+               A valid extension starts with a @.@ followed by one or more 
characters
+               not including @.@ followed by zero or more @.@s in trailing 
position.
+               This change allows extension operations to be principled 
following
+               these laws:
+               * flip addExtension file >=> fileExtension == return
+               * (fileExtension >=> flip replaceExtension file) file == return 
file
+       * Add splitExtension operation such that:
+               * uncurry addExtension . swap >=> splitExtension == return
+               * splitExtension >=> uncurry addExtension . swap == return
+               * fileExtension == (fmap snd) . splitExtension@
+       * Add 'Path.Posix' and 'Path.Windows' modules for manipulating
+               Windows or Posix style paths independently of the current 
platform.
+       * Add 'Lift' instance for 'Path'.
+       * `Path.Windows` normalizes path separators throughout path,
+               including immediately following drive letter.
+       * `Path.Windows` handles UNC (`\\host\share\`) and Unicode (`\\?\C:\`) 
path
+               without breaking the double-separator prefix.
+       * Remove support for old GHC version. The oldest supported version
+       is 8.2.
+
+-------------------------------------------------------------------
+Fri Nov  8 16:14:24 UTC 2019 - Peter Simons <[email protected]>
+
+- Drop obsolete group attributes.
+
+-------------------------------------------------------------------

Old:
----
  path-0.6.1.tar.gz

New:
----
  path-0.7.0.tar.gz

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

Other differences:
------------------
++++++ ghc-path.spec ++++++
--- /var/tmp/diff_new_pack.Fbi0Ko/_old  2020-02-19 18:40:29.814137704 +0100
+++ /var/tmp/diff_new_pack.Fbi0Ko/_new  2020-02-19 18:40:29.818137708 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-path
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,11 +19,10 @@
 %global pkg_name path
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.6.1
+Version:        0.7.0
 Release:        0
 Summary:        Support for well-typed paths
 License:        BSD-3-Clause
-Group:          Development/Libraries/Haskell
 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
@@ -35,10 +34,12 @@
 BuildRequires:  ghc-hashable-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
+BuildRequires:  ghc-text-devel
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-genvalidity-devel
+BuildRequires:  ghc-genvalidity-hspec-devel
 BuildRequires:  ghc-genvalidity-property-devel
 BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-mtl-devel
@@ -50,7 +51,6 @@
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
-Group:          Development/Libraries/Haskell
 Requires:       %{name} = %{version}-%{release}
 Requires:       ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}

++++++ path-0.6.1.tar.gz -> path-0.7.0.tar.gz ++++++
++++ 2787 lines of diff (skipped)

++++++ path.cabal ++++++
--- /var/tmp/diff_new_pack.Fbi0Ko/_old  2020-02-19 18:40:29.910137821 +0100
+++ /var/tmp/diff_new_pack.Fbi0Ko/_new  2020-02-19 18:40:29.910137821 +0100
@@ -1,5 +1,5 @@
 name:                path
-version:             0.6.1
+version:             0.7.0
 x-revision: 1
 synopsis:            Support for well-typed paths
 description:         Support for well-typed paths.
@@ -7,24 +7,44 @@
 license-file:        LICENSE
 author:              Chris Done <[email protected]>
 maintainer:          Chris Done <[email protected]>
-copyright:           2015–2017 FP Complete
+copyright:           2015–2018 FP Complete
 category:            System, Filesystem
 build-type:          Simple
-cabal-version:       >=1.10
-tested-with:         GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
-extra-source-files:  README.md, CHANGELOG
+cabal-version:       1.18
+tested-with:         GHC==8.2.2, GHC==8.4.4, GHC==8.6.5
+extra-source-files:  README.md
+                   , CHANGELOG
+                   , src/Path/Include.hs
+
+flag dev
+  description:        Turn on development settings.
+  manual:             True
+  default:            False
 
 library
   hs-source-dirs:    src
-  ghc-options:       -Wall -O2
-  exposed-modules:   Path, Path.Internal
+  exposed-modules:   Path
+                   , Path.Internal
+                   , Path.Posix
+                   , Path.Windows
   build-depends:     aeson
-                   , base       >= 4.7     && < 5
+                   , base       >= 4.10     && < 5
                    , deepseq
                    , exceptions >= 0.4     && < 0.11
                    , filepath   < 1.2.0.1  || >= 1.3
-                   , hashable   >= 1.2     && < 1.3
+                   , hashable   >= 1.2     && < 1.4
+                   , text
                    , template-haskell
+  if flag(dev)
+    ghc-options:      -Wall -Werror
+  else
+    ghc-options:      -O2 -Wall
+  if flag(dev)
+    ghc-options:      -Wcompat
+                      -Wincomplete-record-updates
+                      -Wincomplete-uni-patterns
+                      -Wnoncanonical-monad-instances
+                      -Wnoncanonical-monadfail-instances
   default-language:  Haskell2010
 
 test-suite test
@@ -32,14 +52,19 @@
   main-is:           Main.hs
   other-modules:     Posix
                    , Windows
+                   , Common
   hs-source-dirs:    test
   build-depends:     aeson
-                   , base       >= 4.7     && < 5
+                   , base       >= 4.10     && < 5
                    , bytestring
                    , filepath   < 1.2.0.1  || >= 1.3
                    , hspec      >= 2.0     && < 3
                    , mtl        >= 2.0     && < 3
                    , path
+  if flag(dev)
+    ghc-options:      -Wall -Werror
+  else
+    ghc-options:      -O2 -Wall
   default-language:  Haskell2010
 
 test-suite validity-test
@@ -49,15 +74,16 @@
   hs-source-dirs:    test
   build-depends:     QuickCheck
                    , aeson
-                   , base       >= 4.7 && < 5
+                   , base       >= 4.10 && < 5
                    , bytestring
                    , filepath   < 1.2.0.1  || >= 1.3
-                   , genvalidity >= 0.3 && < 0.4
-                   , genvalidity-property >= 0.0 && < 0.1
+                   , genvalidity >= 0.8
+                   , genvalidity-property >= 0.4
+                   , genvalidity-hspec >= 0.7
                    , hspec      >= 2.0     && < 3
                    , mtl        >= 2.0     && < 3
                    , path
-                   , validity   >= 0.3.1.1 && < 0.4
+                   , validity   >= 0.8.0.0
   default-language:  Haskell2010
   ghc-options: -threaded -rtsopts -with-rtsopts=-N
 


Reply via email to