|
|
|
@ -6,8 +6,8 @@
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
# part of haskell-platform
|
|
|
|
|
Version: 2.7.6
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 2.8.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Automatic testing of Haskell programs
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@ -17,10 +17,9 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
|
BuildRequires: ghc-random-devel
|
|
|
|
|
%ifarch %{ghc_arches_with_ghci}
|
|
|
|
|
BuildRequires: ghc-template-haskell-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: ghc-tf-random-devel
|
|
|
|
|
BuildRequires: ghc-transformers-devel
|
|
|
|
|
ExclusiveArch: %{ghc_arches_with_ghci}
|
|
|
|
@ -58,15 +57,14 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%ifnarch %{ghc_arches_with_ghci}
|
|
|
|
|
%define cabal_configure_options -f "-templateHaskell"
|
|
|
|
|
%endif
|
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with tests}
|
|
|
|
@ -83,14 +81,17 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
|
%doc examples README
|
|
|
|
|
%doc README examples
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Oct 02 2015 Jens Petersen <petersen@redhat.com> - 2.8.1-1
|
|
|
|
|
- update to 2.8.1
|
|
|
|
|
|
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|