Updated to 0.6
This commit is contained in:
parent
55f3e2c596
commit
e101c0151c
|
@ -1 +1,2 @@
|
||||||
/show-0.4.1.2.tar.gz
|
/show-0.4.1.2.tar.gz
|
||||||
|
/show-0.6.tar.gz
|
||||||
|
|
|
@ -11,8 +11,8 @@ ShowQ adds SmallCheck & QuickCheck support.\
|
||||||
SimpleReflect allows us to literally see how functions 'expand'.
|
SimpleReflect allows us to literally see how functions 'expand'.
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.4.1.2
|
Version: 0.6
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
# SimpleReflect is BSD and show.cabal says GPL
|
# SimpleReflect is BSD and show.cabal says GPL
|
||||||
|
@ -20,7 +20,6 @@ License: GPL+
|
||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
Patch0: show-0.4.1.2-fix-fsf-address.patch
|
Patch0: show-0.4.1.2-fix-fsf-address.patch
|
||||||
Patch1: show-0.4.1.2-disable-mysmallcheck.patch
|
|
||||||
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
@ -38,7 +37,6 @@ BuildRequires: ghc-syb-devel
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
%patch0 -p1 -b .orig
|
%patch0 -p1 -b .orig
|
||||||
%patch1 -p1 -b .fix
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
@ -60,6 +58,9 @@ BuildRequires: ghc-syb-devel
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 21 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.6-1
|
||||||
|
- Updated to 0.6
|
||||||
|
|
||||||
* Fri May 3 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.4.1.2-5
|
* Fri May 3 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.4.1.2-5
|
||||||
- Disable mysmallcheck
|
- Disable mysmallcheck
|
||||||
|
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
diff -up show-0.4.1.2/ShowQ.hs.fix show-0.4.1.2/ShowQ.hs
|
|
||||||
--- show-0.4.1.2/ShowQ.hs.fix 2013-05-03 16:02:53.995282549 +0530
|
|
||||||
+++ show-0.4.1.2/ShowQ.hs 2013-05-03 16:03:38.330291233 +0530
|
|
||||||
@@ -8,10 +8,12 @@ import System.IO.Unsafe (unsafePerformIO
|
|
||||||
import Test.QuickCheck (numTests, quickCheckWithResult, stdArgs, Result(..), Testable)
|
|
||||||
import qualified Test.SmallCheck as SC (smallCheck, Testable)
|
|
||||||
|
|
||||||
+{--
|
|
||||||
mysmallcheck :: (SC.Testable prop) => prop -> ()
|
|
||||||
mysmallcheck = unsafePerformIO . mysmallcheck'
|
|
||||||
mysmallcheck' :: (SC.Testable prop) => prop -> IO ()
|
|
||||||
mysmallcheck' = SC.smallCheck 6
|
|
||||||
+--}
|
|
||||||
|
|
||||||
myquickcheck :: Testable prop => prop -> String
|
|
||||||
myquickcheck = unsafePerformIO . myquickcheck'
|
|
Loading…
Reference in New Issue