commit hpack for openSUSE:Factory

2020-09-30 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2020-09-30 19:53:49

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new.4249 (New)


Package is "hpack"

Wed Sep 30 19:53:49 2020 rev:19 rq:838500 version:0.34.2

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2020-08-28 
21:42:18.736907905 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new.4249/hpack.changes2020-09-30 
19:53:53.868758234 +0200
@@ -1,0 +2,27 @@
+Tue Sep 29 09:33:30 UTC 2020 - psim...@suse.com
+
+- Update hpack to version 0.34.2.
+  ## Changes in 0.34.2
+- Accept subcomponents as dependencies (close #382)
+
+  ## Changes in 0.34.1
+- Fix a bug in `github: ...` introduced with `0.34.0`
+  (f63eb19b956517b4dd8e28dc5785be5889a99298)
+
+  ## Changes in 0.34.0 (deprecated)
+- Use `PreferNoHash` as default `GenerateHashStrategy`
+- Add support for library `visibility` (see #382)
+- Reject URLs for `github`
+
+  ## Changes in 0.33.1
+- Add `GenerateHashStrategy`.  The default is `PreferHash` for `0.33.0` and
+  will change to `PreferNoHash` with `0.34.0`. See
+  https://github.com/sol/hpack/pull/390) for details.
+
+- Add command-line options `--hash` and `--no-hash`
+
+  ## Changes in 0.33.0.1
+- Silently ignore missing hash when the cabal file content didn't change at
+  all (for forward compatibility with #390)
+
+---

Old:

  _constraints
  hpack-0.33.0.tar.gz

New:

  hpack-0.34.2.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.kSuTYw/_old  2020-09-30 19:53:54.452758756 +0200
+++ /var/tmp/diff_new_pack.kSuTYw/_new  2020-09-30 19:53:54.456758761 +0200
@@ -19,7 +19,7 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.33.0
+Version:0.34.2
 Release:0
 Summary:A modern format for Haskell packages
 License:MIT
@@ -78,7 +78,7 @@
 This package provides the Haskell %{name} library development files.
 
 %prep
-%setup -q
+%autosetup
 
 %build
 %ghc_lib_build

++ hpack-0.33.0.tar.gz -> hpack-0.34.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.33.0/CHANGELOG.md 
new/hpack-0.34.2/CHANGELOG.md
--- old/hpack-0.33.0/CHANGELOG.md   2019-10-11 15:27:22.0 +0200
+++ new/hpack-0.34.2/CHANGELOG.md   2020-06-02 13:30:52.0 +0200
@@ -1,3 +1,26 @@
+## Changes in 0.34.2
+  - Accept subcomponents as dependencies (close #382)
+
+## Changes in 0.34.1
+  - Fix a bug in `github: ...` introduced with `0.34.0`
+(f63eb19b956517b4dd8e28dc5785be5889a99298)
+
+## Changes in 0.34.0 (deprecated)
+  - Use `PreferNoHash` as default `GenerateHashStrategy`
+  - Add support for library `visibility` (see #382)
+  - Reject URLs for `github`
+
+## Changes in 0.33.1
+  - Add `GenerateHashStrategy`.  The default is `PreferHash` for `0.33.0` and
+will change to `PreferNoHash` with `0.34.0`. See
+https://github.com/sol/hpack/pull/390) for details.
+
+  - Add command-line options `--hash` and `--no-hash`
+
+## Changes in 0.33.0.1
+  - Silently ignore missing hash when the cabal file content didn't change at
+all (for forward compatibility with #390)
+
 ## Changes in 0.33.0
   - Support GHC 8.8.1: `fail` is no longer a part of `Monad`. Instead, it lives
 in the `MonadFail` class. Adapting our code to this change meant changing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.33.0/hpack.cabal new/hpack-0.34.2/hpack.cabal
--- old/hpack-0.33.0/hpack.cabal2019-10-11 15:27:22.0 +0200
+++ new/hpack-0.34.2/hpack.cabal2020-06-02 13:30:52.0 +0200
@@ -1,13 +1,11 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.32.0.
+-- This file has been generated from package.yaml by hpack version 0.34.2.
 --
 -- see: https://github.com/sol/hpack
---
--- hash: dc706425edd9fa60b9662cefde8da5d890fb9cf19c8f0f9e01733b763bfcd06a
 
 name:   hpack
-version:0.33.0
+version:0.34.2
 synopsis:   A modern format for Haskell packages
 description:See README at 
 category:   Development
@@ -29,7 +27,7 @@
   src
   ghc-options: -Wall
   build-depends:
-  Cabal >=2.2
+  Cabal >=3.0.0.0
 , Glob >=0.9.0
 , aeson >=1.4.3.0
 , base >=4.9 && <5
@@ -85,7 +83,7 @@
   driver
   ghc-options: -Wall
   build-depends:
-  Cabal >=2.2
+  Cabal >=3.0.0.0
 , Glob >=0.9.0
 , aeson >=1.4.3.0
 , base >=4.9 && <5

commit hpack for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2020-08-28 21:42:18

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new.3399 (New)


Package is "hpack"

Fri Aug 28 21:42:18 2020 rev:18 rq:829523 version:0.33.0

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2019-12-27 
13:59:32.724837384 +0100
+++ /work/SRC/openSUSE:Factory/.hpack.new.3399/hpack.changes2020-08-28 
21:42:18.736907905 +0200
@@ -1,0 +2,5 @@
+Wed Aug 19 08:11:00 UTC 2020 - Michel Normand 
+
+- Add _constraints with 6GB min disk space for ppc64/ppc64le
+
+---

New:

  _constraints



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.3xdYao/_old  2020-08-28 21:42:19.232908088 +0200
+++ /var/tmp/diff_new_pack.3xdYao/_new  2020-08-28 21:42:19.236908090 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hpack
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ _constraints ++

  

  ppc64
  ppc64le



  6


  





commit hpack for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2019-12-27 13:59:30

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new.6675 (New)


Package is "hpack"

Fri Dec 27 13:59:30 2019 rev:17 rq:759572 version:0.33.0

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2019-10-18 
14:35:33.655906951 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new.6675/hpack.changes2019-12-27 
13:59:32.724837384 +0100
@@ -1,0 +2,15 @@
+Fri Nov  8 16:15:19 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---
+Sat Oct 12 02:01:57 UTC 2019 - psim...@suse.com
+
+- Update hpack to version 0.33.0.
+  ## Changes in 0.33.0
+- Support GHC 8.8.1: `fail` is no longer a part of `Monad`. Instead, it 
lives
+  in the `MonadFail` class. Adapting our code to this change meant changing
+  the types of exporting functions, unfortunately, hence the major version
+  bump.
+
+---

Old:

  hpack-0.32.0.tar.gz

New:

  hpack-0.33.0.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.YdYS91/_old  2019-12-27 13:59:33.212837620 +0100
+++ /var/tmp/diff_new_pack.YdYS91/_new  2019-12-27 13:59:33.216837622 +0100
@@ -19,11 +19,10 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.32.0
+Version:0.33.0
 Release:0
 Summary:A modern format for Haskell packages
 License:MIT
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{name}
 Source0:
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  chrpath
@@ -64,14 +63,12 @@
 
 %package -n ghc-%{name}
 Summary:Haskell %{name} library
-Group:  System/Libraries
 
 %description -n ghc-%{name}
 This package provides the Haskell %{name} shared library.
 
 %package -n ghc-%{name}-devel
 Summary:Haskell %{name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   ghc-%{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}

++ hpack-0.32.0.tar.gz -> hpack-0.33.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.32.0/CHANGELOG.md 
new/hpack-0.33.0/CHANGELOG.md
--- old/hpack-0.32.0/CHANGELOG.md   2019-08-29 03:53:03.0 +0200
+++ new/hpack-0.33.0/CHANGELOG.md   2019-10-11 15:27:22.0 +0200
@@ -1,3 +1,9 @@
+## Changes in 0.33.0
+  - Support GHC 8.8.1: `fail` is no longer a part of `Monad`. Instead, it lives
+in the `MonadFail` class. Adapting our code to this change meant changing
+the types of exporting functions, unfortunately, hence the major version
+bump.
+
 ## Changes in 0.32.0
   - Support Cabal 3.0
   - Switch reexported-modules to comma-separated list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.32.0/hpack.cabal new/hpack-0.33.0/hpack.cabal
--- old/hpack-0.32.0/hpack.cabal2019-08-29 03:53:03.0 +0200
+++ new/hpack-0.33.0/hpack.cabal2019-10-11 15:27:22.0 +0200
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.31.2.
+-- This file has been generated from package.yaml by hpack version 0.32.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: c5457d3b30dfe5c53d197ff823ed96a5e37e8958aceebdad81606299b87f341d
+-- hash: dc706425edd9fa60b9662cefde8da5d890fb9cf19c8f0f9e01733b763bfcd06a
 
 name:   hpack
-version:0.32.0
+version:0.33.0
 synopsis:   A modern format for Haskell packages
 description:See README at 
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.32.0/src/Data/Aeson/Config/Parser.hs 
new/hpack-0.33.0/src/Data/Aeson/Config/Parser.hs
--- old/hpack-0.32.0/src/Data/Aeson/Config/Parser.hs2019-08-29 
03:53:03.0 +0200
+++ new/hpack-0.33.0/src/Data/Aeson/Config/Parser.hs2019-10-11 
15:27:22.0 +0200
@@ -1,6 +1,7 @@
 {-# LANGUAGE GeneralizedNewtypeDeriving #-}
 {-# LANGUAGE ViewPatterns #-}
 {-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE CPP #-}
 module Data.Aeson.Config.Parser (
   Parser
 , runParser
@@ -31,6 +32,7 @@
 
 import   Control.Monad
 import   Control.Applicative
+import qualified Control.Monad.Fail as Fail
 import   

commit hpack for openSUSE:Factory

2019-10-18 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2019-10-18 14:35:31

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new.2352 (New)


Package is "hpack"

Fri Oct 18 14:35:31 2019 rev:16 rq:737229 version:0.32.0

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2019-03-06 
15:47:31.632448589 +0100
+++ /work/SRC/openSUSE:Factory/.hpack.new.2352/hpack.changes2019-10-18 
14:35:33.655906951 +0200
@@ -1,0 +2,8 @@
+Fri Aug 30 02:05:52 UTC 2019 - psim...@suse.com
+
+- Update hpack to version 0.32.0.
+  ## Changes in 0.32.0
+- Support Cabal 3.0
+- Switch reexported-modules to comma-separated list
+
+---

Old:

  hpack-0.31.2.tar.gz

New:

  hpack-0.32.0.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.7XESdz/_old  2019-10-18 14:35:34.275905336 +0200
+++ /var/tmp/diff_new_pack.7XESdz/_new  2019-10-18 14:35:34.275905336 +0200
@@ -19,7 +19,7 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.31.2
+Version:0.32.0
 Release:0
 Summary:A modern format for Haskell packages
 License:MIT

++ hpack-0.31.2.tar.gz -> hpack-0.32.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.2/CHANGELOG.md 
new/hpack-0.32.0/CHANGELOG.md
--- old/hpack-0.31.2/CHANGELOG.md   2019-03-03 05:34:36.0 +0100
+++ new/hpack-0.32.0/CHANGELOG.md   2019-08-29 03:53:03.0 +0200
@@ -1,3 +1,7 @@
+## Changes in 0.32.0
+  - Support Cabal 3.0
+  - Switch reexported-modules to comma-separated list
+
 ## Changes in 0.31.2
   - Add default value for maintainer (see #339)
   - Escape commas and spaces in filenames when generating cabal files
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.2/hpack.cabal new/hpack-0.32.0/hpack.cabal
--- old/hpack-0.31.2/hpack.cabal2019-03-03 05:34:36.0 +0100
+++ new/hpack-0.32.0/hpack.cabal2019-08-29 03:53:03.0 +0200
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.31.0.
+-- This file has been generated from package.yaml by hpack version 0.31.2.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 3d060180293c32b8d0c25b710d0f419e96a6cc6ec3f95ac5e70bb77f44cbafc3
+-- hash: c5457d3b30dfe5c53d197ff823ed96a5e37e8958aceebdad81606299b87f341d
 
 name:   hpack
-version:0.31.2
+version:0.32.0
 synopsis:   A modern format for Haskell packages
 description:See README at 
 category:   Development
@@ -31,7 +31,7 @@
   build-depends:
   Cabal >=2.2
 , Glob >=0.9.0
-, aeson >=1.2.1.0
+, aeson >=1.4.3.0
 , base >=4.9 && <5
 , bifunctors
 , bytestring
@@ -87,7 +87,7 @@
   build-depends:
   Cabal >=2.2
 , Glob >=0.9.0
-, aeson >=1.2.1.0
+, aeson >=1.4.3.0
 , base >=4.9 && <5
 , bifunctors
 , bytestring
@@ -125,7 +125,7 @@
 , Glob >=0.9.0
 , HUnit >=1.6.0.0
 , QuickCheck
-, aeson >=1.2.1.0
+, aeson >=1.4.3.0
 , base >=4.9 && <5
 , bifunctors
 , bytestring
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.2/src/Hpack/License.hs 
new/hpack-0.32.0/src/Hpack/License.hs
--- old/hpack-0.31.2/src/Hpack/License.hs   2019-03-03 05:34:36.0 
+0100
+++ new/hpack-0.32.0/src/Hpack/License.hs   2019-08-29 03:53:03.0 
+0200
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 {-# LANGUAGE DeriveFunctor #-}
 {-# LANGUAGE ViewPatterns #-}
 {-# LANGUAGE LambdaCase #-}
@@ -9,7 +10,11 @@
 import   Distribution.Version (mkVersion)
 import qualified Distribution.License as Cabal
 import qualified Distribution.SPDX.License as SPDX
+#if MIN_VERSION_Cabal(3,0,0)
+import   Distribution.Parsec (eitherParsec)
+#else
 import   Distribution.Parsec.Class (eitherParsec)
+#endif
 
 import qualified Data.License.Infer as Infer
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.2/src/Hpack/Render.hs 
new/hpack-0.32.0/src/Hpack/Render.hs
--- old/hpack-0.31.2/src/Hpack/Render.hs2019-03-03 05:34:36.0 
+0100
+++ new/hpack-0.32.0/src/Hpack/Render.hs2019-08-29 03:53:03.0 
+0200
@@ -306,7 +306,7 @@
 renderGeneratedModules = Field "autogen-modules" . LineSeparatedList
 
 renderReexportedModules :: [String] -> Element
-renderReexportedModules = Field "reexported-modules" . 

commit hpack for openSUSE:Factory

2019-03-06 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2019-03-06 15:47:30

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new.28833 (New)


Package is "hpack"

Wed Mar  6 15:47:30 2019 rev:15 rq:681689 version:0.31.2

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2018-11-09 
07:53:23.971781311 +0100
+++ /work/SRC/openSUSE:Factory/.hpack.new.28833/hpack.changes   2019-03-06 
15:47:31.632448589 +0100
@@ -1,0 +2,8 @@
+Mon Mar  4 03:02:31 UTC 2019 - psim...@suse.com
+
+- Update hpack to version 0.31.2.
+  ## Changes in 0.31.2
+- Add default value for maintainer (see #339)
+- Escape commas and spaces in filenames when generating cabal files
+
+---

Old:

  hpack-0.31.1.tar.gz

New:

  hpack-0.31.2.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.aWNK5C/_old  2019-03-06 15:47:32.764448289 +0100
+++ /var/tmp/diff_new_pack.aWNK5C/_new  2019-03-06 15:47:32.768448288 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package hpack
 #
-# 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,7 +19,7 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.31.1
+Version:0.31.2
 Release:0
 Summary:A modern format for Haskell packages
 License:MIT

++ hpack-0.31.1.tar.gz -> hpack-0.31.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.1/CHANGELOG.md 
new/hpack-0.31.2/CHANGELOG.md
--- old/hpack-0.31.1/CHANGELOG.md   2018-11-03 21:11:49.0 +0100
+++ new/hpack-0.31.2/CHANGELOG.md   2019-03-03 05:34:36.0 +0100
@@ -1,3 +1,7 @@
+## Changes in 0.31.2
+  - Add default value for maintainer (see #339)
+  - Escape commas and spaces in filenames when generating cabal files
+
 ## Changes in 0.31.1
   - Show the header when printing to stdout (see #331)
   - Add help for `--numeric-version`(see #337)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.1/hpack.cabal new/hpack-0.31.2/hpack.cabal
--- old/hpack-0.31.1/hpack.cabal2018-11-03 21:11:49.0 +0100
+++ new/hpack-0.31.2/hpack.cabal2019-03-03 05:34:36.0 +0100
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: d0e64e7193dd79e7d688f56350272b988a08b6f0f9706767a37f122ceeae72ee
+-- hash: 3d060180293c32b8d0c25b710d0f419e96a6cc6ec3f95ac5e70bb77f44cbafc3
 
 name:   hpack
-version:0.31.1
+version:0.31.2
 synopsis:   A modern format for Haskell packages
 description:See README at 
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.1/src/Hpack/Config.hs 
new/hpack-0.31.2/src/Hpack/Config.hs
--- old/hpack-0.31.1/src/Hpack/Config.hs2018-11-03 21:11:49.0 
+0100
+++ new/hpack-0.31.2/src/Hpack/Config.hs2019-03-03 05:34:36.0 
+0100
@@ -62,6 +62,7 @@
 , CppOption
 , CcOption
 , LdOption
+, Path(..)
 #ifdef TEST
 , renameDependencies
 , Empty(..)
@@ -357,9 +358,9 @@
 type ParseCxxSources = Maybe (List FilePath)
 type ParseJsSources = Maybe (List FilePath)
 
-type CSources = [FilePath]
-type CxxSources = [FilePath]
-type JsSources = [FilePath]
+type CSources = [Path]
+type CxxSources = [Path]
+type JsSources = [Path]
 
 type WithCommonOptions cSources cxxSources jsSources a = Product 
(CommonOptions cSources cxxSources jsSources a) a
 
@@ -518,7 +519,7 @@
 , packageConfigCategory :: Maybe String
 , packageConfigStability :: Maybe String
 , packageConfigAuthor :: Maybe (List String)
-, packageConfigMaintainer :: Maybe (List String)
+, packageConfigMaintainer :: Maybe (Maybe (List String))
 , packageConfigCopyright :: Maybe (List String)
 , packageConfigBuildType :: Maybe BuildType
 , packageConfigLicense :: Maybe (Maybe String)
@@ -829,9 +830,9 @@
 , packageLicenseFile :: [FilePath]
 , packageTestedWith :: Maybe String
 , packageFlags :: [Flag]
-, packageExtraSourceFiles :: [FilePath]
-, packageExtraDocFiles :: [FilePath]
-, packageDataFiles :: [FilePath]
+, packageExtraSourceFiles :: [Path]
+, packageExtraDocFiles :: [Path]
+, packageDataFiles :: [Path]
 , packageDataDir :: Maybe FilePath
 , packageSourceRepository :: Maybe SourceRepository
 , packageCustomSetup :: Maybe CustomSetup

commit hpack for openSUSE:Factory

2018-11-08 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2018-11-09 07:53:17

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Fri Nov  9 07:53:17 2018 rev:14 rq:646367 version:0.31.1

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2018-10-25 
08:19:44.303981231 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2018-11-09 
07:53:23.971781311 +0100
@@ -1,0 +2,8 @@
+Sun Nov  4 03:01:29 UTC 2018 - psim...@suse.com
+
+- Update hpack to version 0.31.1.
+  ## Changes in 0.31.1
+- Show the header when printing to stdout (see #331)
+- Add help for `--numeric-version`(see #337)
+
+---

Old:

  hpack-0.31.0.tar.gz

New:

  hpack-0.31.1.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.gDTgOu/_old  2018-11-09 07:53:24.659780522 +0100
+++ /var/tmp/diff_new_pack.gDTgOu/_new  2018-11-09 07:53:24.659780522 +0100
@@ -19,7 +19,7 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.31.0
+Version:0.31.1
 Release:0
 Summary:A modern format for Haskell packages
 License:MIT

++ hpack-0.31.0.tar.gz -> hpack-0.31.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.0/CHANGELOG.md 
new/hpack-0.31.1/CHANGELOG.md
--- old/hpack-0.31.0/CHANGELOG.md   2018-09-09 16:14:32.0 +0200
+++ new/hpack-0.31.1/CHANGELOG.md   2018-11-03 21:11:49.0 +0100
@@ -1,3 +1,7 @@
+## Changes in 0.31.1
+  - Show the header when printing to stdout (see #331)
+  - Add help for `--numeric-version`(see #337)
+
 ## Changes in 0.31.0
   - Add `mixin` to the fields read by dependencies when they are
 objects (see #318)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.0/hpack.cabal new/hpack-0.31.1/hpack.cabal
--- old/hpack-0.31.0/hpack.cabal2018-09-09 16:14:32.0 +0200
+++ new/hpack-0.31.1/hpack.cabal2018-11-03 21:11:49.0 +0100
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.30.0.
+-- This file has been generated from package.yaml by hpack version 0.31.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 3d155641237ff3e777fbdcb7ea2f36ada952f78ea89a02794019752f6b0705a9
+-- hash: d0e64e7193dd79e7d688f56350272b988a08b6f0f9706767a37f122ceeae72ee
 
 name:   hpack
-version:0.31.0
+version:0.31.1
 synopsis:   A modern format for Haskell packages
 description:See README at 
 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.0/src/Hpack.hs 
new/hpack-0.31.1/src/Hpack.hs
--- old/hpack-0.31.0/src/Hpack.hs   2018-09-09 16:14:32.0 +0200
+++ new/hpack-0.31.1/src/Hpack.hs   2018-11-03 21:11:49.0 +0100
@@ -101,6 +101,7 @@
   Utf8.hPutStrLn stderr $ unlines [
   "Usage: " ++ name ++ " [ --silent ] [ --force | -f ] [ PATH ] [ - ]"
 , "   " ++ name ++ " --version"
+, "   " ++ name ++ " --numeric-version"
 , "   " ++ name ++ " --help"
 ]
 
@@ -181,9 +182,10 @@
   case status of
 Generated -> do
   let hash = sha256 withoutHeader
+  out  = cabalVersion ++ header (decodeOptionsTarget options) v hash 
++ body
   if toStdout
-then Utf8.putStr withoutHeader
-else Utf8.writeFile cabalFile (cabalVersion ++ header 
(decodeOptionsTarget options) v hash ++ body)
+then Utf8.putStr out
+else Utf8.writeFile cabalFile out
 _ -> return ()
   return Result {
   resultWarnings = warnings




commit hpack for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2018-10-25 08:19:41

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Thu Oct 25 08:19:41 2018 rev:13 rq:642910 version:0.31.0

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2018-08-20 
16:21:05.800964524 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2018-10-25 
08:19:44.303981231 +0200
@@ -1,0 +2,22 @@
+Wed Oct 10 19:23:59 UTC 2018 - psim...@suse.com
+
+- Update hpack to version 0.31.0.
+  ## Changes in 0.31.0
+- Add `mixin` to the fields read by dependencies when they are
+  objects (see #318)
+- `hpack` now returns with a successful exit code if the `.cabal`
+  file is up to date, even if it was generated by a newer version of
+  `hpack`.
+
+  ## Changes in 0.30.0
+- Warn on duplicate fields (see #283)
+- Always render `cabal-version` as `x.y` instead of `>= x.y` so that `cabal
+  check` does not complain (see #322)
+- Extend `build-tools` so that it subsumes Cabal's `build-tools` and
+  `build-tool-depends` (see #254)
+- Add support for `system-build-tools`
+- Keep declaration order for literal files in c-sources (and other fields
+  that accept glob patterns).  This is crucial as a workaround for
+  https://ghc.haskell.org/trac/ghc/ticket/13786 (see #324)
+
+---

Old:

  hpack-0.29.7.tar.gz

New:

  hpack-0.31.0.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.Dc4FJi/_old  2018-10-25 08:19:44.791981015 +0200
+++ /var/tmp/diff_new_pack.Dc4FJi/_new  2018-10-25 08:19:44.791981015 +0200
@@ -12,14 +12,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.29.7
+Version:0.31.0
 Release:0
 Summary:A modern format for Haskell packages
 License:MIT

++ hpack-0.29.7.tar.gz -> hpack-0.31.0.tar.gz ++
 2354 lines of diff (skipped)




commit hpack for openSUSE:Factory

2018-08-20 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2018-08-20 16:21:05

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Mon Aug 20 16:21:05 2018 rev:12 rq:630377 version:0.29.7

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2018-07-24 
17:23:37.879395521 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2018-08-20 
16:21:05.800964524 +0200
@@ -1,0 +2,10 @@
+Fri Aug 17 09:43:24 UTC 2018 - psim...@suse.com
+
+- Update hpack to version 0.29.7.
+  ## Changes in 0.29.7
+- Expose more stuff from `Hpack.Yaml` so that it can be used by third 
parties
+
+  ## Changes in 0.29.6
+- Add `spec-version` (see #300)
+
+---

Old:

  hpack-0.29.5.tar.gz

New:

  hpack-0.29.7.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.vmDUwz/_old  2018-08-20 16:21:06.172965050 +0200
+++ /var/tmp/diff_new_pack.vmDUwz/_new  2018-08-20 16:21:06.172965050 +0200
@@ -19,9 +19,9 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.29.5
+Version:0.29.7
 Release:0
-Summary:An alternative format for Haskell packages
+Summary:A modern format for Haskell packages
 License:MIT
 Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{name}
@@ -60,7 +60,7 @@
 %endif
 
 %description
-An alternative format for Haskell packages.
+A modern format for Haskell packages.
 
 %package -n ghc-%{name}
 Summary:Haskell %{name} library

++ hpack-0.29.5.tar.gz -> hpack-0.29.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.29.5/CHANGELOG.md 
new/hpack-0.29.7/CHANGELOG.md
--- old/hpack-0.29.5/CHANGELOG.md   2018-07-16 22:27:18.0 +0200
+++ new/hpack-0.29.7/CHANGELOG.md   2018-08-14 05:36:12.0 +0200
@@ -1,3 +1,9 @@
+## Changes in 0.29.7
+  - Expose more stuff from `Hpack.Yaml` so that it can be used by third parties
+
+## Changes in 0.29.6
+  - Add `spec-version` (see #300)
+
 ## Changes in 0.29.5
   - Fix a regression related to indentation sniffing (close #310)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.29.5/hpack.cabal new/hpack-0.29.7/hpack.cabal
--- old/hpack-0.29.5/hpack.cabal2018-07-16 22:27:18.0 +0200
+++ new/hpack-0.29.7/hpack.cabal2018-08-14 05:36:12.0 +0200
@@ -1,14 +1,14 @@
 cabal-version: >= 1.10
 
--- This file has been generated from package.yaml by hpack version 0.29.4.
+-- This file has been generated from package.yaml by hpack version 0.29.6.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: c9c40490b86bd987b33ab63f10fd311c44b89e37d5a75d5af8cd25db72992e99
+-- hash: 8d1eb0679326dc7c31be647812822700dc8277a27737239f5a704e45f367abdf
 
 name:   hpack
-version:0.29.5
-synopsis:   An alternative format for Haskell packages
+version:0.29.7
+synopsis:   A modern format for Haskell packages
 description:See README at 
 category:   Development
 homepage:   https://github.com/sol/hpack#readme
@@ -70,6 +70,7 @@
   Hpack.Render.Hints
   Hpack.Syntax.Defaults
   Hpack.Syntax.Dependency
+  Hpack.Syntax.DependencyVersion
   Hpack.Syntax.Git
   Hpack.Utf8
   Hpack.Util
@@ -184,6 +185,7 @@
   Hpack.Render.Hints
   Hpack.Syntax.Defaults
   Hpack.Syntax.Dependency
+  Hpack.Syntax.DependencyVersion
   Hpack.Syntax.Git
   Hpack.Utf8
   Hpack.Util
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.29.5/src/Data/Aeson/Config/FromValue.hs 
new/hpack-0.29.7/src/Data/Aeson/Config/FromValue.hs
--- old/hpack-0.29.5/src/Data/Aeson/Config/FromValue.hs 2018-07-16 
22:27:18.0 +0200
+++ new/hpack-0.29.7/src/Data/Aeson/Config/FromValue.hs 2018-08-14 
05:36:12.0 +0200
@@ -28,6 +28,8 @@
 , withNumber
 , withBool
 
+, parseArray
+
 , (.:)
 , (.:?)
 
@@ -90,10 +92,13 @@
   fromValue value = liftParser (parseJSON value) >>= traverse fromValue
 
 instance FromValue a => FromValue [a] where
-  fromValue = withArray $ zipWithM (parseIndexed fromValue) [0..] . V.toList
-where
-  parseIndexed :: (Value -> Parser a) -> Int -> Value -> Parser a
-  parseIndexed p n value = p value  Index n
+  fromValue = withArray (parseArray fromValue)
+
+parseArray :: (Value -> Parser a) -> Array -> Parser [a]
+parseArray f = zipWithM (parseIndexed f) [0..] . V.toList
+  

commit hpack for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2018-07-24 17:23:37

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Tue Jul 24 17:23:37 2018 rev:11 rq:623904 version:0.29.5

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2018-05-30 
12:28:57.830759355 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2018-07-24 
17:23:37.879395521 +0200
@@ -1,0 +2,24 @@
+Wed Jul 18 14:26:50 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
+Tue Jul 17 19:31:03 UTC 2018 - psim...@suse.com
+
+- Update hpack to version 0.29.5.
+  - Fix a regression related to indentation sniffing (close #310)
+  - Desugar ^>= when dependency is a string (see #309)
+  - Add support for Apache, MPL and ISC when inferring `license` (see #305)
+  - Desugar `^>=` for compatibility with `Cabal < 2` (see #213)
+  - Add support for GPL, LGPL and AGPL when inferring `license` (see #305)
+  - Add missing `extra-source-files` (see #302)
+  - Infer `license` from `license-file`
+  - Put the `cabal-version` at the beginning of the generated file. This Is
+required with `cabal-version: 2.1` and higher. (see #292)
+  - With `cabal-version: 2.1` or higher omit `>=` when rendering (see #292)
+  - Require `cabal-version: 2.2` when SPDX license identifiers are used (see 
#292)
+  - Map cabal-style licenses to SPDX license identifiers when `cabal-version`
+is 2.2 or higher (see #292)
+
+---
@@ -92 +115,0 @@
-

Old:

  hpack-0.28.2.tar.gz

New:

  hpack-0.29.5.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.Cgjt4u/_old  2018-07-24 17:23:38.279396032 +0200
+++ /var/tmp/diff_new_pack.Cgjt4u/_new  2018-07-24 17:23:38.283396036 +0200
@@ -19,7 +19,7 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.28.2
+Version:0.29.5
 Release:0
 Summary:An alternative format for Haskell packages
 License:MIT
@@ -40,6 +40,7 @@
 BuildRequires:  ghc-http-client-devel
 BuildRequires:  ghc-http-client-tls-devel
 BuildRequires:  ghc-http-types-devel
+BuildRequires:  ghc-infer-license-devel
 BuildRequires:  ghc-pretty-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-scientific-devel

++ hpack-0.28.2.tar.gz -> hpack-0.29.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.28.2/CHANGELOG.md 
new/hpack-0.29.5/CHANGELOG.md
--- old/hpack-0.28.2/CHANGELOG.md   2018-03-16 11:34:12.0 +0100
+++ new/hpack-0.29.5/CHANGELOG.md   2018-07-16 22:27:18.0 +0200
@@ -1,4 +1,29 @@
-## next
+## Changes in 0.29.5
+  - Fix a regression related to indentation sniffing (close #310)
+
+## Changes in 0.29.4
+  - Desugar ^>= when dependency is a string (see #309)
+  - Add support for Apache, MPL and ISC when inferring `license` (see #305)
+
+## Changes in 0.29.3
+  - Desugar `^>=` for compatibility with `Cabal < 2` (see #213)
+  - Add support for GPL, LGPL and AGPL when inferring `license` (see #305)
+
+## Changes in 0.29.2
+  - Add missing `extra-source-files` (see #302)
+
+## Changes in 0.29.1
+  - Infer `license` from `license-file`
+
+## Changes in 0.29.0
+  - Put the `cabal-version` at the beginning of the generated file. This Is
+required with `cabal-version: 2.1` and higher. (see #292)
+  - With `cabal-version: 2.1` or higher omit `>=` when rendering (see #292)
+  - Require `cabal-version: 2.2` when SPDX license identifiers are used (see 
#292)
+  - Map cabal-style licenses to SPDX license identifiers when `cabal-version`
+is 2.2 or higher (see #292)
+
+## Changes in 0.28.2
   - Exit with `exitFailure` on `AlreadyGeneratedByNewerHpack` or
 `ExistingCabalFileWasModifiedManually` in `Hpack.printResult`
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.28.2/hpack.cabal new/hpack-0.29.5/hpack.cabal
--- old/hpack-0.28.2/hpack.cabal2018-03-16 11:34:12.0 +0100
+++ new/hpack-0.29.5/hpack.cabal2018-07-16 22:27:18.0 +0200
@@ -1,11 +1,13 @@
--- This file has been generated from package.yaml by hpack version 0.27.0.
+cabal-version: >= 1.10
+
+-- This file has been generated from package.yaml by hpack version 0.29.4.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 5391105d37fea2b976290b95e847c0d2da5ea7e0ef9ae9e5cf8945911dd983a1
+-- hash: 

commit hpack for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2018-05-30 12:16:21

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Wed May 30 12:16:21 2018 rev:10 rq:607961 version:0.28.2

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2017-09-15 
22:29:20.736079773 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2018-05-30 
12:28:57.830759355 +0200
@@ -1,0 +2,47 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update hpack to version 0.28.2.
+  Relevant changes are:
+- GHC 8.4.1 compatibility
+- Add support for `cxx-options` and `cxx-sources` (see #205)
+- Add support for `data-dir` (see #100)
+- Generate valid `.cabal` files when `verbatim` is used top-level (see 
#280)
+- Local defaults are now resolved relative to the file they are
+  mentioned in, not the CWD that hpack is invoked from.
+- Major refactoring of the exposed API (much cleaner now, but lot's of
+  breaking changes!)
+- Remove Git conflict markers before checking the hash of any existing
+  `.cabal` files (equivalent to `git checkout --ours`).  This allows to
+  regenerate the `.cabal` file on conflicts when rebasing without passing
+  `-f` in some cases and helps with preserving the formatting.
+- Allow local files to be used as defaults (#248)
+- Keep non-existing literal files on glob expansion (see #101)
+- Add support for `verbatim` Cabal escape hatch
+- Allow `version` be a numbers
+- Ignore fields that start with an underscore everywhere, not just globally
+- Add support for custom decoders to allow for alternate syntax (e.g. 
Dhall)
+- `generated-exposed-modules` and `generated-other-modules`, for populating
+  the `autogen-modules` field (#207).
+- Corrected `cabal-version` setting for `reexported-modules` inside
+  a conditional.
+- Add support for `defaults`
+- Add `--numeric-version`
+- Add support for `signatures`
+- `extra-doc-files` requires setting `cabal-version` to at least
+  1.18; this is now done properly.
+- Accept bool for `condition` (see #230)
+- Fix a bug in module inference for conditionals (see #236)
+- Add support for `extra-doc-files`.
+- Add support for `pkg-config-dependencies`
+- Allow dependency constraints to be numbers (see #234)
+- Accept section-specific fields in conditionals (see #175, thanks to Scott
+  Fleischman)
+- New section: `internal-libraries`, for Cabal 2's internal libraries (see 
#200).
+- Do not overwrite any existing cabal file if it has been modified manually
+- Add support for `frameworks` and `extra-frameworks-dirs`
+   - Compatibility with `Glob >= 0.9.0`
+- Add `IsList` instance for `Dependencies`
+- Add Paths_* module to executables (see #195, for GHC 8.2.1 compatibility)
+- Allow specifying dependencies as a hash (see #198)
+
+---

Old:

  hpack-0.18.1.tar.gz

New:

  hpack-0.28.2.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.Dnz16h/_old  2018-05-30 12:28:58.318741772 +0200
+++ /var/tmp/diff_new_pack.Dnz16h/_new  2018-05-30 12:28:58.318741772 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hpack
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,7 +19,7 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.18.1
+Version:0.28.2
 Release:0
 Summary:An alternative format for Haskell packages
 License:MIT
@@ -30,22 +30,31 @@
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-Glob-devel
 BuildRequires:  ghc-aeson-devel
-BuildRequires:  ghc-base-compat-devel
+BuildRequires:  ghc-bifunctors-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-cryptonite-devel
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-http-client-devel
+BuildRequires:  ghc-http-client-tls-devel
+BuildRequires:  ghc-http-types-devel
+BuildRequires:  ghc-pretty-devel
 BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-scientific-devel
 BuildRequires:  ghc-text-devel
+BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-unordered-containers-devel
+BuildRequires:  ghc-vector-devel
 BuildRequires:  ghc-yaml-devel
 %if %{with 

commit hpack for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2017-09-15 22:29:19

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Fri Sep 15 22:29:19 2017 rev:9 rq:525776 version:0.18.1

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2017-08-31 
21:03:02.995891845 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2017-09-15 
22:29:20.736079773 +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:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.Kd5SzS/_old  2017-09-15 22:29:21.683946248 +0200
+++ /var/tmp/diff_new_pack.Kd5SzS/_new  2017-09-15 22:29:21.683946248 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:An alternative format for Haskell packages
 License:MIT
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{name}
 Source0:
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  chrpath
 BuildRequires:  ghc-Cabal-devel
@@ -40,7 +40,6 @@
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-unordered-containers-devel
 BuildRequires:  ghc-yaml-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-aeson-qq-devel
@@ -62,7 +61,7 @@
 
 %package -n ghc-%{name}-devel
 Summary:Haskell %{name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   ghc-%{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -91,17 +90,14 @@
 %ghc_pkg_recache
 
 %files
-%defattr(-,root,root,-)
 %doc LICENSE
 %doc CHANGELOG.md
 %{_bindir}/%{name}
 
 %files -n ghc-%{name} -f ghc-%{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md
 
 %changelog




commit hpack for openSUSE:Factory

2017-08-31 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2017-08-31 21:03:02

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Thu Aug 31 21:03:02 2017 rev:8 rq:513571 version:0.18.1

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2017-06-21 
13:57:00.70846 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2017-08-31 
21:03:02.995891845 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:04:28 UTC 2017 - psim...@suse.com
+
+- Update to version 0.18.1.
+
+---

Old:

  hpack-0.17.1.tar.gz

New:

  hpack-0.18.1.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.xPo86F/_old  2017-08-31 21:03:03.955756982 +0200
+++ /var/tmp/diff_new_pack.xPo86F/_new  2017-08-31 21:03:03.963755858 +0200
@@ -19,7 +19,7 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.17.1
+Version:0.18.1
 Release:0
 Summary:An alternative format for Haskell packages
 License:MIT
@@ -93,6 +93,7 @@
 %files
 %defattr(-,root,root,-)
 %doc LICENSE
+%doc CHANGELOG.md
 %{_bindir}/%{name}
 
 %files -n ghc-%{name} -f ghc-%{name}.files
@@ -101,5 +102,6 @@
 
 %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
 %defattr(-,root,root,-)
+%doc CHANGELOG.md
 
 %changelog

++ hpack-0.17.1.tar.gz -> hpack-0.18.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.17.1/CHANGELOG.md 
new/hpack-0.18.1/CHANGELOG.md
--- old/hpack-0.17.1/CHANGELOG.md   1970-01-01 01:00:00.0 +0100
+++ new/hpack-0.18.1/CHANGELOG.md   2017-06-24 02:59:33.0 +0200
@@ -0,0 +1,25 @@
+## next
+  - Output generated cabal file to `stdout` when `-` is given as a command-line
+option (see #113)
+  - Recognize `.chs`, `.y`, `.ly` and `.x` as Haskell modules when inferring
+modules for
+
+## Change in 0.18.0
+  - Make `executable` a shortcut of `executables: { package-name: ... }`
+  - Add support for `ghcjs-options` and `js-sources` (see #161)
+  - Allow `license-file` to be a list
+  - Accept input file on command-line (see #106)
+  - Add Paths_* when no modules are specified (see #86)
+
+## Changes in 0.17.1
+  - Do not descend into irrelevant directories when inferring modules (see 
#165)
+
+## Changes in 0.17.0
+  - Added custom-setup section
+  - Add support for `!include` directives
+
+## Changes in 0.16.0
+  - Warn when `name` is missing
+  - Support globs in `c-sources`
+  - Use binary I/O for cabal files avoiding problems with non-UTF-8 locales
+  - Fix rendering of `.` as directory (cabal syntax issue)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.17.1/hpack.cabal new/hpack-0.18.1/hpack.cabal
--- old/hpack-0.17.1/hpack.cabal2017-06-08 05:34:06.0 +0200
+++ new/hpack-0.18.1/hpack.cabal2017-06-24 02:59:33.0 +0200
@@ -1,9 +1,9 @@
--- This file has been generated from package.yaml by hpack version 0.17.0.
+-- This file has been generated from package.yaml by hpack version 0.18.0.
 --
 -- see: https://github.com/sol/hpack
 
 name:   hpack
-version:0.17.1
+version:0.18.1
 synopsis:   An alternative format for Haskell packages
 description:See README at 
 category:   Development
@@ -15,6 +15,9 @@
 build-type: Simple
 cabal-version:  >= 1.10
 
+extra-source-files:
+CHANGELOG.md
+
 source-repository head
   type: git
   location: https://github.com/sol/hpack
@@ -45,6 +48,7 @@
   Hpack.FormattingHints
   Hpack.GenericsUtil
   Hpack.Haskell
+  Hpack.Options
   Hpack.Render
   Hpack.Util
   Paths_hpack
@@ -104,6 +108,7 @@
   Hpack.FormattingHintsSpec
   Hpack.GenericsUtilSpec
   Hpack.HaskellSpec
+  Hpack.OptionsSpec
   Hpack.RenderSpec
   Hpack.RunSpec
   Hpack.UtilSpec
@@ -113,6 +118,7 @@
   Hpack.FormattingHints
   Hpack.GenericsUtil
   Hpack.Haskell
+  Hpack.Options
   Hpack.Render
   Hpack.Run
   Hpack.Util
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.17.1/src/Hpack/Config.hs 
new/hpack-0.18.1/src/Hpack/Config.hs
--- old/hpack-0.17.1/src/Hpack/Config.hs2017-06-08 05:34:06.0 
+0200
+++ new/hpack-0.18.1/src/Hpack/Config.hs2017-06-24 02:59:33.0 
+0200
@@ -80,7 +80,7 @@
   , packageCopyright = []
   , packageBuildType = Simple
   , packageLicense = Nothing
-  , packageLicenseFile = Nothing
+  , 

commit hpack for openSUSE:Factory

2017-06-21 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2017-06-21 13:56:58

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Wed Jun 21 13:56:58 2017 rev:7 rq:504688 version:0.17.1

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2017-04-11 
09:48:52.493621348 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2017-06-21 
13:57:00.70846 +0200
@@ -1,0 +2,5 @@
+Mon Jun 12 09:41:38 UTC 2017 - psim...@suse.com
+
+- Update to version 0.17.1.
+
+---

Old:

  hpack-0.17.0.tar.gz

New:

  hpack-0.17.1.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.Bk4OUd/_old  2017-06-21 13:57:01.616764066 +0200
+++ /var/tmp/diff_new_pack.Bk4OUd/_new  2017-06-21 13:57:01.628762374 +0200
@@ -19,7 +19,7 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.17.0
+Version:0.17.1
 Release:0
 Summary:An alternative format for Haskell packages
 License:MIT

++ hpack-0.17.0.tar.gz -> hpack-0.17.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.17.0/hpack.cabal new/hpack-0.17.1/hpack.cabal
--- old/hpack-0.17.0/hpack.cabal2017-01-30 02:24:20.0 +0100
+++ new/hpack-0.17.1/hpack.cabal2017-06-08 05:34:06.0 +0200
@@ -1,9 +1,9 @@
--- This file has been generated from package.yaml by hpack version 0.15.0.
+-- This file has been generated from package.yaml by hpack version 0.17.0.
 --
 -- see: https://github.com/sol/hpack
 
 name:   hpack
-version:0.17.0
+version:0.17.1
 synopsis:   An alternative format for Haskell packages
 description:See README at 
 category:   Development
@@ -76,7 +76,7 @@
   main-is: Spec.hs
   hs-source-dirs:
   test
-, src
+  src
   ghc-options: -Wall
   cpp-options: -DTEST
   build-depends:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.17.0/src/Hpack/Config.hs 
new/hpack-0.17.1/src/Hpack/Config.hs
--- old/hpack-0.17.0/src/Hpack/Config.hs2017-01-30 00:09:54.0 
+0100
+++ new/hpack-0.17.1/src/Hpack/Config.hs2017-06-08 05:34:06.0 
+0200
@@ -792,7 +792,7 @@
   if exists
 then do
   src <- canonicalizePath (dir  src_)
-  removeSetup src . toModules <$> getFilesRecursive src
+  removeSetup src . toModules <$> getModuleFilesRecursive src
 else return []
   where
 toModules :: [[FilePath]] -> [String]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.17.0/src/Hpack/Util.hs 
new/hpack-0.17.1/src/Hpack/Util.hs
--- old/hpack-0.17.0/src/Hpack/Util.hs  2017-01-24 15:56:26.0 +0100
+++ new/hpack-0.17.1/src/Hpack/Util.hs  2017-06-08 05:34:06.0 +0200
@@ -8,7 +8,7 @@
 , LdOption
 , parseMain
 , toModule
-, getFilesRecursive
+, getModuleFilesRecursive
 , tryReadFile
 , expandGlobs
 , sort
@@ -84,13 +84,13 @@
 stripSuffix :: String -> String -> Maybe String
 stripSuffix suffix x = reverse <$> stripPrefix (reverse suffix) (reverse x)
 
-getFilesRecursive :: FilePath -> IO [[String]]
-getFilesRecursive baseDir = go []
+getModuleFilesRecursive :: FilePath -> IO [[String]]
+getModuleFilesRecursive baseDir = go []
   where
 go :: [FilePath] -> IO [[FilePath]]
 go dir = do
   c <- map ((dir ++) . return) . filter (`notElem` [".", ".."]) <$> 
getDirectoryContents (pathTo dir)
-  subdirsFiles  <- filterM (doesDirectoryExist . pathTo) c >>= mapM go
+  subdirsFiles  <- filterM (doesDirectoryExist . pathTo) c >>= mapM go . 
filter isModule
   files <- filterM (doesFileExist . pathTo) c
   return (files ++ concat subdirsFiles)
   where
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.17.0/test/Hpack/UtilSpec.hs 
new/hpack-0.17.1/test/Hpack/UtilSpec.hs
--- old/hpack-0.17.0/test/Hpack/UtilSpec.hs 2017-01-09 22:10:01.0 
+0100
+++ new/hpack-0.17.1/test/Hpack/UtilSpec.hs 2017-06-08 05:34:06.0 
+0200
@@ -49,19 +49,28 @@
 it "rejects invalid module names" $ do
   toModule ["resources", "hello.hs"] `shouldBe` Nothing
 
-  describe "getFilesRecursive" $ do
-it "gets all files from given directory and all its subdirectories" $ do
-  inTempDirectoryNamed "test" $ do
+  describe "getModuleFilesRecursive" $ do
+it "gets all files from given directory" $ do
+  inTempDirectory $ do
 touch 

commit hpack for openSUSE:Factory

2017-04-11 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2017-04-11 09:48:47

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Tue Apr 11 09:48:47 2017 rev:6 rq:486512 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2017-03-03 
17:53:03.336911782 +0100
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2017-04-11 
09:48:52.493621348 +0200
@@ -1,0 +2,5 @@
+Fri Apr  7 15:27:14 UTC 2017 - psim...@suse.com
+
+- Improve generated package %description.
+
+---



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.LZOBWn/_old  2017-04-11 09:48:53.073539427 +0200
+++ /var/tmp/diff_new_pack.LZOBWn/_new  2017-04-11 09:48:53.073539427 +0200
@@ -51,7 +51,7 @@
 %endif
 
 %description
-See README at .
+An alternative format for Haskell packages.
 
 %package -n ghc-%{name}
 Summary:Haskell %{name} library




commit hpack for openSUSE:Factory

2017-03-03 Thread root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2017-03-03 17:53:02

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Fri Mar  3 17:53:02 2017 rev:5 rq:461705 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2016-08-28 
12:18:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2017-03-03 
17:53:03.336911782 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:16:09 UTC 2017 - psim...@suse.com
+
+- Update to version 0.17.0 with cabal2obs.
+
+---

Old:

  1.cabal
  hpack-0.14.1.tar.gz

New:

  hpack-0.17.0.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.wURx9b/_old  2017-03-03 17:53:03.812844561 +0100
+++ /var/tmp/diff_new_pack.wURx9b/_new  2017-03-03 17:53:03.812844561 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package hpack
 #
-# 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
@@ -19,19 +19,19 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:   %{pkg_name}
-Version:0.14.1
+Version:0.17.0
 Release:0
 Summary:An alternative format for Haskell packages
 License:MIT
 Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{name}
 Source0:
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal
 BuildRequires:  chrpath
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-Glob-devel
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-base-compat-devel
+BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-directory-devel
@@ -51,7 +51,7 @@
 %endif
 
 %description
-An alternative format for Haskell packages.
+See README at .
 
 %package -n ghc-%{name}
 Summary:Haskell %{name} library
@@ -73,14 +73,13 @@
 
 %prep
 %setup -q
-cp -p %{SOURCE1} %{name}.cabal
 
 %build
 %ghc_lib_build
 
 %install
 %ghc_lib_install
-%ghc_fix_dynamic_rpath %{pkg_name}
+%ghc_fix_rpath %{pkg_name}-%{version}
 
 %check
 %cabal_test

++ hpack-0.14.1.tar.gz -> hpack-0.17.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.14.1/hpack.cabal new/hpack-0.17.0/hpack.cabal
--- old/hpack-0.14.1/hpack.cabal2016-06-10 16:09:36.0 +0200
+++ new/hpack-0.17.0/hpack.cabal2017-01-30 02:24:20.0 +0100
@@ -1,10 +1,11 @@
--- This file has been generated from package.yaml by hpack version 0.14.0.
+-- This file has been generated from package.yaml by hpack version 0.15.0.
 --
 -- see: https://github.com/sol/hpack
 
 name:   hpack
-version:0.14.1
+version:0.17.0
 synopsis:   An alternative format for Haskell packages
+description:See README at 
 category:   Development
 homepage:   https://github.com/sol/hpack#readme
 bug-reports:https://github.com/sol/hpack/issues
@@ -25,6 +26,7 @@
   build-depends:
   base >= 4.7 && < 5
 , base-compat >= 0.8
+, bytestring
 , deepseq
 , directory
 , filepath
@@ -33,7 +35,7 @@
 , containers
 , unordered-containers
 , yaml
-, aeson >= 0.8
+, aeson >= 0.11
   exposed-modules:
   Hpack
   Hpack.Config
@@ -56,6 +58,7 @@
   build-depends:
   base >= 4.7 && < 5
 , base-compat >= 0.8
+, bytestring
 , deepseq
 , directory
 , filepath
@@ -64,8 +67,8 @@
 , containers
 , unordered-containers
 , yaml
+, aeson >= 0.11
 , hpack
-, aeson >= 0.8
   default-language: Haskell2010
 
 test-suite spec
@@ -79,6 +82,7 @@
   build-depends:
   base >= 4.7 && < 5
 , base-compat >= 0.8
+, bytestring
 , deepseq
 , directory
 , filepath
@@ -87,13 +91,13 @@
 , containers
 , unordered-containers
 , yaml
+, aeson >= 0.11
 , hspec == 2.*
 , QuickCheck
 , temporary
 , mockery >= 0.3
 , interpolate
 , aeson-qq
-, aeson >= 0.10
   other-modules:
   Helper
   Hpack.ConfigSpec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.14.1/src/Hpack/Config.hs 
new/hpack-0.17.0/src/Hpack/Config.hs
--- 

commit hpack for openSUSE:Factory

2016-08-28 Thread h_root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2016-08-28 12:18:06

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2016-07-20 
09:22:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2016-08-28 
12:18:08.0 +0200
@@ -1,0 +2,5 @@
+Wed Aug 17 18:26:28 UTC 2016 - psim...@suse.com
+
+- Update to version 0.14.1 revision 1 with cabal2obs.
+
+---

New:

  1.cabal



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.x5U5x3/_old  2016-08-28 12:18:09.0 +0200
+++ /var/tmp/diff_new_pack.x5U5x3/_new  2016-08-28 12:18:09.0 +0200
@@ -26,7 +26,7 @@
 Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{name}
 Source0:
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Begin cabal-rpm deps:
+Source1:
https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal
 BuildRequires:  chrpath
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-Glob-devel
@@ -49,7 +49,6 @@
 BuildRequires:  ghc-mockery-devel
 BuildRequires:  ghc-temporary-devel
 %endif
-# End cabal-rpm deps
 
 %description
 An alternative format for Haskell packages.
@@ -74,23 +73,17 @@
 
 %prep
 %setup -q
-
+cp -p %{SOURCE1} %{name}.cabal
 
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
-
 %ghc_fix_dynamic_rpath %{pkg_name}
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post -n ghc-%{name}-devel
 %ghc_pkg_recache

++ 1.cabal ++
-- This file has been generated from package.yaml by hpack version 0.14.0.
--
-- see: https://github.com/sol/hpack

name:   hpack
version:0.14.1
x-revision: 1
synopsis:   An alternative format for Haskell packages
category:   Development
homepage:   https://github.com/sol/hpack#readme
bug-reports:https://github.com/sol/hpack/issues
maintainer: Simon Hengel 
license:MIT
license-file:   LICENSE
build-type: Simple
cabal-version:  >= 1.10

source-repository head
  type: git
  location: https://github.com/sol/hpack

library
  hs-source-dirs:
  src
  ghc-options: -Wall
  build-depends:
  base >= 4.7 && < 5
, base-compat >= 0.8
, deepseq
, directory
, filepath
, Glob
, text
, containers
, unordered-containers
, yaml
, aeson >= 0.8 && < 1
  exposed-modules:
  Hpack
  Hpack.Config
  Hpack.Run
  Hpack.Yaml
  other-modules:
  Hpack.FormattingHints
  Hpack.GenericsUtil
  Hpack.Haskell
  Hpack.Render
  Hpack.Util
  Paths_hpack
  default-language: Haskell2010

executable hpack
  main-is: Main.hs
  hs-source-dirs:
  driver
  ghc-options: -Wall
  build-depends:
  base >= 4.7 && < 5
, base-compat >= 0.8
, deepseq
, directory
, filepath
, Glob
, text
, containers
, unordered-containers
, yaml
, hpack
, aeson >= 0.8 && < 1
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
  test
, src
  ghc-options: -Wall
  cpp-options: -DTEST
  build-depends:
  base >= 4.7 && < 5
, base-compat >= 0.8
, deepseq
, directory
, filepath
, Glob
, text
, containers
, unordered-containers
, yaml
, hspec == 2.*
, QuickCheck
, temporary
, mockery >= 0.3
, interpolate
, aeson-qq
, aeson >= 0.10
  other-modules:
  Helper
  Hpack.ConfigSpec
  Hpack.FormattingHintsSpec
  Hpack.GenericsUtilSpec
  Hpack.HaskellSpec
  Hpack.RenderSpec
  Hpack.RunSpec
  Hpack.UtilSpec
  HpackSpec
  Hpack
  Hpack.Config
  Hpack.FormattingHints
  Hpack.GenericsUtil
  Hpack.Haskell
  Hpack.Render
  Hpack.Run
  Hpack.Util
  Hpack.Yaml
  default-language: Haskell2010



commit hpack for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

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

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2016-06-14 
23:08:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2016-07-20 
09:22:12.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:17:31 UTC 2016 - psim...@suse.com
+
+- Update to version 0.14.1 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.7UrqWa/_old  2016-07-20 09:22:13.0 +0200
+++ /var/tmp/diff_new_pack.7UrqWa/_new  2016-07-20 09:22:13.0 +0200
@@ -15,25 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global pkg_name hpack
 
+%global pkg_name hpack
 %bcond_with tests
-
 Name:   %{pkg_name}
 Version:0.14.1
 Release:0
 Summary:An alternative format for Haskell packages
-Group:  Development/Languages/Other
-
 License:MIT
+Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{name}
 Source0:
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
-BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  chrpath
+BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-Glob-devel
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-base-compat-devel
@@ -41,9 +36,11 @@
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-unordered-containers-devel
 BuildRequires:  ghc-yaml-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-aeson-qq-devel
@@ -57,7 +54,6 @@
 %description
 An alternative format for Haskell packages.
 
-
 %package -n ghc-%{name}
 Summary:Haskell %{name} library
 Group:  System/Libraries
@@ -65,19 +61,17 @@
 %description -n ghc-%{name}
 This package provides the Haskell %{name} shared library.
 
-
 %package -n ghc-%{name}-devel
 Summary:Haskell %{name} library development files
 Group:  Development/Libraries/Other
+Requires:   ghc-%{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   ghc-%{name} = %{version}-%{release}
 
 %description -n ghc-%{name}-devel
 This package provides the Haskell %{name} library development files.
 
-
 %prep
 %setup -q
 
@@ -94,31 +88,26 @@
 
 %check
 %if %{with tests}
-%cabal test
+%{cabal} test
 %endif
 
 
 %post -n ghc-%{name}-devel
 %ghc_pkg_recache
 
-
 %postun -n ghc-%{name}-devel
 %ghc_pkg_recache
 
-
 %files
 %defattr(-,root,root,-)
 %doc LICENSE
 %{_bindir}/%{name}
 
-
 %files -n ghc-%{name} -f ghc-%{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
 %defattr(-,root,root,-)
 
-
 %changelog




commit hpack for openSUSE:Factory

2016-06-14 Thread h_root
Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2016-06-14 23:08:24

Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and  /work/SRC/openSUSE:Factory/.hpack.new (New)


Package is "hpack"

Changes:

--- /work/SRC/openSUSE:Factory/hpack/hpack.changes  2016-06-07 
23:45:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2016-06-14 
23:08:26.0 +0200
@@ -1,0 +2,5 @@
+Sat Jun 11 11:26:23 UTC 2016 - mimi...@gmail.com
+
+- update to 0.14.1
+
+---

Old:

  hpack-0.14.0.tar.gz

New:

  hpack-0.14.1.tar.gz



Other differences:
--
++ hpack.spec ++
--- /var/tmp/diff_new_pack.EuM2xG/_old  2016-06-14 23:08:27.0 +0200
+++ /var/tmp/diff_new_pack.EuM2xG/_new  2016-06-14 23:08:27.0 +0200
@@ -20,7 +20,7 @@
 %bcond_with tests
 
 Name:   %{pkg_name}
-Version:0.14.0
+Version:0.14.1
 Release:0
 Summary:An alternative format for Haskell packages
 Group:  Development/Languages/Other

++ hpack-0.14.0.tar.gz -> hpack-0.14.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.14.0/hpack.cabal new/hpack-0.14.1/hpack.cabal
--- old/hpack-0.14.0/hpack.cabal2016-05-09 12:27:49.0 +0200
+++ new/hpack-0.14.1/hpack.cabal2016-06-10 16:09:36.0 +0200
@@ -1,9 +1,9 @@
--- This file has been generated from package.yaml by hpack version 0.12.0.
+-- This file has been generated from package.yaml by hpack version 0.14.0.
 --
 -- see: https://github.com/sol/hpack
 
 name:   hpack
-version:0.14.0
+version:0.14.1
 synopsis:   An alternative format for Haskell packages
 category:   Development
 homepage:   https://github.com/sol/hpack#readme
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.14.0/src/Hpack/Config.hs 
new/hpack-0.14.1/src/Hpack/Config.hs
--- old/hpack-0.14.0/src/Hpack/Config.hs2016-05-09 12:27:49.0 
+0200
+++ new/hpack-0.14.1/src/Hpack/Config.hs2016-06-10 15:09:58.0 
+0200
@@ -119,7 +119,7 @@
 class HasFieldNames a where
   fieldNames :: Proxy a -> [FieldName]
 
-  default fieldNames :: (HasTypeName a, Generic a, Selectors (Rep a)) => Proxy 
a -> [String]
+  default fieldNames :: (HasTypeName a, Selectors (Rep a)) => Proxy a -> 
[String]
   fieldNames proxy = map (hyphenize $ typeName proxy) (selectors proxy)
 
 data CaptureUnknownFields a = CaptureUnknownFields {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.14.0/src/Hpack/GenericsUtil.hs 
new/hpack-0.14.1/src/Hpack/GenericsUtil.hs
--- old/hpack-0.14.0/src/Hpack/GenericsUtil.hs  2016-05-09 12:27:49.0 
+0200
+++ new/hpack-0.14.1/src/Hpack/GenericsUtil.hs  2016-06-10 15:09:58.0 
+0200
@@ -21,10 +21,10 @@
 instance (Datatype d, Generic a, Rep a ~ M1 D d m) => HasTypeName a where
   typeName _ = datatypeName (undefined :: M1 D d x y)
 
-selectors :: (Generic a, Selectors (Rep a)) => Proxy a -> [String]
+selectors :: (Selectors (Rep a)) => Proxy a -> [String]
 selectors = f
   where
-f :: forall a. (Generic a, Selectors (Rep a)) => Proxy a -> [String]
+f :: forall a. (Selectors (Rep a)) => Proxy a -> [String]
 f _ = selNames (Proxy :: Proxy (Rep a))
 
 class Selectors a where
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.14.0/test/Helper.hs 
new/hpack-0.14.1/test/Helper.hs
--- old/hpack-0.14.0/test/Helper.hs 2016-05-09 12:27:49.0 +0200
+++ new/hpack-0.14.1/test/Helper.hs 2016-06-10 15:09:58.0 +0200
@@ -10,14 +10,14 @@
 import   Test.Hspec
 import   Test.Mockery.Directory
 import   Control.Applicative
-import   System.Directory
+import   System.Directory (getCurrentDirectory, setCurrentDirectory, 
canonicalizePath)
 import   Control.Exception
 import qualified System.IO.Temp as Temp
 import   System.FilePath
 
 withCurrentDirectory :: FilePath -> IO a -> IO a
 withCurrentDirectory dir action = do
-  bracket (getCurrentDirectory) (setCurrentDirectory) $ \ _ -> do
+  bracket getCurrentDirectory setCurrentDirectory $ \ _ -> do
 setCurrentDirectory dir
 action