[ghc-mwc-random] update with cabal-rpm

Jens Petersen petersen at fedoraproject.org
Sat Nov 17 15:23:09 UTC 2012


commit 4f5c1856d4a498c4da0b07390241d824456ac89f
Author: Jens Petersen <petersen at redhat.com>
Date:   Sun Nov 18 00:23:04 2012 +0900

    update with cabal-rpm

 ghc-mwc-random.spec |   39 +++++++++++++++++++++------------------
 1 files changed, 21 insertions(+), 18 deletions(-)
---
diff --git a/ghc-mwc-random.spec b/ghc-mwc-random.spec
index 82625ee..ea48dd4 100644
--- a/ghc-mwc-random.spec
+++ b/ghc-mwc-random.spec
@@ -1,39 +1,39 @@
-# cabal2spec-0.25.2
 # https://fedoraproject.org/wiki/Packaging:Haskell
 # https://fedoraproject.org/wiki/PackagingDrafts/Haskell
 
 %global pkg_name mwc-random
 
-%global common_summary Pseudo random number generation library for Haskell
+%global common_summary Fast, high quality pseudo random number generation
 
-%global common_description This package provides library for generating high quality random \
-numbers that follow either a uniform or normal distribution.  The \
-generated numbers are suitable for use in statistical applications. \
-The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222) \
-multiply-with-carry generator, which has a period of 2^8222 and \
-fares well in tests of randomness.  It is also extremely fast, \
-between 2 and 3 times faster than the Mersenne Twister. \
-Compared to the mersenne-random package, this package has a more \
-convenient API, is faster, and supports more statistical \
-distributions.
+%global common_description
+
+A library for generating high quality random numbers that follow
+either a uniform or normal distribution.  The generated numbers are\
+suitable for use in statistical applications.\
+The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)\
+multiply-with-carry generator, which has a period of 2^8222 and\
+fares well in tests of randomness.  It is also extremely fast,\
+between 2 and 3 times faster than the Mersenne Twister.\
+\
+Compared to the mersenne-random package, this package has a more\
+convenient API, is faster, and supports more statistical distributions.
 
 Name:           ghc-%{pkg_name}
 Version:        0.12.0.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        %{common_summary}
 
-Group:          System Environment/Libraries
 License:        BSD
-# BEGIN cabal2spec
 URL:            http://hackage.haskell.org/package/%{pkg_name}
 Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-ExclusiveArch:  %{ghc_arches_with_ghci}
+
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
-# END cabal2spec
+BuildRequires:  ghc-rpm-macros
+# Begin cabal-rpm deps:
 BuildRequires:  ghc-primitive-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-vector-devel
+# End cabal-rpm deps
 
 %description
 %{common_description}
@@ -64,6 +64,9 @@ BuildRequires:  ghc-vector-devel
 
 
 %changelog
+* Sat Nov 17 2012 Jens Petersen <petersen at redhat.com> - 0.12.0.1-2
+- update with cabal-rpm
+
 * Sun Oct 21 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.12.0.1-1
 - update to 0.12.0.1
 


More information about the scm-commits mailing list