diff --git a/generic-random-1.5.0.0.tar.gz b/generic-random-1.5.0.0.tar.gz deleted file mode 100644 index 71e0642..0000000 --- a/generic-random-1.5.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:efdf742e7de847ff5229295294aeff4b8a61c783cd3e5b06f0f6943e77d16c0c -size 21570 diff --git a/generic-random-1.5.0.1.tar.gz b/generic-random-1.5.0.1.tar.gz new file mode 100644 index 0000000..78c69b7 --- /dev/null +++ b/generic-random-1.5.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd3451808788d99211edeac27287db5417e97234ce9221a2eb9ab02e9cfc2c0a +size 21703 diff --git a/generic-random.cabal b/generic-random.cabal deleted file mode 100644 index 2305988..0000000 --- a/generic-random.cabal +++ /dev/null @@ -1,105 +0,0 @@ -name: generic-random -version: 1.5.0.0 -x-revision: 1 -synopsis: Generic random generators for QuickCheck -description: - Derive instances of @Arbitrary@ for QuickCheck, - with various options to customize implementations. - . - For more information - . - - See the README - . - - "Generic.Random.Tutorial" - . - - http://blog.poisson.chat/posts/2018-01-05-generic-random-tour.html - -homepage: http://github.com/lysxia/generic-random -license: MIT -license-file: LICENSE -stability: Stable -author: Li-yao Xia -maintainer: lysxia@gmail.com -category: Generics, Testing -build-type: Simple -extra-source-files: README.md CHANGELOG.md -cabal-version: >=1.10 -tested-with: GHC == 8.4.1, GHC == 8.6.1, GHC == 8.8.4, GHC == 8.10.5, GHC == 9.0.1 - -library - hs-source-dirs: src - exposed-modules: - Generic.Random - Generic.Random.DerivingVia - Generic.Random.Internal.BaseCase - Generic.Random.Internal.Generic - Generic.Random.Tutorial - build-depends: - base >= 4.11 && < 4.16, - QuickCheck >= 2.14 - -- exports RecursivelyShrink - default-language: Haskell2010 - ghc-options: -Wall -fno-warn-name-shadowing - -source-repository head - type: git - location: https://github.com/lysxia/generic-random - -test-suite unit - hs-source-dirs: test - main-is: Unit.hs - build-depends: - base, - deepseq, - QuickCheck, - generic-random - type: exitcode-stdio-1.0 - default-language: Haskell2010 - -test-suite coherence - hs-source-dirs: test - main-is: coherence.hs - build-depends: - base, - deepseq, - QuickCheck, - generic-random - type: exitcode-stdio-1.0 - default-language: Haskell2010 - -test-suite inspect - hs-source-dirs: test - main-is: Inspect.hs - build-depends: - base, - QuickCheck, - inspection-testing, - generic-random - type: exitcode-stdio-1.0 - default-language: Haskell2010 - if !flag(enable-inspect) - buildable: False - else - build-depends: random < 1.2 - -- TODO: this test fails with newer versions of random - -test-suite inspect-derivingvia - hs-source-dirs: test - main-is: Inspect/DerivingVia.hs - build-depends: - base, - QuickCheck, - inspection-testing, - generic-random - type: exitcode-stdio-1.0 - default-language: Haskell2010 - if !flag(enable-inspect) - buildable: False - else - build-depends: random < 1.2 - -- TODO: this test fails with newer versions of random - -flag enable-inspect - description: Enable inspection tests - default: False - manual: True diff --git a/ghc-generic-random.changes b/ghc-generic-random.changes index 7204247..352100e 100644 --- a/ghc-generic-random.changes +++ b/ghc-generic-random.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Feb 4 12:15:07 UTC 2022 - psimons@suse.com + +- Update generic-random to version 1.5.0.1. + 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/generic-random-1.5.0.1/src/CHANGELOG.md + ------------------------------------------------------------------- Mon Nov 15 06:59:51 UTC 2021 - psimons@suse.com diff --git a/ghc-generic-random.spec b/ghc-generic-random.spec index 3827e9d..52775c2 100644 --- a/ghc-generic-random.spec +++ b/ghc-generic-random.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-generic-random # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,12 @@ %global pkg_name generic-random %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.5.0.0 +Version: 1.5.0.1 Release: 0 Summary: Generic random generators for QuickCheck License: MIT 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-QuickCheck-devel BuildRequires: ghc-rpm-macros @@ -58,7 +57,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