[ghc-vector] update to revised simplified Haskell Packaging Guidelines

Jens Petersen petersen at fedoraproject.org
Wed Apr 24 07:53:58 UTC 2013


commit a58f302b01a113dab27406964fdc46d7a2a75139
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Apr 24 16:53:52 2013 +0900

    update to revised simplified Haskell Packaging Guidelines

 ghc-vector.spec |   39 +++++++++++++++++++++++++--------------
 1 files changed, 25 insertions(+), 14 deletions(-)
---
diff --git a/ghc-vector.spec b/ghc-vector.spec
index 9472055..86a85fd 100644
--- a/ghc-vector.spec
+++ b/ghc-vector.spec
@@ -1,18 +1,12 @@
 # https://fedoraproject.org/wiki/Packaging:Haskell
-# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
 
 %global pkg_name vector
 
-%global common_summary Efficient Arrays
-
-%global common_description An efficient implementation of Int-indexed arrays (both mutable and\
-immutable), with a powerful loop fusion optimization framework.
-
 Name:           ghc-%{pkg_name}
-# part of haskell-platform-2012.4
+# part of haskell-platform-2012.4+
 Version:        0.10.0.1
-Release:        5%{?dist}
-Summary:        %{common_summary}
+Release:        6%{?dist}
+Summary:        Efficient Arrays
 
 License:        BSD
 URL:            http://hackage.haskell.org/package/%{pkg_name}
@@ -27,7 +21,17 @@ BuildRequires:  ghc-primitive-devel
 # End cabal-rpm deps
 
 %description
-%{common_description}
+An efficient implementation of Int-indexed arrays (both mutable
+and immutable), with a powerful loop optimisation framework.
+
+
+%package devel
+Summary:        Haskell %{pkg_name} library development files
+%{?ghc_devel_requires}
+
+%description devel
+An efficient implementation of Int-indexed arrays (both mutable
+and immutable), with a powerful loop optimisation framework.
 
 
 %prep
@@ -46,18 +50,25 @@ BuildRequires:  ghc-primitive-devel
 %ghc_lib_install
 
 
-%ghc_devel_package
+%post devel
+%ghc_pkg_recache
+
 
-%ghc_devel_description
+%postun devel
+%ghc_pkg_recache
 
 
-%ghc_devel_post_postun
+%files -f %{name}.files
+%doc LICENSE
 
 
-%ghc_files LICENSE
+%files devel -f %{name}-devel.files
 
 
 %changelog
+* Wed Apr 24 2013 Jens Petersen <petersen at redhat.com> - 0.10.0.1-6
+- update to revised simplified Haskell Packaging Guidelines (cabal-rpm-0.8)
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.10.0.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list