From d7421f80221e77365b50b3be921147e6d230fbc18ed5e4341062e9b2a58aa25f Mon Sep 17 00:00:00 2001
From: Peter Simons <peter.simons@suse.com>
Date: Thu, 6 Oct 2022 14:46:22 +0000
Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x
 package:ghc-hedgehog revision:21, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hedgehog?expand=0&rev=16
---
 ghc-hedgehog.changes  |   9 +++
 ghc-hedgehog.spec     |   4 +-
 hedgehog-1.1.1.tar.gz |   3 -
 hedgehog-1.1.2.tar.gz |   3 +
 hedgehog.cabal        | 153 ------------------------------------------
 5 files changed, 13 insertions(+), 159 deletions(-)
 delete mode 100644 hedgehog-1.1.1.tar.gz
 create mode 100644 hedgehog-1.1.2.tar.gz
 delete mode 100644 hedgehog.cabal

diff --git a/ghc-hedgehog.changes b/ghc-hedgehog.changes
index f625530..c18d63a 100644
--- a/ghc-hedgehog.changes
+++ b/ghc-hedgehog.changes
@@ -1,3 +1,12 @@
+-------------------------------------------------------------------
+Sat Sep  3 08:12:56 UTC 2022 - Peter Simons <psimons@suse.com>
+
+- Update hedgehog to version 1.1.2.
+  Upstream has edited the change log file since the last release in
+  a non-trivial way, i.e. they did more than just add a new entry
+  at the top. You can review the file at:
+  http://hackage.haskell.org/package/hedgehog-1.1.2/src/CHANGELOG.md
+
 -------------------------------------------------------------------
 Sun May 22 14:23:14 UTC 2022 - Peter Simons <psimons@suse.com>
 
diff --git a/ghc-hedgehog.spec b/ghc-hedgehog.spec
index 28d02ec..7418e41 100644
--- a/ghc-hedgehog.spec
+++ b/ghc-hedgehog.spec
@@ -19,13 +19,12 @@
 %global pkg_name hedgehog
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.1.1
+Version:        1.1.2
 Release:        0
 Summary:        Release with confidence
 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
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-ansi-terminal-devel
 BuildRequires:  ghc-async-devel
@@ -79,7 +78,6 @@ This package provides the Haskell %{pkg_name} library development files.
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
diff --git a/hedgehog-1.1.1.tar.gz b/hedgehog-1.1.1.tar.gz
deleted file mode 100644
index 477e402..0000000
--- a/hedgehog-1.1.1.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ded621edfef36d2bef2ecce10f331f3327af322de2e30c7bf9fbb3d7985ca7e3
-size 70492
diff --git a/hedgehog-1.1.2.tar.gz b/hedgehog-1.1.2.tar.gz
new file mode 100644
index 0000000..41e5b9d
--- /dev/null
+++ b/hedgehog-1.1.2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e1c95456b3ddf815c4b863c8f8229e82548887d1835fdae4fc17433361397335
+size 70805
diff --git a/hedgehog.cabal b/hedgehog.cabal
deleted file mode 100644
index 0b811ed..0000000
--- a/hedgehog.cabal
+++ /dev/null
@@ -1,153 +0,0 @@
-version: 1.1.1
-x-revision: 2
-name:
-  hedgehog
-author:
-  Jacob Stanley
-maintainer:
-  Jacob Stanley <jacob@stanley.io>
-homepage:
-  https://hedgehog.qa
-bug-reports:
-  https://github.com/hedgehogqa/haskell-hedgehog/issues
-synopsis:
-  Release with confidence.
-description:
-  <http://hedgehog.qa/ Hedgehog> automatically generates a comprehensive array
-  of test cases, exercising your software in ways human testers would never
-  imagine.
-  .
-  Generate hundreds of test cases automatically, exposing even the
-  most insidious of corner cases. Failures are automatically simplified, giving
-  developers coherent, intelligible error messages.
-  .
-  To get started quickly, see the <https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-example examples>.
-category:
-  Testing
-license:
-  BSD3
-license-file:
-  LICENSE
-cabal-version:
-  >= 1.10
-build-type:
-  Simple
-tested-with:
-    GHC == 8.0.2
-  , GHC == 8.2.2
-  , GHC == 8.4.4
-  , GHC == 8.6.5
-  , GHC == 8.8.3
-  , GHC == 8.10.1
-  , GHC == 9.2.1
-extra-source-files:
-  README.md
-  CHANGELOG.md
-
-source-repository head
-  type: git
-  location: git://github.com/hedgehogqa/haskell-hedgehog.git
-
-library
-  build-depends:
-   -- GHC 8.0.1 / base-4.9.0.0 (May 2016)
-      base                            >= 4.9        && < 5
-    , ansi-terminal                   >= 0.6        && < 0.12
-    , async                           >= 2.0        && < 2.3
-    , barbies                         >= 1.0        && < 2.1
-    , bytestring                      >= 0.10       && < 0.12
-    , concurrent-output               >= 1.7        && < 1.11
-    , containers                      >= 0.4        && < 0.7
-    , deepseq                         >= 1.1.0.0    && < 1.5
-    , directory                       >= 1.2        && < 1.4
-    , erf                             >= 2.0        && < 2.1
-    , exceptions                      >= 0.7        && < 0.11
-    , lifted-async                    >= 0.7        && < 0.11
-    , mmorph                          >= 1.0        && < 1.3
-    , monad-control                   >= 1.0        && < 1.1
-    , mtl                             >= 2.1        && < 2.4
-    , pretty-show                     >= 1.6        && < 1.11
-    , primitive                       >= 0.6        && < 0.8
-    , random                          >= 1.1        && < 1.3
-    , resourcet                       >= 1.1        && < 1.3
-    , stm                             >= 2.4        && < 2.6
-    , template-haskell                >= 2.10       && < 2.19
-    , text                            >= 1.1        && < 2.1
-    , time                            >= 1.4        && < 1.13
-    , transformers                    >= 0.5        && < 0.7
-    , transformers-base               >= 0.4.5.1    && < 0.5
-    , wl-pprint-annotated             >= 0.0        && < 0.2
-
-  ghc-options:
-    -Wall
-
-  hs-source-dirs:
-    src
-
-  exposed-modules:
-    Hedgehog
-    Hedgehog.Gen
-    Hedgehog.Main
-    Hedgehog.Range
-
-    Hedgehog.Internal.Barbie
-    Hedgehog.Internal.Config
-    Hedgehog.Internal.Discovery
-    Hedgehog.Internal.Distributive
-    Hedgehog.Internal.Exception
-    Hedgehog.Internal.Gen
-    Hedgehog.Internal.HTraversable
-    Hedgehog.Internal.Opaque
-    Hedgehog.Internal.Prelude
-    Hedgehog.Internal.Property
-    Hedgehog.Internal.Queue
-    Hedgehog.Internal.Range
-    Hedgehog.Internal.Region
-    Hedgehog.Internal.Report
-    Hedgehog.Internal.Runner
-    Hedgehog.Internal.Seed
-    Hedgehog.Internal.Show
-    Hedgehog.Internal.Shrink
-    Hedgehog.Internal.Source
-    Hedgehog.Internal.State
-    Hedgehog.Internal.TH
-    Hedgehog.Internal.Tree
-    Hedgehog.Internal.Tripping
-
-  default-language:
-    Haskell2010
-
-test-suite test
-  type:
-    exitcode-stdio-1.0
-
-  main-is:
-    test.hs
-
-  ghc-options:
-    -Wall -threaded -O2
-
-  hs-source-dirs:
-    test
-
-  other-modules:
-    Test.Hedgehog.Applicative
-    Test.Hedgehog.Confidence
-    Test.Hedgehog.Filter
-    Test.Hedgehog.Maybe
-    Test.Hedgehog.Seed
-    Test.Hedgehog.Text
-    Test.Hedgehog.Zip
-
-  build-depends:
-      hedgehog
-    , base                            >= 3          && < 5
-    , containers                      >= 0.4        && < 0.7
-    , mmorph                          >= 1.0        && < 1.3
-    , mtl                             >= 2.1        && < 2.4
-    , pretty-show                     >= 1.6        && < 1.11
-    , text                            >= 1.1        && < 2.1
-    , transformers                    >= 0.3        && < 0.7
-
-  default-language:
-    Haskell2010
\ No newline at end of file