|
|
@ -2,31 +2,27 @@
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
|
|
|
|
%global pkg_name QuickCheck
|
|
|
|
%global pkg_name QuickCheck
|
|
|
|
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
# part of haskell-platform
|
|
|
|
# part of haskell-platform
|
|
|
|
Version: 2.9.2
|
|
|
|
Version: 2.10.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Automatic testing of Haskell programs
|
|
|
|
Summary: Automatic testing of Haskell programs
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
|
|
|
|
BuildRequires: ghc-deepseq-devel
|
|
|
|
BuildRequires: ghc-random-devel
|
|
|
|
BuildRequires: ghc-random-devel
|
|
|
|
BuildRequires: ghc-semigroups-devel
|
|
|
|
|
|
|
|
BuildRequires: ghc-template-haskell-devel
|
|
|
|
BuildRequires: ghc-template-haskell-devel
|
|
|
|
BuildRequires: ghc-tf-random-devel
|
|
|
|
BuildRequires: ghc-tf-random-devel
|
|
|
|
BuildRequires: ghc-transformers-devel
|
|
|
|
BuildRequires: ghc-transformers-devel
|
|
|
|
%if %{with tests}
|
|
|
|
|
|
|
|
BuildRequires: ghc-test-framework-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -57,7 +53,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
%setup -q -n %{pkgver}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|