[ghc-QuickCheck] update to 2.4.0.1, add hscolour, update url
Jens Petersen
petersen at fedoraproject.org
Thu Nov 25 09:08:03 UTC 2010
commit 3439b157a087e7c344de9ea3fde8721ed6284864
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Nov 25 19:08:08 2010 +1000
update to 2.4.0.1, add hscolour, update url
.gitignore | 1 +
ghc-QuickCheck.spec | 19 ++++++++++++++-----
sources | 2 +-
3 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 22d1ca1..009b114 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
QuickCheck-2.1.1.1.tar.gz
+/QuickCheck-2.4.0.1.tar.gz
diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec
index 3e6975b..6e07928 100644
--- a/ghc-QuickCheck.spec
+++ b/ghc-QuickCheck.spec
@@ -16,25 +16,29 @@ observe the distribution of test data, and define test data generators.
%global ghc_pkg_deps ghc-ghc-devel, ghc-mtl-devel
%bcond_without shared
+%bcond_without hscolour
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name}
-# part of haskell-platform-2010.2.0.0
-Version: 2.1.1.1
+# break of haskell-platform-2010.2.0.0
+Version: 2.4.0.1
Release: 1%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
-URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-doc, ghc-prof
-BuildRequires: ghc-rpm-macros >= 0.8.0
+BuildRequires: ghc-rpm-macros >= 0.8.1
+%if %{with hscolour}
+BuildRequires: hscolour
+%endif
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
%description
@@ -61,10 +65,15 @@ rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
-%ghc_lib_package -o 2.1.1.1-1
+%ghc_lib_package
%changelog
+* Thu Nov 25 2010 Jens Petersen <petersen at redhat.com> - 2.4.0.1-1
+- update to 2.4.0.1
+- add hscolour
+- update url and drop -o obsoletes
+
* Fri Jul 16 2010 Jens Petersen <petersen at redhat.com> - 2.1.1.1-1
- update to 2.1.1.1 for haskell-platform-2010.2.0.0
- obsolete doc subpackage (ghc-rpm-macros-0.8.0)
diff --git a/sources b/sources
index d1f61c2..c92228a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a9e9170599223dc21c21a0190aadb195 QuickCheck-2.1.1.1.tar.gz
+e8c86e95fd1fa4c58fc8e53e2853db5e QuickCheck-2.4.0.1.tar.gz
More information about the scm-commits
mailing list