Updated to 0.6

This commit is contained in:
Shakthi Kannan 2013-05-21 17:12:57 +05:30
parent fbc2e4fb04
commit 7a9e0d7bb2
4 changed files with 7 additions and 21 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/show-0.4.1.2.tar.gz
/show-0.6.tar.gz

View File

@ -11,8 +11,8 @@ ShowQ adds SmallCheck & QuickCheck support.\
SimpleReflect allows us to literally see how functions 'expand'.
Name: ghc-%{pkg_name}
Version: 0.4.1.2
Release: 5%{?dist}
Version: 0.6
Release: 1%{?dist}
Summary: %{common_summary}
# SimpleReflect is BSD and show.cabal says GPL
@ -20,7 +20,6 @@ License: GPL+
URL: http://hackage.haskell.org/package/%{pkg_name}
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
Patch1: show-0.4.1.2-disable-mysmallcheck.patch
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
@ -38,7 +37,6 @@ BuildRequires: ghc-syb-devel
%prep
%setup -q -n %{pkg_name}-%{version}
%patch0 -p1 -b .orig
%patch1 -p1 -b .fix
%build
%ghc_lib_build
@ -60,6 +58,9 @@ BuildRequires: ghc-syb-devel
%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
- Disable mysmallcheck

View File

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

View File

@ -1 +1 @@
e707e696bb20d5087bddbc2d15ebfbac show-0.4.1.2.tar.gz
8af8627f94ad57597990b3bc7d9637a7 show-0.6.tar.gz