commit ghc-yesod for openSUSE:Factory

2020-09-23 Thread root
Hello community,

here is the log from the commit of package ghc-yesod for openSUSE:Factory 
checked in at 2020-09-23 18:40:56

Comparing /work/SRC/openSUSE:Factory/ghc-yesod (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-yesod.new.4249 (New)


Package is "ghc-yesod"

Wed Sep 23 18:40:56 2020 rev:5 rq:836095 version:1.6.1.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-yesod/ghc-yesod.changes  2020-08-28 
21:41:53.844898738 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-yesod.new.4249/ghc-yesod.changes
2020-09-23 18:42:17.469425650 +0200
@@ -1,0 +2,5 @@
+Tue Sep 15 13:02:01 UTC 2020 - Michel Normand 
+
+- Add _constraints with 4GB disk space for aarch64 ppc64/ppc64le
+
+---

New:

  _constraints



Other differences:
--
++ _constraints ++

  

  ppc64
  ppc64le
  aarch64



  4


  





commit ghc-yesod for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-yesod for openSUSE:Factory 
checked in at 2020-08-28 21:41:53

Comparing /work/SRC/openSUSE:Factory/ghc-yesod (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-yesod.new.3399 (New)


Package is "ghc-yesod"

Fri Aug 28 21:41:53 2020 rev:4 rq:829509 version:1.6.1.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-yesod/ghc-yesod.changes  2020-08-18 
12:25:00.471821500 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-yesod.new.3399/ghc-yesod.changes
2020-08-28 21:41:53.844898738 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:46:46 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-yesod.spec ++
--- /var/tmp/diff_new_pack.Ik6Cfe/_old  2020-08-28 21:41:54.276898898 +0200
+++ /var/tmp/diff_new_pack.Ik6Cfe/_new  2020-08-28 21:41:54.276898898 +0200
@@ -64,7 +64,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build




commit ghc-yesod for openSUSE:Factory

2020-08-18 Thread root
Hello community,

here is the log from the commit of package ghc-yesod for openSUSE:Factory 
checked in at 2020-08-18 12:24:56

Comparing /work/SRC/openSUSE:Factory/ghc-yesod (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-yesod.new.3399 (New)


Package is "ghc-yesod"

Tue Aug 18 12:24:56 2020 rev:3 rq:825805 version:1.6.1.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-yesod/ghc-yesod.changes  2020-07-09 
13:20:18.149446904 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-yesod.new.3399/ghc-yesod.changes
2020-08-18 12:25:00.471821500 +0200
@@ -1,0 +2,8 @@
+Mon Aug 10 08:46:42 UTC 2020 - psim...@suse.com
+
+- Update yesod to version 1.6.1.0.
+  ## 1.6.1.0
+
+  * `widgetFileReload` and `widgetFileNoReload` now use absolute paths via the 
new `globFilePackage` Q Exp which can provide absolute templates paths within 
the project [#1691](https://github.com/yesodweb/yesod/pull/1691)
+
+---

Old:

  yesod-1.6.0.2.tar.gz

New:

  yesod-1.6.1.0.tar.gz



Other differences:
--
++ ghc-yesod.spec ++
--- /var/tmp/diff_new_pack.EdbX6P/_old  2020-08-18 12:25:01.615821977 +0200
+++ /var/tmp/diff_new_pack.EdbX6P/_new  2020-08-18 12:25:01.619821979 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name yesod
 Name:   ghc-%{pkg_name}
-Version:1.6.0.2
+Version:1.6.1.0
 Release:0
 Summary:Creation of type-safe, RESTful web applications
 License:MIT
@@ -31,9 +31,9 @@
 BuildRequires:  ghc-data-default-class-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-fast-logger-devel
+BuildRequires:  ghc-file-embed-devel
 BuildRequires:  ghc-monad-logger-devel
 BuildRequires:  ghc-rpm-macros
-BuildRequires:  ghc-semigroups-devel
 BuildRequires:  ghc-shakespeare-devel
 BuildRequires:  ghc-streaming-commons-devel
 BuildRequires:  ghc-template-haskell-devel

++ yesod-1.6.0.2.tar.gz -> yesod-1.6.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.6.0.2/ChangeLog.md 
new/yesod-1.6.1.0/ChangeLog.md
--- old/yesod-1.6.0.2/ChangeLog.md  2020-06-26 18:55:21.0 +0200
+++ new/yesod-1.6.1.0/ChangeLog.md  2020-08-09 07:49:50.0 +0200
@@ -1,3 +1,7 @@
+## 1.6.1.0
+
+* `widgetFileReload` and `widgetFileNoReload` now use absolute paths via the 
new `globFilePackage` Q Exp which can provide absolute templates paths within 
the project [#1691](https://github.com/yesodweb/yesod/pull/1691)
+
 ## 1.6.0.2
 
 * Replace deprecated decodeFile with decodeFileEither. This should have no 
semantic impact, but silences a deprecation warning. 
[#1658](https://github.com/yesodweb/yesod/pull/1658)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.6.0.2/Yesod/Default/Util.hs 
new/yesod-1.6.1.0/Yesod/Default/Util.hs
--- old/yesod-1.6.0.2/Yesod/Default/Util.hs 2018-08-01 03:09:20.0 
+0200
+++ new/yesod-1.6.1.0/Yesod/Default/Util.hs 2020-08-09 07:49:50.0 
+0200
@@ -5,6 +5,7 @@
 module Yesod.Default.Util
 ( addStaticContentExternal
 , globFile
+, globFilePackage
 , widgetFileNoReload
 , widgetFileReload
 , TemplateLanguage (..)
@@ -15,6 +16,7 @@
 ) where
 
 import qualified Data.ByteString.Lazy as L
+import Data.FileEmbed (makeRelativeToProject)
 import Data.Text (Text, pack, unpack)
 import Yesod.Core -- purposely using complete import so that Haddock will see 
addStaticContent
 import Control.Monad (when, unless)
@@ -64,6 +66,11 @@
 globFile :: String -> String -> FilePath
 globFile kind x = "templates/" ++ x ++ "." ++ kind
 
+-- | `globFile` but returned path is absolute and within the package the Q Exp 
is evaluated
+-- @since 1.6.1.0
+globFilePackage :: String -> String -> Q FilePath
+globFilePackage = (makeRelativeToProject <$>) . globFile
+
 data TemplateLanguage = TemplateLanguage
 { tlRequiresToWidget :: Bool
 , tlExtension :: String
@@ -124,7 +131,7 @@
  -> Bool -- ^ requires toWidget wrap
  -> String -> (FilePath -> Q Exp) -> Q (Maybe Exp)
 warnUnlessExists shouldWarn x wrap glob f = do
-let fn = globFile glob x
+fn <- globFilePackage glob x
 e <- qRunIO $ doesFileExist fn
 when (shouldWarn && not e) $ qRunIO $ putStrLn $ "widget file not found: " 
++ fn
 if e
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.6.0.2/yesod.cabal 
new/yesod-1.6.1.0/yesod.cabal
--- old/yesod-1.6.0.2/yesod.cabal   2020-06-26 18:59:14.0 +0200
+++ new/yesod-1.6.1.0/yesod.cabal   2020-08-09 07:49:50.0 +0200
@@ -1,5 +1,5 @@
 name:yesod
-version: 1.6.0.2
+version: 1.6.1.0

commit ghc-yesod for openSUSE:Factory

2020-07-09 Thread root
Hello community,

here is the log from the commit of package ghc-yesod for openSUSE:Factory 
checked in at 2020-07-09 13:19:48

Comparing /work/SRC/openSUSE:Factory/ghc-yesod (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-yesod.new.3060 (New)


Package is "ghc-yesod"

Thu Jul  9 13:19:48 2020 rev:2 rq:819595 version:1.6.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-yesod/ghc-yesod.changes  2020-06-19 
17:06:15.728933006 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-yesod.new.3060/ghc-yesod.changes
2020-07-09 13:20:18.149446904 +0200
@@ -1,0 +2,8 @@
+Sat Jun 27 02:00:25 UTC 2020 - psim...@suse.com
+
+- Update yesod to version 1.6.0.2.
+  ## 1.6.0.2
+
+  * Replace deprecated decodeFile with decodeFileEither. This should have no 
semantic impact, but silences a deprecation warning. 
[#1658](https://github.com/yesodweb/yesod/pull/1658)
+
+---

Old:

  yesod-1.6.0.1.tar.gz

New:

  yesod-1.6.0.2.tar.gz



Other differences:
--
++ ghc-yesod.spec ++
--- /var/tmp/diff_new_pack.ElGWTP/_old  2020-07-09 13:20:19.001449596 +0200
+++ /var/tmp/diff_new_pack.ElGWTP/_new  2020-07-09 13:20:19.005449608 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name yesod
 Name:   ghc-%{pkg_name}
-Version:1.6.0.1
+Version:1.6.0.2
 Release:0
 Summary:Creation of type-safe, RESTful web applications
 License:MIT

++ yesod-1.6.0.1.tar.gz -> yesod-1.6.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.6.0.1/ChangeLog.md 
new/yesod-1.6.0.2/ChangeLog.md
--- old/yesod-1.6.0.1/ChangeLog.md  2020-01-25 23:04:04.0 +0100
+++ new/yesod-1.6.0.2/ChangeLog.md  2020-06-26 18:55:21.0 +0200
@@ -1,3 +1,7 @@
+## 1.6.0.2
+
+* Replace deprecated decodeFile with decodeFileEither. This should have no 
semantic impact, but silences a deprecation warning. 
[#1658](https://github.com/yesodweb/yesod/pull/1658)
+
 ## 1.6.0.1
 
 * Remove unnecessary deriving of Typeable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.6.0.1/Yesod/Default/Config.hs 
new/yesod-1.6.0.2/Yesod/Default/Config.hs
--- old/yesod-1.6.0.1/Yesod/Default/Config.hs   2020-01-25 23:04:04.0 
+0100
+++ new/yesod-1.6.0.2/Yesod/Default/Config.hs   2020-06-26 18:52:41.0 
+0200
@@ -179,8 +179,8 @@
-> IO (AppConfig environment extra)
 loadConfig (ConfigSettings env parseExtra getFile getObject) = do
 fp <- getFile env
-mtopObj <- decodeFile fp
-topObj <- maybe (fail "Invalid YAML file") return mtopObj
+etopObj <- decodeFileEither fp
+topObj <- either (const $ fail "Invalid YAML file") return etopObj
 obj <- getObject env topObj
 m <-
 case obj of
@@ -232,9 +232,10 @@
 -> (Value -> Parser a) -- ^ what to do with the mapping
 -> IO a
 withYamlEnvironment fp env f = do
-mval <- decodeFile fp
+mval <- decodeFileEither fp
 case mval of
-Nothing -> fail $ "Invalid YAML file: " ++ show fp
-Just (Object obj)
+Left err ->
+  fail $ "Invalid YAML file: " ++ show fp ++ " " ++ 
prettyPrintParseException err
+Right (Object obj)
 | Just v <- M.lookup (T.pack $ show env) obj -> parseMonad f v
 _ -> fail $ "Could not find environment: " ++ show env
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.6.0.1/Yesod/Default/Main.hs 
new/yesod-1.6.0.2/Yesod/Default/Main.hs
--- old/yesod-1.6.0.1/Yesod/Default/Main.hs 2020-01-25 23:04:04.0 
+0100
+++ new/yesod-1.6.0.2/Yesod/Default/Main.hs 2020-05-31 00:46:18.0 
+0200
@@ -77,7 +77,7 @@
   where
 shouldLog' = Warp.defaultShouldDisplayException
 
--- | Run your application continously, listening for SIGINT and exiting
+-- | Run your application continuously, listening for SIGINT and exiting
 --   when received
 --
 --   > withYourSite :: AppConfig DefaultEnv -> Logger -> (Application -> IO a) 
-> IO ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.6.0.1/yesod.cabal 
new/yesod-1.6.0.2/yesod.cabal
--- old/yesod-1.6.0.1/yesod.cabal   2020-01-25 23:04:04.0 +0100
+++ new/yesod-1.6.0.2/yesod.cabal   2020-06-26 18:59:14.0 +0200
@@ -1,5 +1,5 @@
 name:yesod
-version: 1.6.0.1
+version: 1.6.0.2
 license: MIT
 license-file:LICENSE
 author:  Michael Snoyman 
@@ -8,12 +8,13 @@
 description: API docs and the README are available at 

 category:Web, Yesod
 stabi

commit ghc-yesod for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-yesod for openSUSE:Factory 
checked in at 2017-09-15 22:27:49

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


Package is "ghc-yesod"

Fri Sep 15 22:27:49 2017 rev:6 rq:525738 version:1.4.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-yesod/ghc-yesod.changes  2017-04-11 
09:44:37.853592629 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-yesod.new/ghc-yesod.changes 2017-09-15 
22:27:49.272964296 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-yesod.spec ++
--- /var/tmp/diff_new_pack.LLsErj/_old  2017-09-15 22:27:50.056853867 +0200
+++ /var/tmp/diff_new_pack.LLsErj/_new  2017-09-15 22:27:50.056853867 +0200
@@ -22,8 +22,8 @@
 Release:0
 Summary:Creation of type-safe, RESTful web applications
 License:MIT
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+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
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-aeson-devel
@@ -55,7 +55,6 @@
 BuildRequires:  ghc-yesod-core-devel
 BuildRequires:  ghc-yesod-form-devel
 BuildRequires:  ghc-yesod-persistent-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 API docs and the README are available at
@@ -63,7 +62,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -88,11 +87,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc ChangeLog.md README.md
 
 %changelog




commit ghc-yesod for openSUSE:Factory

2017-04-11 Thread root
Hello community,

here is the log from the commit of package ghc-yesod for openSUSE:Factory 
checked in at 2017-04-11 09:44:36

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


Package is "ghc-yesod"

Tue Apr 11 09:44:36 2017 rev:5 rq:485226 version:1.4.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-yesod/ghc-yesod.changes  2017-03-28 
15:20:25.408851126 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-yesod.new/ghc-yesod.changes 2017-04-11 
09:44:37.853592629 +0200
@@ -1,0 +2,5 @@
+Tue Mar  7 11:19:31 UTC 2017 - psim...@suse.com
+
+- Update to version 1.4.5 with cabal2obs.
+
+---

Old:

  yesod-1.4.4.tar.gz

New:

  yesod-1.4.5.tar.gz



Other differences:
--
++ ghc-yesod.spec ++
--- /var/tmp/diff_new_pack.nrd8vT/_old  2017-04-11 09:44:39.769322007 +0200
+++ /var/tmp/diff_new_pack.nrd8vT/_new  2017-04-11 09:44:39.769322007 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name yesod
 Name:   ghc-%{pkg_name}
-Version:1.4.4
+Version:1.4.5
 Release:0
 Summary:Creation of type-safe, RESTful web applications
 License:MIT

++ yesod-1.4.4.tar.gz -> yesod-1.4.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.4/ChangeLog.md new/yesod-1.4.5/ChangeLog.md
--- old/yesod-1.4.4/ChangeLog.md2017-01-04 16:57:49.0 +0100
+++ new/yesod-1.4.5/ChangeLog.md2017-02-08 10:15:32.0 +0100
@@ -1,3 +1,7 @@
+## 1.4.5
+
+* Fix warnings
+
 ## 1.4.4
 
 * Reduce dependencies
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.4/Yesod/Default/Config2.hs 
new/yesod-1.4.5/Yesod/Default/Config2.hs
--- old/yesod-1.4.4/Yesod/Default/Config2.hs2017-01-04 16:57:49.0 
+0100
+++ new/yesod-1.4.5/Yesod/Default/Config2.hs2017-02-05 13:38:01.0 
+0100
@@ -28,10 +28,6 @@
 
 import Data.Yaml.Config
 
-#if __GLASGOW_HASKELL__ < 710
-import Control.Applicative ((<$>))
-import Data.Monoid
-#endif
 import Data.Semigroup
 import Data.Aeson
 import qualified Data.HashMap.Strict as H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.4/Yesod/Default/Main.hs 
new/yesod-1.4.5/Yesod/Default/Main.hs
--- old/yesod-1.4.4/Yesod/Default/Main.hs   2017-01-04 16:57:49.0 
+0100
+++ new/yesod-1.4.5/Yesod/Default/Main.hs   2017-02-05 13:38:01.0 
+0100
@@ -41,8 +41,7 @@
 --   > main :: IO ()
 --   > main = defaultMain (fromArgs parseExtra) makeApplication
 --
-defaultMain :: (Show env, Read env)
-=> IO (AppConfig env extra)
+defaultMain :: IO (AppConfig env extra)
 -> (AppConfig env extra -> IO Application)
 -> IO ()
 defaultMain load getApp = do
@@ -60,8 +59,7 @@
 -- @Application@ to install Warp exception handlers.
 --
 -- Since 1.2.5
-defaultMainLog :: (Show env, Read env)
-   => IO (AppConfig env extra)
+defaultMainLog :: IO (AppConfig env extra)
-> (AppConfig env extra -> IO (Application, LogFunc))
-> IO ()
 defaultMainLog load getApp = do
@@ -113,8 +111,7 @@
 -- | Run your development app using a custom environment type and loader
 --   function
 defaultDevelApp
-:: (Show env, Read env)
-=> IO (AppConfig env extra) -- ^ A means to load your development 
@'AppConfig'@
+:: IO (AppConfig env extra) -- ^ A means to load your development 
@'AppConfig'@
 -> (AppConfig env extra -> IO Application) -- ^ Get your @Application@
 -> IO (Int, Application)
 defaultDevelApp load getApp = do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.4/yesod.cabal new/yesod-1.4.5/yesod.cabal
--- old/yesod-1.4.4/yesod.cabal 2017-01-04 16:57:49.0 +0100
+++ new/yesod-1.4.5/yesod.cabal 2017-02-08 10:15:35.0 +0100
@@ -1,5 +1,5 @@
 name:yesod
-version: 1.4.4
+version: 1.4.5
 license: MIT
 license-file:LICENSE
 author:  Michael Snoyman 




commit ghc-yesod for openSUSE:Factory

2017-03-28 Thread root
Hello community,

here is the log from the commit of package ghc-yesod for openSUSE:Factory 
checked in at 2017-03-28 15:20:24

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


Package is "ghc-yesod"

Tue Mar 28 15:20:24 2017 rev:4 rq:450628 version:1.4.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-yesod/ghc-yesod.changes  2016-12-13 
19:33:13.263981208 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-yesod.new/ghc-yesod.changes 2017-03-28 
15:20:25.408851126 +0200
@@ -1,0 +2,5 @@
+Mon Jan  9 06:36:41 UTC 2017 - psim...@suse.com
+
+- Update to version 1.4.4 with cabal2obs.
+
+---

Old:

  yesod-1.4.3.1.tar.gz

New:

  yesod-1.4.4.tar.gz



Other differences:
--
++ ghc-yesod.spec ++
--- /var/tmp/diff_new_pack.c8ltG5/_old  2017-03-28 15:20:27.348576399 +0200
+++ /var/tmp/diff_new_pack.c8ltG5/_new  2017-03-28 15:20:27.348576399 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-yesod
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -18,7 +18,7 @@
 
 %global pkg_name yesod
 Name:   ghc-%{pkg_name}
-Version:1.4.3.1
+Version:1.4.4
 Release:0
 Summary:Creation of type-safe, RESTful web applications
 License:MIT
@@ -32,14 +32,13 @@
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-conduit-devel
 BuildRequires:  ghc-conduit-extra-devel
-BuildRequires:  ghc-data-default-devel
+BuildRequires:  ghc-data-default-class-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-fast-logger-devel
 BuildRequires:  ghc-monad-control-devel
 BuildRequires:  ghc-monad-logger-devel
 BuildRequires:  ghc-resourcet-devel
 BuildRequires:  ghc-rpm-macros
-BuildRequires:  ghc-safe-devel
 BuildRequires:  ghc-semigroups-devel
 BuildRequires:  ghc-shakespeare-devel
 BuildRequires:  ghc-streaming-commons-devel
@@ -53,7 +52,6 @@
 BuildRequires:  ghc-wai-logger-devel
 BuildRequires:  ghc-warp-devel
 BuildRequires:  ghc-yaml-devel
-BuildRequires:  ghc-yesod-auth-devel
 BuildRequires:  ghc-yesod-core-devel
 BuildRequires:  ghc-yesod-form-devel
 BuildRequires:  ghc-yesod-persistent-devel

++ yesod-1.4.3.1.tar.gz -> yesod-1.4.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.3.1/ChangeLog.md 
new/yesod-1.4.4/ChangeLog.md
--- old/yesod-1.4.3.1/ChangeLog.md  2016-11-11 06:55:25.0 +0100
+++ new/yesod-1.4.4/ChangeLog.md2017-01-04 16:57:49.0 +0100
@@ -1,3 +1,7 @@
+## 1.4.4
+
+* Reduce dependencies
+
 ## 1.4.3.1
 
 *  Handle exceptions while writing a file in `addStaticContentExternal`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.3.1/Yesod/Default/Config2.hs 
new/yesod-1.4.4/Yesod/Default/Config2.hs
--- old/yesod-1.4.3.1/Yesod/Default/Config2.hs  2016-11-11 06:55:25.0 
+0100
+++ new/yesod-1.4.4/Yesod/Default/Config2.hs2017-01-04 16:57:49.0 
+0100
@@ -38,7 +38,7 @@
 import System.Environment (getEnvironment)
 import Network.Wai (Application)
 import Network.Wai.Handler.Warp
-import Safe (readMay)
+import Text.Read (readMaybe)
 import Data.Maybe (fromMaybe)
 import Control.Concurrent (forkIO, threadDelay)
 import System.Exit (exitSuccess)
@@ -96,8 +96,8 @@
 getDevSettings :: Settings -> IO Settings
 getDevSettings settings = do
 env <- getEnvironment
-let p = fromMaybe (getPort settings) $ lookup "PORT" env >>= readMay
-pdisplay = fromMaybe p $ lookup "DISPLAY_PORT" env >>= readMay
+let p = fromMaybe (getPort settings) $ lookup "PORT" env >>= readMaybe
+pdisplay = fromMaybe p $ lookup "DISPLAY_PORT" env >>= readMaybe
 putStrLn $ "Devel application launched: http://localhost:"; ++ show pdisplay
 return $ setPort p settings
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.3.1/Yesod/Default/Main.hs 
new/yesod-1.4.4/Yesod/Default/Main.hs
--- old/yesod-1.4.3.1/Yesod/Default/Main.hs 2016-11-11 06:55:25.0 
+0100
+++ new/yesod-1.4.4/Yesod/Default/Main.hs   2017-01-04 16:57:49.0 
+0100
@@ -22,7 +22,7 @@
 import Control.Monad (when)
 import System.Environment (getEnvironment)
 import Data.Maybe (fromMaybe)
-import Safe (readMay)
+import Text.Read (readMaybe)
 import Control.Monad.Logger (Loc, LogSource, LogLevel (LevelError), liftLoc)
 import System.Log.FastLogger (LogStr, toLogStr)
 import Language.Haskel

commit ghc-yesod for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-yesod for openSUSE:Factory 
checked in at 2016-07-20 09:22:54

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


Package is "ghc-yesod"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-yesod/ghc-yesod.changes  2016-05-03 
09:36:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-yesod.new/ghc-yesod.changes 2016-07-20 
09:22:55.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:35:18 UTC 2016 - psim...@suse.com
+
+- Update to version 1.4.3 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-yesod.spec ++
--- /var/tmp/diff_new_pack.KTENq1/_old  2016-07-20 09:22:56.0 +0200
+++ /var/tmp/diff_new_pack.KTENq1/_new  2016-07-20 09:22:56.0 +0200
@@ -79,20 +79,18 @@
 
 
 %build
-%{ghc_lib_build}
+%ghc_lib_build
 
 
 %install
-%{ghc_lib_install}
+%ghc_lib_install
 
 
 %post devel
-%{ghc_pkg_recache}
-
+%ghc_pkg_recache
 
 %postun devel
-%{ghc_pkg_recache}
-
+%ghc_pkg_recache
 
 %files -f %{name}.files
 %defattr(-,root,root,-)
@@ -100,6 +98,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md
+%doc ChangeLog.md README.md
 
 %changelog