Hello community,

here is the log from the commit of package ghc-microlens-th for 
openSUSE:Factory checked in at 2019-06-30 10:21:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-microlens-th (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-microlens-th.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-microlens-th"

Sun Jun 30 10:21:43 2019 rev:11 rq:712505 version:0.4.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-microlens-th/ghc-microlens-th.changes        
2019-06-19 21:12:31.146749426 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-microlens-th.new.4615/ghc-microlens-th.changes  
    2019-06-30 10:21:44.419642474 +0200
@@ -1,0 +2,17 @@
+Fri Jun 21 02:03:05 UTC 2019 - psim...@suse.com
+
+- Update microlens-th to version 0.4.3.1.
+  # 0.4.3.1
+
+  * No more conditional `Safe` (see 
[#122](https://github.com/monadfix/microlens/issues/122)).
+
+-------------------------------------------------------------------
+Wed Jun 19 11:46:07 UTC 2019 - psim...@suse.com
+
+- Update microlens-th to version 0.4.3.
+  Upstream has edited the change log file since the last release in
+  a non-trivial way, i.e. they did more than just add a new entry
+  at the top. You can review the file at:
+  http://hackage.haskell.org/package/microlens-th-0.4.3/src/CHANGELOG.md
+
+-------------------------------------------------------------------

Old:
----
  microlens-th-0.4.2.3.tar.gz
  microlens-th.cabal

New:
----
  microlens-th-0.4.3.1.tar.gz

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

Other differences:
------------------
++++++ ghc-microlens-th.spec ++++++
--- /var/tmp/diff_new_pack.pfSpvY/_old  2019-06-30 10:21:45.179643654 +0200
+++ /var/tmp/diff_new_pack.pfSpvY/_new  2019-06-30 10:21:45.183643660 +0200
@@ -19,14 +19,13 @@
 %global pkg_name microlens-th
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.4.2.3
+Version:        0.4.3.1
 Release:        0
 Summary:        Automatic generation of record lenses for microlens
 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
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-microlens-devel
@@ -42,8 +41,8 @@
 microlens).
 
 This package is a part of the <http://hackage.haskell.org/package/microlens
-microlens> family; see the readme <https://github.com/aelve/microlens#readme on
-Github>.
+microlens> family; see the readme <https://github.com/monadfix/microlens#readme
+on Github>.
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
@@ -58,7 +57,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ microlens-th-0.4.2.3.tar.gz -> microlens-th-0.4.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microlens-th-0.4.2.3/CHANGELOG.md 
new/microlens-th-0.4.3.1/CHANGELOG.md
--- old/microlens-th-0.4.2.3/CHANGELOG.md       2018-09-28 08:48:04.000000000 
+0200
+++ new/microlens-th-0.4.3.1/CHANGELOG.md       2019-06-20 07:44:15.000000000 
+0200
@@ -1,3 +1,13 @@
+# 0.4.3.1
+
+* No more conditional `Safe` (see 
[#122](https://github.com/monadfix/microlens/issues/122)).
+
+# 0.4.3
+
+* Bumped th-abstraction version.
+* `Lens.Micro.TH` is now properly marked as `Safe` or `Trustworthy`.
+* The `-f-inlining` flag is not supported anymore.
+
 # 0.4.2.3
 
 * Bumped template-haskell version.
@@ -33,7 +43,7 @@
 
 # 0.4.0.1
 
-* Ported a lens commit that (probably) makes lens generation deterministic. 
See [issue #83](https://github.com/aelve/microlens/issues/83).
+* Ported a lens commit that (probably) makes lens generation deterministic. 
See [issue #83](https://github.com/monadfix/microlens/issues/83).
 
 # 0.4.0.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microlens-th-0.4.2.3/LICENSE 
new/microlens-th-0.4.3.1/LICENSE
--- old/microlens-th-0.4.2.3/LICENSE    2018-09-28 08:41:06.000000000 +0200
+++ new/microlens-th-0.4.3.1/LICENSE    2019-04-27 15:54:34.000000000 +0200
@@ -1,4 +1,5 @@
-Copyright (c) 2013-2016 Eric Mertens, Edward Kmett, Artyom
+Copyright (c) 2013-2016 Eric Mertens, Edward Kmett, Artyom Kazak
+              2018 Monadfix
 
 All rights reserved.
 
@@ -13,7 +14,7 @@
       disclaimer in the documentation and/or other materials provided
       with the distribution.
 
-    * Neither the name of Artyom nor the names of other
+    * Neither the name of Monadfix nor the names of other
       contributors may be used to endorse or promote products derived
       from this software without specific prior written permission.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microlens-th-0.4.2.3/microlens-th.cabal 
new/microlens-th-0.4.3.1/microlens-th.cabal
--- old/microlens-th-0.4.2.3/microlens-th.cabal 2018-09-28 08:48:12.000000000 
+0200
+++ new/microlens-th-0.4.3.1/microlens-th.cabal 2019-06-20 07:44:05.000000000 
+0200
@@ -1,30 +1,33 @@
 name:                microlens-th
-version:             0.4.2.3
+version:             0.4.3.1
 synopsis:            Automatic generation of record lenses for microlens
 description:
   This package lets you automatically generate lenses for data types; code was 
extracted from the lens package, and therefore generated lenses are fully 
compatible with ones generated by lens (and can be used both from lens and 
microlens).
   .
-  This package is a part of the <http://hackage.haskell.org/package/microlens 
microlens> family; see the readme <https://github.com/aelve/microlens#readme on 
Github>.
+  This package is a part of the <http://hackage.haskell.org/package/microlens 
microlens> family; see the readme <https://github.com/monadfix/microlens#readme 
on Github>.
 license:             BSD3
 license-file:        LICENSE
-author:              Eric Mertens, Edward Kmett, Artyom
-maintainer:          Artyom <y...@artyom.me>
-homepage:            http://github.com/aelve/microlens
-bug-reports:         http://github.com/aelve/microlens/issues
+author:              Eric Mertens, Edward Kmett, Artyom Kazak
+maintainer:          Monadfix <h...@monadfix.io>
+homepage:            http://github.com/monadfix/microlens
+bug-reports:         http://github.com/monadfix/microlens/issues
 category:            Data, Lenses
 build-type:          Simple
 extra-source-files:
   CHANGELOG.md
 cabal-version:       >=1.10
+tested-with:         GHC==7.4.2
+                     GHC==7.6.3
+                     GHC==7.8.4
+                     GHC==7.10.3
+                     GHC==8.0.2
+                     GHC==8.2.2
+                     GHC==8.4.4
+                     GHC==8.6.4
 
 source-repository head
   type:                git
-  location:            git://github.com/aelve/microlens.git
-
-flag inlining
-  description:         Generate inline pragmas
-  manual:              True
-  default:             True
+  location:            git://github.com/monadfix/microlens.git
 
 library
   exposed-modules:     Lens.Micro.TH
@@ -36,10 +39,7 @@
                      , transformers
                      -- lens has >=2.4, but GHC 7.4 shipped with 2.7
                      , template-haskell >=2.7 && <2.15
-                     , th-abstraction >=0.2.1 && <0.3
-
-  if flag(inlining)
-    cpp-options: -DINLINING
+                     , th-abstraction >=0.2.1 && <0.4
 
   ghc-options:
     -Wall -fwarn-tabs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microlens-th-0.4.2.3/src/Lens/Micro/TH.hs 
new/microlens-th-0.4.3.1/src/Lens/Micro/TH.hs
--- old/microlens-th-0.4.2.3/src/Lens/Micro/TH.hs       2018-09-28 
08:41:06.000000000 +0200
+++ new/microlens-th-0.4.3.1/src/Lens/Micro/TH.hs       2019-06-18 
23:51:14.000000000 +0200
@@ -1,16 +1,8 @@
 {-# LANGUAGE CPP #-}
-{-# LANGUAGE TemplateHaskell #-}
 {-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE FlexibleContexts #-}
 {-# LANGUAGE ScopedTypeVariables #-}
-
-#ifdef TRUSTWORTHY
-# if MIN_VERSION_template_haskell(2,12,0)
-{-# LANGUAGE Safe #-}
-# else
 {-# LANGUAGE Trustworthy #-}
-# endif
-#endif
 
 #ifndef MIN_VERSION_template_haskell
 #define MIN_VERSION_template_haskell(x,y,z) (defined(__GLASGOW_HASKELL__) && 
__GLASGOW_HASKELL__ >= 706)
@@ -20,10 +12,16 @@
 #define MIN_VERSION_containers(x,y,z) 1
 #endif
 
+#if __GLASGOW_HASKELL__ >= 800
+{-# LANGUAGE TemplateHaskellQuotes #-}
+#else
+{-# LANGUAGE TemplateHaskell #-}
+#endif
+
 
 {- |
 Module      :  Lens.Micro.TH
-Copyright   :  (C) 2013-2016 Eric Mertens, Edward Kmett, Artyom
+Copyright   :  (C) 2013-2016 Eric Mertens, Edward Kmett, Artyom Kazak; 2018 
Monadfix
 License     :  BSD-style (see the file LICENSE)
 -}
 module Lens.Micro.TH
@@ -1371,26 +1369,8 @@
 ------------------------------------------------------------------------
 
 inlinePragma :: Name -> [DecQ]
-
-#ifdef INLINING
-
 #if MIN_VERSION_template_haskell(2,8,0)
-
-# ifdef OLD_INLINE_PRAGMAS
--- 7.6rc1?
-inlinePragma methodName = [pragInlD methodName (inlineSpecNoPhase Inline 
False)]
-# else
--- 7.7.20120830
 inlinePragma methodName = [pragInlD methodName Inline FunLike AllPhases]
-# endif
-
 #else
--- GHC <7.6, TH <2.8.0
 inlinePragma methodName = [pragInlD methodName (inlineSpecNoPhase True False)]
 #endif
-
-#else
-
-inlinePragma _ = []
-
-#endif


Reply via email to