|
|
|
@ -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
|
|
|
|
|