commit ghc-hackage-security for openSUSE:Factory

2020-09-27 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2020-09-27 11:49:26

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


Package is "ghc-hackage-security"

Sun Sep 27 11:49:26 2020 rev:20 rq:837243 version:0.6.0.1

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2020-09-07 21:30:35.961249546 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new.4249/ghc-hackage-security.changes
  2020-09-27 11:49:28.216023652 +0200
@@ -1,0 +2,6 @@
+Fri Sep 18 02:00:44 UTC 2020 - psim...@suse.com
+
+- Update hackage-security to version 0.6.0.1 revision 4.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.CoK8FG/_old  2020-09-27 11:49:28.768024246 +0200
+++ /var/tmp/diff_new_pack.CoK8FG/_new  2020-09-27 11:49:28.772024251 +0200
@@ -25,7 +25,7 @@
 License:BSD-3-Clause
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel

++ hackage-security.cabal ++
--- /var/tmp/diff_new_pack.CoK8FG/_old  2020-09-27 11:49:28.832024316 +0200
+++ /var/tmp/diff_new_pack.CoK8FG/_new  2020-09-27 11:49:28.832024316 +0200
@@ -1,279 +1,279 @@
-cabal-version:   1.12
-name:hackage-security
-version: 0.6.0.1
-x-revision:  3
-
-synopsis:Hackage security library
-description: The hackage security library provides both server and
- client utilities for securing the Hackage package server
- ().  It is based on The 
Update
- Framework (), a set of
- recommendations developed by security researchers at
- various universities in the US as well as developers on 
the
- Tor project ().
- .
- The current implementation supports only index signing,
- thereby enabling untrusted mirrors. It does not yet 
provide
- facilities for author package signing.
- .
- The library has two main entry points:
- "Hackage.Security.Client" is the main entry point for
- clients (the typical example being @cabal@), and
- "Hackage.Security.Server" is the main entry point for
- servers (the typical example being @hackage-server@).
-license: BSD3
-license-file:LICENSE
-author:  Edsko de Vries
-maintainer:  cabal-de...@haskell.org
-copyright:   Copyright 2015-2016 Well-Typed LLP
-category:Distribution
-homepage:https://github.com/haskell/hackage-security
-bug-reports: https://github.com/haskell/hackage-security/issues
-build-type:  Simple
-tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, 
GHC==8.2.2, GHC==8.0.2,
- GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
-
-
-extra-source-files:
-  ChangeLog.md
-
-source-repository head
-  type: git
-  location: https://github.com/haskell/hackage-security.git
-
-flag base48
-  description: Are we using @base@ 4.8 or later?
-  manual: False
-
-flag use-network-uri
-  description: Are we using @network-uri@?
-  manual: False
-
-flag old-directory
-  description: Use @directory@ < 1.2 and @old-time@
-  manual:  False
-  default: False
-
-flag mtl21
-  description: Use @mtl@ < 2.2 and @mtl-compat@
-  manual:  False
-  default: False
-
-flag lukko
-  description: Use @lukko@ for file-locking, otherwise use @GHC.IO.Handle.Lock@
-  manual:  True
-  default: True
-
-library
-  -- Most functionality is exported through the top-level entry points .Client
-  -- and .Server; the other exported modules are intended for qualified 
imports.
-  exposed-modules: Hackage.Security.Client
-   Hackage.Security.Client.Formats
-

commit ghc-hackage-security for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2020-09-07 21:29:51

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


Package is "ghc-hackage-security"

Mon Sep  7 21:29:51 2020 rev:19 rq:832279 version:0.6.0.1

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2020-08-28 21:32:57.544655041 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new.3399/ghc-hackage-security.changes
  2020-09-07 21:30:35.961249546 +0200
@@ -1,0 +2,12 @@
+Wed Sep  2 02:00:58 UTC 2020 - psim...@suse.com
+
+- Update hackage-security to version 0.6.0.1 revision 3.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---
+Mon Aug 31 09:34:36 UTC 2020 - psim...@suse.com
+
+- Update hackage-security to version 0.6.0.1 revision 2.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.qt7PJo/_old  2020-09-07 21:30:36.601249839 +0200
+++ /var/tmp/diff_new_pack.qt7PJo/_new  2020-09-07 21:30:36.605249841 +0200
@@ -25,7 +25,7 @@
 License:BSD-3-Clause
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel
@@ -89,7 +89,6 @@
 %prep
 %autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
-cabal-tweak-dep-ver base64-bytestring '< 1.2' '< 2'
 
 %build
 %ghc_lib_build

++ hackage-security.cabal ++
--- /var/tmp/diff_new_pack.qt7PJo/_old  2020-09-07 21:30:36.685249877 +0200
+++ /var/tmp/diff_new_pack.qt7PJo/_new  2020-09-07 21:30:36.685249877 +0200
@@ -1,7 +1,7 @@
 cabal-version:   1.12
 name:hackage-security
 version: 0.6.0.1
-x-revision: 2
+x-revision:  3
 
 synopsis:Hackage security library
 description: The hackage security library provides both server and
@@ -113,7 +113,7 @@
   -- We support ghc 7.4 (bundled with Cabal 1.14) and up
   build-depends:   base  >= 4.5 && < 4.15,
base16-bytestring >= 0.1.1   && < 0.2,
-   base64-bytestring >= 1.0 && < 1.2,
+   base64-bytestring >= 1.0 && < 1.3,
bytestring>= 0.9 && < 0.11,
Cabal >= 1.14&& < 1.26
   || >= 2.0 && < 2.6
@@ -259,11 +259,11 @@
zlib
 
   -- dependencies exclusive to test-suite
-  build-depends:   tasty== 1.2.*,
+  build-depends:   tasty== 1.2.* || == 1.3.*,
tasty-hunit  == 0.10.*,
tasty-quickcheck == 0.10.*,
-   QuickCheck   >= 2.11 && <2.14,
-   aeson== 1.4.*,
+   QuickCheck   >= 2.11 && <2.15,
+   aeson== 1.4.* || == 1.5.*,
vector   == 0.12.*,
unordered-containers >=0.2.8.0 && <0.3,
temporary>= 1.2 && < 1.4




commit ghc-hackage-security for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2020-08-28 21:32:56

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


Package is "ghc-hackage-security"

Fri Aug 28 21:32:56 2020 rev:18 rq:829288 version:0.6.0.1

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2020-06-19 17:13:01.238078000 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new.3399/ghc-hackage-security.changes
  2020-08-28 21:32:57.544655041 +0200
@@ -1,0 +2,10 @@
+Tue Aug 18 10:44:56 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---
+Tue Aug 18 09:28:33 UTC 2020 - Peter Simons 
+
+- Tweak Cabal file to accept latest version of base64-bytestring.
+
+---



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.bRofIJ/_old  2020-08-28 21:32:58.180655343 +0200
+++ /var/tmp/diff_new_pack.bRofIJ/_new  2020-08-28 21:32:58.184655344 +0200
@@ -25,7 +25,7 @@
 License:BSD-3-Clause
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel
@@ -87,8 +87,9 @@
 files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
+cabal-tweak-dep-ver base64-bytestring '< 1.2' '< 2'
 
 %build
 %ghc_lib_build

++ hackage-security.cabal ++
--- /var/tmp/diff_new_pack.bRofIJ/_old  2020-08-28 21:32:58.240655371 +0200
+++ /var/tmp/diff_new_pack.bRofIJ/_new  2020-08-28 21:32:58.240655371 +0200
@@ -1,7 +1,7 @@
 cabal-version:   1.12
 name:hackage-security
 version: 0.6.0.1
-x-revision:  1
+x-revision: 2
 
 synopsis:Hackage security library
 description: The hackage security library provides both server and
@@ -117,7 +117,7 @@
bytestring>= 0.9 && < 0.11,
Cabal >= 1.14&& < 1.26
   || >= 2.0 && < 2.6
-  || >= 3.0 && < 3.5,
+  || >= 3.0 && < 3.6,
containers>= 0.4 && < 0.7,
ed25519   >= 0.0 && < 0.1,
filepath  >= 1.2 && < 1.5,




commit ghc-hackage-security for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2020-06-19 17:12:59

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


Package is "ghc-hackage-security"

Fri Jun 19 17:12:59 2020 rev:17 rq:815096 version:0.6.0.1

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2020-05-11 13:37:34.116641498 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new.3606/ghc-hackage-security.changes
  2020-06-19 17:13:01.238078000 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:14:08 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---

New:

  hackage-security.cabal



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.IhcZeE/_old  2020-06-19 17:13:02.070080783 +0200
+++ /var/tmp/diff_new_pack.IhcZeE/_new  2020-06-19 17:13:02.070080783 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-hackage-security
 #
-# Copyright (c) 2020 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
@@ -25,6 +25,7 @@
 License:BSD-3-Clause
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel
@@ -87,7 +88,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cabal-tweak-dep-ver base64-bytestring '< 1.1' '< 2'
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ hackage-security.cabal ++
cabal-version:   1.12
name:hackage-security
version: 0.6.0.1
x-revision:  1

synopsis:Hackage security library
description: The hackage security library provides both server and
 client utilities for securing the Hackage package server
 ().  It is based on The Update
 Framework (), a set of
 recommendations developed by security researchers at
 various universities in the US as well as developers on the
 Tor project ().
 .
 The current implementation supports only index signing,
 thereby enabling untrusted mirrors. It does not yet provide
 facilities for author package signing.
 .
 The library has two main entry points:
 "Hackage.Security.Client" is the main entry point for
 clients (the typical example being @cabal@), and
 "Hackage.Security.Server" is the main entry point for
 servers (the typical example being @hackage-server@).
license: BSD3
license-file:LICENSE
author:  Edsko de Vries
maintainer:  cabal-de...@haskell.org
copyright:   Copyright 2015-2016 Well-Typed LLP
category:Distribution
homepage:https://github.com/haskell/hackage-security
bug-reports: https://github.com/haskell/hackage-security/issues
build-type:  Simple
tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, 
GHC==8.2.2, GHC==8.0.2,
 GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2


extra-source-files:
  ChangeLog.md

source-repository head
  type: git
  location: https://github.com/haskell/hackage-security.git

flag base48
  description: Are we using @base@ 4.8 or later?
  manual: False

flag use-network-uri
  description: Are we using @network-uri@?
  manual: False

flag old-directory
  description: Use @directory@ < 1.2 and @old-time@
  manual:  False
  default: False

flag mtl21
  description: Use @mtl@ < 2.2 and @mtl-compat@
  manual:  False
  default: False

flag lukko
  description: Use @lukko@ for file-locking, otherwise use @GHC.IO.Handle.Lock@
  manual:  True
  default: True

library
  -- Most functionality is exported through the top-level entry points .Client
  -- and .Server; the other exported modules are intended for qualified imports.
  exposed-

commit ghc-hackage-security for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2020-05-11 13:37:30

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


Package is "ghc-hackage-security"

Mon May 11 13:37:30 2020 rev:16 rq:801077 version:0.6.0.1

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2020-03-09 14:17:24.554665815 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new.2738/ghc-hackage-security.changes
  2020-05-11 13:37:34.116641498 +0200
@@ -1,0 +2,18 @@
+Wed May  6 06:54:16 UTC 2020 - psim...@suse.com
+
+- Update hackage-security to version 0.6.0.1.
+  * Fix bug in non-default `-lukko` build-configuration (#242)
+  * Add support for `template-haskell-2.16.0.0` (#240)
+  * Remove `Hackage.Security.TUF.FileMap.lookupM`
+  * Don't expose `Hackage.Security.Util.IO` module
+  * Don't expose `Hackage.Security.Util.Lens` module
+  * Report missing keys in `.meta` objects more appropriately as
+`ReportSchemaErrors(expected)` instead of via `Monad(fail)`
+  * Add support for GHC 8.8 / base-4.13
+  * Use `lukko` for file-locking
+  * Extend `LogMessage` to signal events for cache lock acquiring and release
+  * New `lockCacheWithLogger` operation
+
+- Remove obsolete patch "fix-ghc-8.8.x-build.patch".
+
+---

Old:

  fix-ghc-8.8.x-build.patch
  hackage-security-0.5.3.0.tar.gz
  hackage-security.cabal

New:

  hackage-security-0.6.0.1.tar.gz



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.MUuVyu/_old  2020-05-11 13:37:35.064643485 +0200
+++ /var/tmp/diff_new_pack.MUuVyu/_new  2020-05-11 13:37:35.064643485 +0200
@@ -19,14 +19,12 @@
 %global pkg_name hackage-security
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.5.3.0
+Version:0.6.0.1
 Release:0
 Summary:Hackage security library
 License:BSD-3-Clause
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/6.cabal#/%{pkg_name}.cabal
-Patch01:
https://raw.githubusercontent.com/hvr/head.hackage/master/patches/hackage-security-0.5.3.0.patch#/fix-ghc-8.8.x-build.patch
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel
@@ -36,6 +34,7 @@
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-ed25519-devel
 BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-lukko-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-network-devel
 BuildRequires:  ghc-network-uri-devel
@@ -49,10 +48,13 @@
 BuildRequires:  ghc-zlib-devel
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-tasty-devel
 BuildRequires:  ghc-tasty-hunit-devel
 BuildRequires:  ghc-tasty-quickcheck-devel
 BuildRequires:  ghc-temporary-devel
+BuildRequires:  ghc-unordered-containers-devel
+BuildRequires:  ghc-vector-devel
 %endif
 
 %description
@@ -85,13 +87,9 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
-%patch01 -p1
-cabal-tweak-dep-ver base '< 4.13' '< 5'
-cabal-tweak-dep-ver network-uri '< 2.7' '< 3'
+cabal-tweak-dep-ver base64-bytestring '< 1.1' '< 2'
 
 %build
-%define cabal_configure_options -fbase48 -fuse-network-uri
 %ghc_lib_build
 
 %install

++ hackage-security-0.5.3.0.tar.gz -> hackage-security-0.6.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hackage-security-0.5.3.0/ChangeLog.md 
new/hackage-security-0.6.0.1/ChangeLog.md
--- old/hackage-security-0.5.3.0/ChangeLog.md   2018-03-26 01:39:07.0 
+0200
+++ new/hackage-security-0.6.0.1/ChangeLog.md   2001-09-09 03:46:40.0 
+0200
@@ -1,3 +1,24 @@
+See also http://pvp.haskell.org/faq
+
+0.6.0.1
+---
+
+* Fix bug in non-default `-lukko` build-configuration (#242)
+* Add support for `template-haskell-2.16.0.0` (#240)
+
+0.6.0.0
+---
+
+* Remove `Hackage.Security.TUF.FileMap.lookupM`
+* Don't expose `Hackage.Security.Util.IO` module
+* Don't expose `Hackage.Security.Util.Lens` module
+* Report missing keys in `.meta` objects more appropriately as
+  `ReportSchemaErrors(expected)` instead of via `Monad(fail)`
+* Add support for GHC 8.8 / base-4.13
+* Use `lukko` for file-locking
+* Extend `LogMessage` to signal events for cache lock acquiring and release
+* New `lockCacheWithLogger

commit ghc-hackage-security for openSUSE:Factory

2020-03-09 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2020-03-09 14:17:23

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


Package is "ghc-hackage-security"

Mon Mar  9 14:17:23 2020 rev:15 rq:780174 version:0.5.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2020-01-03 17:35:32.223251087 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new.26092/ghc-hackage-security.changes
 2020-03-09 14:17:24.554665815 +0100
@@ -0,0 +1,5 @@
+---
+Fri Feb 28 08:35:47 UTC 2020 - Peter Simons 
+
+- Update Cabal build information for more accurate dependencies.
+



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.e8Zspe/_old  2020-03-09 14:17:25.062666150 +0100
+++ /var/tmp/diff_new_pack.e8Zspe/_new  2020-03-09 14:17:25.062666150 +0100
@@ -88,8 +88,10 @@
 cp -p %{SOURCE1} %{pkg_name}.cabal
 %patch01 -p1
 cabal-tweak-dep-ver base '< 4.13' '< 5'
+cabal-tweak-dep-ver network-uri '< 2.7' '< 3'
 
 %build
+%define cabal_configure_options -fbase48 -fuse-network-uri
 %ghc_lib_build
 
 %install




commit ghc-hackage-security for openSUSE:Factory

2020-01-03 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2020-01-03 17:35:19

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


Package is "ghc-hackage-security"

Fri Jan  3 17:35:19 2020 rev:14 rq:760284 version:0.5.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2019-12-27 13:53:44.836669285 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new.6675/ghc-hackage-security.changes
  2020-01-03 17:35:32.223251087 +0100
@@ -0,0 +1,6 @@
+--
+Wed Jan  1 11:06:30 UTC 2020 - psim...@suse.com
+
+- Apply "fix-ghc-8.8.x-build.patch" from head.hackage to fix the
+  build with ghc-8.8.1.
+

New:

  fix-ghc-8.8.x-build.patch



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.INjKM0/_old  2020-01-03 17:35:33.715251853 +0100
+++ /var/tmp/diff_new_pack.INjKM0/_new  2020-01-03 17:35:33.719251856 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-hackage-security
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -26,6 +26,7 @@
 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/6.cabal#/%{pkg_name}.cabal
+Patch01:
https://raw.githubusercontent.com/hvr/head.hackage/master/patches/hackage-security-0.5.3.0.patch#/fix-ghc-8.8.x-build.patch
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel
@@ -85,6 +86,8 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
+%patch01 -p1
+cabal-tweak-dep-ver base '< 4.13' '< 5'
 
 %build
 %ghc_lib_build

++ fix-ghc-8.8.x-build.patch ++
diff -ru hackage-security-0.5.3.0.orig/src/Hackage/Security/TUF/FileMap.hs 
hackage-security-0.5.3.0/src/Hackage/Security/TUF/FileMap.hs
--- hackage-security-0.5.3.0.orig/src/Hackage/Security/TUF/FileMap.hs   
2018-03-25 19:39:07.0 -0400
+++ hackage-security-0.5.3.0/src/Hackage/Security/TUF/FileMap.hs
2019-03-16 08:29:08.347456951 -0400
@@ -78,7 +78,7 @@
 lookupM :: Monad m => FileMap -> TargetPath -> m FileInfo
 lookupM m fp =
 case lookup fp m of
-  Nothing  -> fail $ "No entry for " ++ pretty fp ++ " in filemap"
+  Nothing  -> error $ "No entry for " ++ pretty fp ++ " in filemap"
   Just nfo -> return nfo
 
 
{---



commit ghc-hackage-security for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2019-12-27 13:53:43

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


Package is "ghc-hackage-security"

Fri Dec 27 13:53:43 2019 rev:13 rq:759404 version:0.5.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2019-06-19 21:12:15.358734087 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new.6675/ghc-hackage-security.changes
  2019-12-27 13:53:44.836669285 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:13:48 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.GAdlYs/_old  2019-12-27 13:53:45.484669598 +0100
+++ /var/tmp/diff_new_pack.GAdlYs/_new  2019-12-27 13:53:45.484669598 +0100
@@ -23,7 +23,6 @@
 Release:0
 Summary:Hackage security library
 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/6.cabal#/%{pkg_name}.cabal
@@ -74,7 +73,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}




commit ghc-hackage-security for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2019-06-19 21:10:40

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


Package is "ghc-hackage-security"

Wed Jun 19 21:10:40 2019 rev:12 rq:710627 version:0.5.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2018-10-25 08:21:37.175930908 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new.4811/ghc-hackage-security.changes
  2019-06-19 21:12:15.358734087 +0200
@@ -1,0 +2,5 @@
+Tue Jun 11 14:29:11 UTC 2019 - Peter Simons 
+
+- Update Cabal file for more accurate build dependencies.
+
+---



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.T3YUlP/_old  2019-06-19 21:12:16.306735008 +0200
+++ /var/tmp/diff_new_pack.T3YUlP/_new  2019-06-19 21:12:16.306735008 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-hackage-security
 #
-# 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
@@ -26,7 +26,7 @@
 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/3.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/6.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel

++ hackage-security.cabal ++
--- /var/tmp/diff_new_pack.T3YUlP/_old  2019-06-19 21:12:16.350735050 +0200
+++ /var/tmp/diff_new_pack.T3YUlP/_new  2019-06-19 21:12:16.350735050 +0200
@@ -1,7 +1,7 @@
 cabal-version:   1.12
 name:hackage-security
 version: 0.5.3.0
-x-revision: 3
+x-revision: 6
 
 synopsis:Hackage security library
 description: The hackage security library provides both server and
@@ -103,7 +103,7 @@
base16-bytestring >= 0.1.1   && < 0.2,
base64-bytestring >= 1.0 && < 1.1,
bytestring>= 0.9 && < 0.11,
-   Cabal >= 1.14&& < 2.6,
+   Cabal >= 1.14&& < 3.2,
containers>= 0.4 && < 0.7,
ed25519   >= 0.0 && < 0.1,
filepath  >= 1.2 && < 1.5,
@@ -114,7 +114,7 @@
-- 0.4.2 introduces TarIndex, 0.4.4 introduces more
-- functionality, 0.5.0 changes type of serialise
tar   >= 0.5 && < 0.6,
-   time  >= 1.2 && < 1.9,
+   time  >= 1.2 && < 1.10,
transformers  >= 0.4 && < 0.6,
zlib  >= 0.5 && < 0.7,
-- whatever versions are bundled with ghc:
@@ -201,7 +201,7 @@
   -- dependency in network is not redundant.)
   if flag(use-network-uri)
 build-depends: network-uri >= 2.6 && < 2.7,
-   network >= 2.6 && < 2.9
+   network >= 2.6 && < 2.9 || >= 3.0 && < 3.2
   else
 build-depends: network >= 2.5 && < 2.6
 




commit ghc-hackage-security for openSUSE:Factory

2018-10-24 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2018-10-25 08:21:35

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


Package is "ghc-hackage-security"

Thu Oct 25 08:21:35 2018 rev:11 rq:643246 version:0.5.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2018-08-20 16:20:20.696900769 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new/ghc-hackage-security.changes
   2018-10-25 08:21:37.175930908 +0200
@@ -1,0 +2,5 @@
+Fri Oct 19 18:38:52 UTC 2018 - Peter Simons 
+
+- Update Cabal build instructions to support ghc-8.6.1.
+
+---



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.7YnpZQ/_old  2018-10-25 08:21:38.247930428 +0200
+++ /var/tmp/diff_new_pack.7YnpZQ/_new  2018-10-25 08:21:38.251930426 +0200
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -26,7 +26,7 @@
 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/2.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel

++ hackage-security.cabal ++
--- /var/tmp/diff_new_pack.7YnpZQ/_old  2018-10-25 08:21:38.291930407 +0200
+++ /var/tmp/diff_new_pack.7YnpZQ/_new  2018-10-25 08:21:38.291930407 +0200
@@ -1,7 +1,7 @@
 cabal-version:   1.12
 name:hackage-security
 version: 0.5.3.0
-x-revision: 2
+x-revision: 3
 
 synopsis:Hackage security library
 description: The hackage security library provides both server and
@@ -99,12 +99,12 @@
Hackage.Security.Util.TypedEmbedded
Prelude
   -- We support ghc 7.4 (bundled with Cabal 1.14) and up
-  build-depends:   base  >= 4.5 && < 4.12,
+  build-depends:   base  >= 4.5 && < 4.13,
base16-bytestring >= 0.1.1   && < 0.2,
base64-bytestring >= 1.0 && < 1.1,
bytestring>= 0.9 && < 0.11,
Cabal >= 1.14&& < 2.6,
-   containers>= 0.4 && < 0.6,
+   containers>= 0.4 && < 0.7,
ed25519   >= 0.0 && < 0.1,
filepath  >= 1.2 && < 1.5,
mtl   >= 2.2 && < 2.3,
@@ -201,7 +201,7 @@
   -- dependency in network is not redundant.)
   if flag(use-network-uri)
 build-depends: network-uri >= 2.6 && < 2.7,
-   network >= 2.6 && < 2.8
+   network >= 2.6 && < 2.9
   else
 build-depends: network >= 2.5 && < 2.6
 




commit ghc-hackage-security for openSUSE:Factory

2018-08-20 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2018-08-20 16:20:15

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


Package is "ghc-hackage-security"

Mon Aug 20 16:20:15 2018 rev:10 rq:630365 version:0.5.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2018-07-24 17:19:09.747051946 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new/ghc-hackage-security.changes
   2018-08-20 16:20:20.696900769 +0200
@@ -1,0 +2,5 @@
+Tue Aug  7 07:10:52 UTC 2018 - psim...@suse.com
+
+- Update Cabal build information to support Cabal 2.4.x.
+
+---



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.DNDomH/_old  2018-08-20 16:20:21.272901583 +0200
+++ /var/tmp/diff_new_pack.DNDomH/_new  2018-08-20 16:20:21.276901588 +0200
@@ -26,7 +26,7 @@
 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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel

++ hackage-security.cabal ++
--- /var/tmp/diff_new_pack.DNDomH/_old  2018-08-20 16:20:21.392901752 +0200
+++ /var/tmp/diff_new_pack.DNDomH/_new  2018-08-20 16:20:21.392901752 +0200
@@ -1,7 +1,7 @@
 cabal-version:   1.12
 name:hackage-security
 version: 0.5.3.0
-x-revision: 1
+x-revision: 2
 
 synopsis:Hackage security library
 description: The hackage security library provides both server and
@@ -103,7 +103,7 @@
base16-bytestring >= 0.1.1   && < 0.2,
base64-bytestring >= 1.0 && < 1.1,
bytestring>= 0.9 && < 0.11,
-   Cabal >= 1.14&& < 2.4,
+   Cabal >= 1.14&& < 2.6,
containers>= 0.4 && < 0.6,
ed25519   >= 0.0 && < 0.1,
filepath  >= 1.2 && < 1.5,




commit ghc-hackage-security for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2018-07-24 17:19:08

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


Package is "ghc-hackage-security"

Tue Jul 24 17:19:08 2018 rev:9 rq:623779 version:0.5.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2018-05-30 12:25:48.097347754 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new/ghc-hackage-security.changes
   2018-07-24 17:19:09.747051946 +0200
@@ -1,0 +2,11 @@
+Wed Jul 18 14:26:25 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
+Wed Jul 18 14:12:30 UTC 2018 - psim...@suse.com
+
+- Revise cabal build file to specify more accurate dependencies.
+
+---
@@ -50 +60,0 @@
-

New:

  hackage-security.cabal



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.cjZQQp/_old  2018-07-24 17:19:10.371052749 +0200
+++ /var/tmp/diff_new_pack.cjZQQp/_new  2018-07-24 17:19:10.371052749 +0200
@@ -26,6 +26,7 @@
 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-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel
@@ -85,6 +86,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ hackage-security.cabal ++
cabal-version:   1.12
name:hackage-security
version: 0.5.3.0
x-revision: 1

synopsis:Hackage security library
description: The hackage security library provides both server and
 client utilities for securing the Hackage package server
 ().  It is based on The Update
 Framework (), a set of
 recommendations developed by security researchers at
 various universities in the US as well as developers on the
 Tor project ().
 .
 The current implementation supports only index signing,
 thereby enabling untrusted mirrors. It does not yet provide
 facilities for author package signing.
 .
 The library has two main entry points:
 "Hackage.Security.Client" is the main entry point for
 clients (the typical example being @cabal@), and
 "Hackage.Security.Server" is the main entry point for
 servers (the typical example being @hackage-server@).
license: BSD3
license-file:LICENSE
author:  Edsko de Vries
maintainer:  cabal-de...@haskell.org
copyright:   Copyright 2015-2016 Well-Typed LLP
category:Distribution
homepage:https://github.com/haskell/hackage-security
bug-reports: https://github.com/haskell/hackage-security/issues
build-type:  Simple

extra-source-files:
  ChangeLog.md

source-repository head
  type: git
  location: https://github.com/haskell/hackage-security.git

flag base48
  description: Are we using @base@ 4.8 or later?
  manual: False

flag use-network-uri
  description: Are we using @network-uri@?
  manual: False

flag old-directory
  description: Use @directory@ < 1.2 and @old-time@
  manual:  False
  default: False

library
  -- Most functionality is exported through the top-level entry points .Client
  -- and .Server; the other exported modules are intended for qualified imports.
  exposed-modules: Hackage.Security.Client
   Hackage.Security.Client.Formats
   Hackage.Security.Client.Repository
   Hackage.Security.Client.Repository.Cache
   Hackage.Security.Client.Repository.Local
   Hackage.Security.Client.Repository.Remote
   Hackage.Security.Client.Repository.HttpLib
   Hackage.Security.Client.Verify
   Hackage.Secu

commit ghc-hackage-security for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2018-05-30 12:08:12

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


Package is "ghc-hackage-security"

Wed May 30 12:08:12 2018 rev:8 rq:607805 version:0.5.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2017-09-15 21:46:35.017574876 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new/ghc-hackage-security.changes
   2018-05-30 12:25:48.097347754 +0200
@@ -1,0 +2,10 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update hackage-security to version 0.5.3.0.
+  * Use `flock(2)`-based locking where available
+(compat-shim taken from `cabal-install`'s code-base) (#207)
+  * Improve handling of async exceptions (#187)
+  * Detect & recover from local corruption of uncompressed index tarball (#196)
+  * Support `base-4.11`
+
+---

Old:

  hackage-security-0.5.2.2.tar.gz
  hackage-security.cabal

New:

  hackage-security-0.5.3.0.tar.gz



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.JvXCtt/_old  2018-05-30 12:25:48.981318358 +0200
+++ /var/tmp/diff_new_pack.JvXCtt/_new  2018-05-30 12:25:48.985318225 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-hackage-security
 #
-# 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,14 +19,13 @@
 %global pkg_name hackage-security
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.5.2.2
+Version:0.5.3.0
 Release:0
 Summary:Hackage security library
 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/4.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel
@@ -48,7 +47,6 @@
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-zlib-devel
 %if %{with tests}
-BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-tasty-devel
 BuildRequires:  ghc-tasty-hunit-devel
@@ -87,7 +85,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -105,7 +102,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc ChangeLog.md

++ hackage-security-0.5.2.2.tar.gz -> hackage-security-0.5.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hackage-security-0.5.2.2/ChangeLog.md 
new/hackage-security-0.5.3.0/ChangeLog.md
--- old/hackage-security-0.5.2.2/ChangeLog.md   2016-08-29 00:57:40.0 
+0200
+++ new/hackage-security-0.5.3.0/ChangeLog.md   2018-03-26 01:39:07.0 
+0200
@@ -1,3 +1,12 @@
+0.5.3.0
+---
+
+* Use `flock(2)`-based locking where available
+  (compat-shim taken from `cabal-install`'s code-base) (#207)
+* Improve handling of async exceptions (#187)
+* Detect & recover from local corruption of uncompressed index tarball (#196)
+* Support `base-4.11`
+
 0.5.2.2
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hackage-security-0.5.2.2/hackage-security.cabal 
new/hackage-security-0.5.3.0/hackage-security.cabal
--- old/hackage-security-0.5.2.2/hackage-security.cabal 2016-08-29 
00:57:40.0 +0200
+++ new/hackage-security-0.5.3.0/hackage-security.cabal 2018-03-26 
01:39:07.0 +0200
@@ -1,5 +1,7 @@
+cabal-version:   1.12
 name:hackage-security
-version: 0.5.2.2
+version: 0.5.3.0
+
 synopsis:Hackage security library
 description: The hackage security library provides both server and
  client utilities for securing the Hackage package server
@@ -21,31 +23,30 @@
 license: BSD3
 license-file:LICENSE
 author:  Edsko de Vries
-maintainer:  ed...@well-typed.com
+maintainer:  cabal-de...@haskell.org
 copyright:   Copyright 2015-2016 Well-Typed LLP
 category:Distribution

commit ghc-hackage-security for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2017-09-15 21:46:33

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


Package is "ghc-hackage-security"

Fri Sep 15 21:46:33 2017 rev:7 rq:524705 version:0.5.2.2

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2017-06-04 01:57:35.259199384 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new/ghc-hackage-security.changes
   2017-09-15 21:46:35.017574876 +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-hackage-security.spec ++
--- /var/tmp/diff_new_pack.ps6Rky/_old  2017-09-15 21:46:35.773468389 +0200
+++ /var/tmp/diff_new_pack.ps6Rky/_new  2017-09-15 21:46:35.777467826 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Hackage security library
 License:BSD-3-Clause
-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
 Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
@@ -47,7 +47,6 @@
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-zlib-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
@@ -76,7 +75,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}
@@ -106,11 +105,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
 
 %changelog




commit ghc-hackage-security for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2017-06-04 01:57:33

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


Package is "ghc-hackage-security"

Sun Jun  4 01:57:33 2017 rev:6 rq:499702 version:0.5.2.2

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2017-05-06 18:28:35.568190187 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new/ghc-hackage-security.changes
   2017-06-04 01:57:35.259199384 +0200
@@ -1,0 +2,5 @@
+Mon May 22 08:08:49 UTC 2017 - psim...@suse.com
+
+- Update to version 0.5.2.2 revision 4 with cabal2obs.
+
+---



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.ycoW0V/_old  2017-06-04 01:57:35.807121975 +0200
+++ /var/tmp/diff_new_pack.ycoW0V/_new  2017-06-04 01:57:35.807121975 +0200
@@ -26,7 +26,7 @@
 Group:  Development/Languages/Other
 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/3.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel

++ hackage-security.cabal ++
--- /var/tmp/diff_new_pack.ycoW0V/_old  2017-06-04 01:57:35.863114065 +0200
+++ /var/tmp/diff_new_pack.ycoW0V/_new  2017-06-04 01:57:35.863114065 +0200
@@ -1,6 +1,6 @@
 name:hackage-security
 version: 0.5.2.2
-x-revision: 3
+x-revision: 4
 -- xrevision:1 integrates
 -- 
https://github.com/well-typed/hackage-security/commit/e4bff90a82a588ff2d0beedfc50d5fdf75861d48
 synopsis:Hackage security library
@@ -115,7 +115,7 @@
-- 0.4.2 introduces TarIndex, 0.4.4 introduces more
-- functionality, 0.5.0 changes type of serialise
tar   >= 0.5 && < 0.6,
-   time  >= 1.2 && < 1.7,
+   time  >= 1.2 && < 1.9,
transformers  >= 0.4 && < 0.6,
zlib  >= 0.5 && < 0.7,
-- whatever versions are bundled with ghc:




commit ghc-hackage-security for openSUSE:Factory

2017-05-06 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2017-05-06 18:28:34

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


Package is "ghc-hackage-security"

Sat May  6 18:28:34 2017 rev:5 rq:491469 version:0.5.2.2

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2017-03-20 17:07:04.498946937 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new/ghc-hackage-security.changes
   2017-05-06 18:28:35.568190187 +0200
@@ -1,0 +2,5 @@
+Wed Apr 19 13:20:15 UTC 2017 - psim...@suse.com
+
+- Update to version 0.5.2.2 revision 3 with cabal2obs.
+
+---



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.RVkMFf/_old  2017-05-06 18:28:36.208099893 +0200
+++ /var/tmp/diff_new_pack.RVkMFf/_new  2017-05-06 18:28:36.212099328 +0200
@@ -26,7 +26,7 @@
 Group:  Development/Languages/Other
 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/2.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel

++ hackage-security.cabal ++
--- /var/tmp/diff_new_pack.RVkMFf/_old  2017-05-06 18:28:36.280089734 +0200
+++ /var/tmp/diff_new_pack.RVkMFf/_new  2017-05-06 18:28:36.280089734 +0200
@@ -1,6 +1,6 @@
 name:hackage-security
 version: 0.5.2.2
-x-revision: 2
+x-revision: 3
 -- xrevision:1 integrates
 -- 
https://github.com/well-typed/hackage-security/commit/e4bff90a82a588ff2d0beedfc50d5fdf75861d48
 synopsis:Hackage security library
@@ -153,9 +153,7 @@
UndecidableInstances
   -- use the new stage1/cross-compile-friendly Quotes subset of TH for new GHCs
   if impl(ghc >= 8.0)
--- place holder until Hackage allows to edit in the new extension token
--- other-extensions: TemplateHaskellQuotes
-other-extensions:
+other-extensions: TemplateHaskellQuotes
   else
 other-extensions: TemplateHaskell
 
@@ -164,7 +162,7 @@
   if flag(base48)
 build-depends: base >= 4.8
   else
-build-depends: old-locale >= 1.0
+build-depends: base < 4.8, old-locale >= 1.0
 
   -- The URI type got split out off the network package after version 2.5, and
   -- moved to a separate network-uri package. Since we don't need the rest of
@@ -209,9 +207,7 @@
 
   if impl(ghc >= 7.10)
  other-extensions: AllowAmbiguousTypes
---   StaticPointers
--- ^^^ Temporarily disabled because Hackage doesn't know yet about this
--- extension and will therefore reject this package.
+   StaticPointers
 
 test-suite TestSuite
   type:exitcode-stdio-1.0
@@ -224,7 +220,7 @@
TestSuite.PrivateKeys
TestSuite.Util.StrictMVar
   build-depends:   base,
-   Cabal,
+   Cabal < 1.25,
containers,
HUnit,
bytestring,




commit ghc-hackage-security for openSUSE:Factory

2017-03-20 Thread root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2017-03-20 17:07:02

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


Package is "ghc-hackage-security"

Mon Mar 20 17:07:02 2017 rev:4 rq:477448 version:0.5.2.2

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2016-10-19 13:04:13.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new/ghc-hackage-security.changes
   2017-03-20 17:07:04.498946937 +0100
@@ -1,0 +2,10 @@
+Mon Feb 20 08:42:31 UTC 2017 - psim...@suse.com
+
+- Update to version 0.5.2.2 revision 2 with cabal2obs.
+
+---
+Wed Dec 28 11:40:49 UTC 2016 - psim...@suse.com
+
+- Update to version 0.5.2.2 revision 1 with cabal2obs.
+
+---

New:

  hackage-security.cabal



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.ngTp84/_old  2017-03-20 17:07:05.438814228 +0100
+++ /var/tmp/diff_new_pack.ngTp84/_new  2017-03-20 17:07:05.442813663 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-hackage-security
 #
-# 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
@@ -26,6 +26,7 @@
 Group:  Development/Languages/Other
 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/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel
@@ -87,6 +88,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ hackage-security.cabal ++
name:hackage-security
version: 0.5.2.2
x-revision: 2
-- xrevision:1 integrates
-- 
https://github.com/well-typed/hackage-security/commit/e4bff90a82a588ff2d0beedfc50d5fdf75861d48
synopsis:Hackage security library
description: The hackage security library provides both server and
 client utilities for securing the Hackage package server
 ().  It is based on The Update
 Framework (), a set of
 recommendations developed by security researchers at
 various universities in the US as well as developers on the
 Tor project ().
 .
 The current implementation supports only index signing,
 thereby enabling untrusted mirrors. It does not yet provide
 facilities for author package signing.
 .
 The library has two main entry points:
 "Hackage.Security.Client" is the main entry point for
 clients (the typical example being @cabal@), and
 "Hackage.Security.Server" is the main entry point for
 servers (the typical example being @hackage-server@).
license: BSD3
license-file:LICENSE
author:  Edsko de Vries
maintainer:  ed...@well-typed.com
copyright:   Copyright 2015-2016 Well-Typed LLP
category:Distribution
homepage:https://github.com/well-typed/hackage-security
bug-reports: https://github.com/well-typed/hackage-security/issues
build-type:  Simple
cabal-version:   >=1.10

extra-source-files:
  ChangeLog.md

source-repository head
  type: git
  location: https://github.com/well-typed/hackage-security.git

flag base48
  description: Are we using base 4.8 or later?
  manual: False

flag use-network-uri
  description: Are we using network-uri?
  manual: False

Flag old-directory
  description: Use directory < 1.2 and old-time
  manual:  False
  default: False


library
  -- Most functionality is exported through the top-level entry points .Client
  -- and .Server; the other exported modules are intended for qualified imports.
  exposed-modules: Hackage.Security.Client
   Hackage.Security.Client.Formats
   Hackage.Sec

commit ghc-hackage-security for openSUSE:Factory

2016-10-19 Thread h_root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2016-10-19 13:04:12

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


Package is "ghc-hackage-security"

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2016-07-21 08:12:21.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new/ghc-hackage-security.changes
   2016-10-19 13:04:13.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep 16 21:16:02 UTC 2016 - psim...@suse.com
+
+- Update to version 0.5.2.2 with cabal2obs.
+
+---

Old:

  hackage-security-0.5.2.1.tar.gz

New:

  hackage-security-0.5.2.2.tar.gz



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.tGvGVl/_old  2016-10-19 13:04:14.0 +0200
+++ /var/tmp/diff_new_pack.tGvGVl/_new  2016-10-19 13:04:14.0 +0200
@@ -19,15 +19,14 @@
 %global pkg_name hackage-security
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.5.2.1
+Version:0.5.2.2
 Release:0
 Summary:Hackage security library
 License:BSD-3-Clause
-Group:  System/Libraries
+Group:  Development/Languages/Other
 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
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel
 BuildRequires:  ghc-bytestring-devel
@@ -56,7 +55,6 @@
 BuildRequires:  ghc-tasty-quickcheck-devel
 BuildRequires:  ghc-temporary-devel
 %endif
-# End cabal-rpm deps
 
 %description
 The hackage security library provides both server and client utilities for
@@ -90,20 +88,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++ hackage-security-0.5.2.1.tar.gz -> hackage-security-0.5.2.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hackage-security-0.5.2.1/ChangeLog.md 
new/hackage-security-0.5.2.2/ChangeLog.md
--- old/hackage-security-0.5.2.1/ChangeLog.md   2016-06-07 23:44:49.0 
+0200
+++ new/hackage-security-0.5.2.2/ChangeLog.md   2016-08-29 00:57:40.0 
+0200
@@ -1,3 +1,10 @@
+0.5.2.2
+---
+
+* Fix client in case where server provides MD5 hashes
+  (ignore them, use only SHA256)
+* Fix warnings with GHC 8
+
 0.5.2.1
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hackage-security-0.5.2.1/hackage-security.cabal 
new/hackage-security-0.5.2.2/hackage-security.cabal
--- old/hackage-security-0.5.2.1/hackage-security.cabal 2016-06-07 
23:44:49.0 +0200
+++ new/hackage-security-0.5.2.2/hackage-security.cabal 2016-08-29 
00:57:40.0 +0200
@@ -1,5 +1,5 @@
 name:hackage-security
-version: 0.5.2.1
+version: 0.5.2.2
 synopsis:Hackage security library
 description: The hackage security library provides both server and
  client utilities for securing the Hackage package server
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/hackage-security-0.5.2.1/src/Hackage/Security/Client/Formats.hs 
new/hackage-security-0.5.2.2/src/Hackage/Security/Client/Formats.hs
--- old/hackage-security-0.5.2.1/src/Hackage/Security/Client/Formats.hs 
2016-06-07 23:44:49.0 +0200
+++ new/hackage-security-0.5.2.2/src/Hackage/Security/Client/Formats.hs 
2016-08-29 00:57:40.0 +0200
@@ -113,4 +113,3 @@
 formatsLookup (HFS hf)  (FsUn   _  ) = hasFormatAbsurd hf
 formatsLookup (HFS hf)  (FsGz _) = hasFormatAbsurd hf
 formatsLookup (HFS hf)  (FsUnGz _ a) = formatsLookup hf (FsGz a)
-formatsLookup _ _= error "inaccessible"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/hackage-security-0.5.2.1/src/Hackage/Security/Client/Repository/Local.hs 
new/hackage-security-0.5.2.2/src/Hackage/Security/Client/Repository/Local.hs
--- 
old/hackage-security-0.5.2.1/src/Hackage/Security/Client/Repository/Local.hs
2016-06-07 23:44:49.0 +0200
+++ 
new/hackage-security-0.5.2.2/src/Hackage/Security/Client/Repository/Local.hs
2016-08-29 00:57:40.0 +0200
@@ -92,8 +92,6 @@
 verifyLocalFile (LocalFile fp) trusted

commit ghc-hackage-security for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-hackage-security for 
openSUSE:Factory checked in at 2016-07-21 08:12:16

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


Package is "ghc-hackage-security"

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes
2016-06-07 23:47:25.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hackage-security.new/ghc-hackage-security.changes
   2016-07-21 08:12:21.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:19:31 UTC 2016 - psim...@suse.com
+
+- Update to version 0.5.2.1 revision 0 with cabal2obs.
+
+---

Old:

  hackage-security-0.5.1.0.tar.gz

New:

  hackage-security-0.5.2.1.tar.gz



Other differences:
--
++ ghc-hackage-security.spec ++
--- /var/tmp/diff_new_pack.2adW7J/_old  2016-07-21 08:12:23.0 +0200
+++ /var/tmp/diff_new_pack.2adW7J/_new  2016-07-21 08:12:23.0 +0200
@@ -15,23 +15,18 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global pkg_name hackage-security
 
+%global pkg_name hackage-security
 %bcond_with tests
-
 Name:   ghc-%{pkg_name}
-Version:0.5.1.0
+Version:0.5.2.1
 Release:0
 Summary:Hackage security library
-Group:  System/Libraries
-
 License:BSD-3-Clause
+Group:  System/Libraries
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-base64-bytestring-devel
@@ -46,11 +41,13 @@
 BuildRequires:  ghc-network-uri-devel
 BuildRequires:  ghc-parsec-devel
 BuildRequires:  ghc-pretty-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-tar-devel
 BuildRequires:  ghc-template-haskell-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-zlib-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
@@ -78,22 +75,18 @@
 "Hackage.Security.Server" is the main entry point for servers (the typical
 example being 'hackage-server').
 
-This is a beta release.
-
-
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
+Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   %{name} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development
 files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
@@ -108,25 +101,22 @@
 
 %check
 %if %{with tests}
-%cabal test
+%{cabal} test
 %endif
 
 
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-
+%doc ChangeLog.md
 
 %changelog

++ hackage-security-0.5.1.0.tar.gz -> hackage-security-0.5.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hackage-security-0.5.1.0/ChangeLog.md 
new/hackage-security-0.5.2.1/ChangeLog.md
--- old/hackage-security-0.5.1.0/ChangeLog.md   2016-04-23 05:48:47.0 
+0200
+++ new/hackage-security-0.5.2.1/ChangeLog.md   2016-06-07 23:44:49.0 
+0200
@@ -1,3 +1,20 @@
+0.5.2.1
+---
+
+* Fix accidental breakage with GHC 8
+
+0.5.2.0
+---
+
+* Change path handling to work on Windows (#162).
+* Add new MD5 hash type (#163). This is not for security (only SHA256 is
+  used for verification) but to provide as metadata to help with other
+  services like mirroring (e.g. HTTP & S3 use MD5 checksum headers).
+* Adjust reading of JSON maps to ignore unknown keys. This allows adding
+  e.g. new hash types in future without breaking existing clients.
+* Fix build warnings on GHC 8
+
+
 0.5.1.0
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hackage-security-0.5.1.0/hackage-security.cabal 
new/hackage-security-0.5.2.1/hackage-security.cabal
--- old/hackage-security-0.5.1.0/hackage-security.cabal 2016-04-23 
05:48:47.0 +0200
+++ new/hackage-security-0.5.2.1/hackage-security.cabal 2016-06-07 
23:44:49.0 +02