move splitmix to random

epel9
Jens Petersen 4 years ago
parent a7f05da629
commit 84bed6ef6c

@ -4,23 +4,18 @@
%global pkg_name QuickCheck
%global pkgver %{pkg_name}-%{version}
%global splitmix splitmix-0.1.0.3
%global subpkgs %{splitmix}
# circular dep via base-compat-batteries
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 2.14.2
# can only be reset when all subpkgs bumped
Release: 6%{?dist}
Release: 1%{?dist}
Summary: Automatic testing of Haskell programs
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{splitmix}/%{splitmix}.tar.gz
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -30,7 +25,7 @@ BuildRequires: ghc-base-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-random-prof
#BuildRequires: ghc-splitmix-prof
BuildRequires: ghc-splitmix-prof
BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-transformers-prof
%if %{with tests}
@ -83,33 +78,21 @@ This package provides the Haskell %{pkg_name} profiling library.
%endif
%global main_version %{version}
%if %{defined ghclibdir}
%ghc_lib_subpackage %{splitmix}
%endif
%global version %{main_version}
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver} -a1
%setup -q -n %{pkgver}
# End cabal-rpm setup
%build
# Begin cabal-rpm build:
%ghc_libs_build %{subpkgs}
%ghc_lib_build
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_libs_install %{subpkgs}
%ghc_lib_install
%ghc_fix_rpath %{pkgver}
# End cabal-rpm install
@ -141,7 +124,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 2.14.2-6
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 2.14.2-1
- update to 2.14.2
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.2-5

@ -1,2 +1 @@
SHA512 (splitmix-0.0.5.tar.gz) = b2e86ce9f856ed16ebaea2a9c8758a7c3db66c35ca577d215316e9e73f30c5654210143eb636812eb562a4556f7ade6f0ba07e21fdb624a2558910da288900ae
SHA512 (QuickCheck-2.14.2.tar.gz) = 84decd354e6093bc72afd125410499dd4be3ae8fdbf0a3b466011b4dbcb5c5657e51ab75cfe22790e22bf4ac54cbb1203ff7a0d108e872ce60f4831be827a6e5

Loading…
Cancel
Save