Hello community,

here is the log from the commit of package ghc-turtle for openSUSE:Factory 
checked in at 2020-08-28 21:40:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-turtle (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-turtle.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-turtle"

Fri Aug 28 21:40:01 2020 rev:13 rq:829462 version:1.5.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-turtle/ghc-turtle.changes    2020-06-19 
17:20:13.427344048 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-turtle.new.3399/ghc-turtle.changes  
2020-08-28 21:40:03.336856764 +0200
@@ -1,0 +2,22 @@
+Tue Aug 18 10:46:23 UTC 2020 - Peter Simons <[email protected]>
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+-------------------------------------------------------------------
+Sun Aug 16 02:01:46 UTC 2020 - [email protected]
+
+- Update turtle to version 1.5.21.
+  1.5.21
+
+  * Build against `optparse-applicative-0.16.0.0`
+
+-------------------------------------------------------------------
+Wed Aug 12 02:00:40 UTC 2020 - [email protected]
+
+- Update turtle to version 1.5.20.
+  1.5.20
+
+  * Build against `doctest-0.17`
+  * Only depend on `semigroups` for GHC < 8.0
+
+-------------------------------------------------------------------

Old:
----
  turtle-1.5.19.tar.gz
  turtle.cabal

New:
----
  turtle-1.5.21.tar.gz

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

Other differences:
------------------
++++++ ghc-turtle.spec ++++++
--- /var/tmp/diff_new_pack.SIzQHb/_old  2020-08-28 21:40:05.036857570 +0200
+++ /var/tmp/diff_new_pack.SIzQHb/_new  2020-08-28 21:40:05.040857572 +0200
@@ -19,13 +19,12 @@
 %global pkg_name turtle
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.5.19
+Version:        1.5.21
 Release:        0
 Summary:        Shell programming, Haskell-style
 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-ansi-wl-pprint-devel
 BuildRequires:  ghc-async-devel
@@ -41,7 +40,6 @@
 BuildRequires:  ghc-optparse-applicative-devel
 BuildRequires:  ghc-process-devel
 BuildRequires:  ghc-rpm-macros
-BuildRequires:  ghc-semigroups-devel
 BuildRequires:  ghc-stm-devel
 BuildRequires:  ghc-streaming-commons-devel
 BuildRequires:  ghc-system-fileio-devel
@@ -54,7 +52,6 @@
 BuildRequires:  ghc-unix-devel
 %if %{with tests}
 BuildRequires:  ghc-doctest-devel
-BuildRequires:  ghc-fail-devel
 %endif
 
 %description
@@ -98,8 +95,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build

++++++ turtle-1.5.19.tar.gz -> turtle-1.5.21.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turtle-1.5.19/CHANGELOG.md 
new/turtle-1.5.21/CHANGELOG.md
--- old/turtle-1.5.19/CHANGELOG.md      2001-09-09 03:46:40.000000000 +0200
+++ new/turtle-1.5.21/CHANGELOG.md      2020-08-15 07:54:22.000000000 +0200
@@ -1,3 +1,12 @@
+1.5.21
+
+* Build against `optparse-applicative-0.16.0.0`
+
+1.5.20
+
+* Build against `doctest-0.17`
+* Only depend on `semigroups` for GHC < 8.0
+
 1.5.19
 
 * Add pattern synonyms for `Size`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turtle-1.5.19/src/Turtle/Options.hs 
new/turtle-1.5.21/src/Turtle/Options.hs
--- old/turtle-1.5.19/src/Turtle/Options.hs     2001-09-09 03:46:40.000000000 
+0200
+++ new/turtle-1.5.21/src/Turtle/Options.hs     2020-08-15 07:54:22.000000000 
+0200
@@ -284,7 +284,7 @@
     s <- Opts.readerAsk
     case f (Text.pack s) of
         Just a -> return a
-        Nothing -> Opts.readerAbort Opts.ShowHelpText
+        Nothing -> Opts.readerAbort (Opts.ShowHelpText Nothing)
 
 {-| Create a sub-command that parses `CommandName` and then parses the rest
     of the command-line arguments
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turtle-1.5.19/src/Turtle/Prelude.hs 
new/turtle-1.5.21/src/Turtle/Prelude.hs
--- old/turtle-1.5.19/src/Turtle/Prelude.hs     2001-09-09 03:46:40.000000000 
+0200
+++ new/turtle-1.5.21/src/Turtle/Prelude.hs     2020-08-15 07:54:22.000000000 
+0200
@@ -896,7 +896,11 @@
 arguments = liftIO (fmap (map pack) getArgs)
 
 #if __GLASGOW_HASKELL__ >= 710
--- | Set or modify an environment variable
+{-| Set or modify an environment variable
+
+    Note: This will change the current environment for all of your program's
+    threads since this modifies the global state of the process
+-}
 export :: MonadIO io => Text -> Text -> io ()
 export key val = liftIO (setEnv (unpack key) (unpack val))
 
@@ -919,7 +923,11 @@
   where
     toTexts (key, val) = (pack key, pack val)
 
--- | Change the current directory
+{-| Change the current directory
+
+    Note: This will change the current directory for all of your program's
+    threads since this modifies the global state of the process
+-}
 cd :: MonadIO io => FilePath -> io ()
 cd path = liftIO (Filesystem.setWorkingDirectory path)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turtle-1.5.19/turtle.cabal 
new/turtle-1.5.21/turtle.cabal
--- old/turtle-1.5.19/turtle.cabal      2001-09-09 03:46:40.000000000 +0200
+++ new/turtle-1.5.21/turtle.cabal      2020-08-15 07:54:22.000000000 +0200
@@ -1,5 +1,5 @@
 Name: turtle
-Version: 1.5.19
+Version: 1.5.21
 Cabal-Version: >=1.10
 Build-Type: Simple
 License: BSD3
@@ -60,7 +60,6 @@
         hostname                           < 1.1 ,
         managed              >= 1.0.3   && < 1.1 ,
         process              >= 1.0.1.1 && < 1.7 ,
-        semigroups           >= 0.5.0   && < 0.20,
         system-filepath      >= 0.3.1   && < 0.5 ,
         system-fileio        >= 0.2.1   && < 0.4 ,
         stm                                < 2.6 ,
@@ -69,7 +68,7 @@
         text                 >= 1.0.0   && < 1.3 ,
         time                               < 1.10,
         transformers         >= 0.2.0.0 && < 0.6 ,
-        optparse-applicative >= 0.13    && < 0.16,
+        optparse-applicative >= 0.16    && < 0.17,
         optional-args        >= 1.0     && < 2.0 ,
         unix-compat          >= 0.4     && < 0.6
     if os(windows)
@@ -77,7 +76,8 @@
     else
         Build-Depends: unix  >= 2.5.1.0 && < 2.8
     if !impl(ghc >= 8.0)
-        Build-Depends: fail  >= 4.9.0.0 && < 4.10
+        Build-Depends: fail        >= 4.9.0.0 && < 4.10,
+                       semigroups  >= 0.5.0   && < 0.20
     Exposed-Modules:
         Turtle,
         Turtle.Bytes,
@@ -101,7 +101,7 @@
     Default-Language: Haskell2010
     Build-Depends:
         base    >= 4   && < 5   ,
-        doctest >= 0.7 && < 0.17
+        doctest >= 0.7 && < 0.18
 
 test-suite regression-broken-pipe
     Type: exitcode-stdio-1.0
@@ -131,10 +131,11 @@
     Default-Language: Haskell2010
     Build-Depends:
         base   >= 4 && < 5,
-        fail,
         temporary,
         system-filepath >= 0.4,
         turtle
+    if !impl(ghc >= 8.0)
+        Build-Depends: fail
 
 benchmark bench
     Type: exitcode-stdio-1.0


Reply via email to