From ecff0415d87bc4fd88ebe61e5922a4b892352c50 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 2 Feb 2016 00:22:56 +0900 Subject: [PATCH] Reverting "update to 2.8.1" This reverts commit 512f7d1724c08c041a1b5719b50d11a9b8ef1ab1. --- .gitignore | 1 - ghc-QuickCheck.spec | 19 +++++++++---------- sources | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 247cf1a..ba8c226 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,3 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.4.2.tar.gz /QuickCheck-2.6.tar.gz /QuickCheck-2.7.6.tar.gz -/QuickCheck-2.8.1.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 7960cc9..5d3ada1 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -6,8 +6,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 2.8.1 -Release: 1%{?dist} +Version: 2.7.6 +Release: 2%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -17,9 +17,10 @@ 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} @@ -57,14 +58,15 @@ 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} @@ -81,17 +83,14 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %files -f %{name}.files -%license LICENSE +%doc LICENSE %files devel -f %{name}-devel.files -%doc README examples +%doc examples README %changelog -* Fri Oct 02 2015 Jens Petersen - 2.8.1-1 -- update to 2.8.1 - * Wed Jun 17 2015 Fedora Release Engineering - 2.7.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index c548881..6a33479 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -de1e7cdfc5dc7696b6473ed17ad02983 QuickCheck-2.8.1.tar.gz +b936f766ffc9f41feb041beaf96b5fe5 QuickCheck-2.7.6.tar.gz