[ghc-random] update to 1.0.1.1 and cabal2spec-0.25
Jens Petersen
petersen at fedoraproject.org
Tue Mar 20 06:21:30 UTC 2012
commit 6605f92975e2b82abd5050ad0162f05cce60f8e6
Author: Jens Petersen <petersen at redhat.com>
Date: Tue Mar 20 15:21:23 2012 +0900
update to 1.0.1.1 and cabal2spec-0.25
.gitignore | 1 +
ghc-random.spec | 35 ++++++++++++++++++++++-------------
sources | 2 +-
3 files changed, 24 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8291550..b6a8069 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/random-1.0.0.3.tar.gz
+/random-1.0.1.1.tar.gz
diff --git a/ghc-random.spec b/ghc-random.spec
index 73ea45f..d541c32 100644
--- a/ghc-random.spec
+++ b/ghc-random.spec
@@ -1,29 +1,27 @@
-# For Haskell Packaging Guidelines see:
-# - https://fedoraproject.org/wiki/Packaging:Haskell
-# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+# cabal2spec-0.25
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name random
-# common part of summary for all the subpackages
%global common_summary Haskell random number library
-# main description used for all the subpackages
%global common_description A random number library for Haskell.
Name: ghc-%{pkg_name}
-Version: 1.0.0.3
-Release: 28%{?dist}
+Version: 1.0.1.1
+Release: 1%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD and HaskellReport
+# 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}
BuildRequires: ghc-Cabal-devel
-# macros for building haskell packages
-BuildRequires: ghc-rpm-macros
-BuildRequires: hscolour
+BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
BuildRequires: ghc-time-devel
%description
@@ -42,12 +40,23 @@ BuildRequires: ghc-time-devel
%ghc_lib_install
-# define the shared, devel and prof subpkgs, devel scripts,
-# and filelists: ghc-random.files, ghc-random-devel.files
-%ghc_lib_package
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files LICENSE
%changelog
+* Sun Mar 18 2012 Jens Petersen <petersen at redhat.com> - 1.0.1.1-1
+- update to 1.0.1.1
+- update to cabal2spec-0.25
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.0.3-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index 65ab690..4104646 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d6c1343438092e74fb07d439c64395c4 random-1.0.0.3.tar.gz
+9a249cfa7ff6793cbf2be06e9fcd7538 random-1.0.1.1.tar.gz
More information about the scm-commits
mailing list