[ghc-regex-posix] update to 0.95.2 and cblrpm-0.8.7

Jens Petersen petersen at fedoraproject.org
Wed Jan 8 02:12:14 UTC 2014


commit 7df3c44eeb692efda4cbf3a812d4938008d37c83
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Jan 7 17:25:14 2014 +0900

    update to 0.95.2 and cblrpm-0.8.7
    
    unpackage from haskell-platform

 .gitignore           |    1 +
 ghc-regex-posix.spec |   58 +++++++++++++++++++++++++++++++++----------------
 sources              |    2 +-
 3 files changed, 41 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ed4411e..0c2456d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 regex-posix-0.94.2.tar.gz
 /regex-posix-0.94.4.tar.gz
 /regex-posix-0.95.1.tar.gz
+/regex-posix-0.95.2.tar.gz
diff --git a/ghc-regex-posix.spec b/ghc-regex-posix.spec
index 2985c1d..5006551 100644
--- a/ghc-regex-posix.spec
+++ b/ghc-regex-posix.spec
@@ -1,28 +1,40 @@
-%global pkg_name regex-posix
-
-%global common_summary Haskell posix regex backend library
+# https://fedoraproject.org/wiki/Packaging:Haskell
 
-%global common_description The posix regex backend for regex-base.
+%global pkg_name regex-posix
 
 Name:           ghc-%{pkg_name}
-# part of haskell-platform-2011.4.0.0
-Version:        0.95.1
-Release:        3%{?dist}
-Summary:        %{common_summary}
+# part of haskell-platform
+Version:        0.95.2
+Release:        29%{?dist}
+Summary:        Haskell posix regex library
 
-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}
+
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
-# END cabal2spec
-BuildRequires:  ghc-regex-base-prof
+BuildRequires:  ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires:  ghc-array-devel
+BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-regex-base-devel
+# End cabal-rpm deps
 
 %description
-%{common_description}
+The posix regex backend for regex-base.
+
+
+%package devel
+Summary:        Haskell %{pkg_name} library development files
+Provides:       %{name}-static = %{version}-%{release}
+Requires:       ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+This package provides the Haskell %{pkg_name} library development files.
 
 
 %prep
@@ -37,18 +49,26 @@ BuildRequires:  ghc-regex-base-prof
 %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
+* Tue Jan  7 2014 Jens Petersen <petersen at redhat.com> - 0.95.2-29
+- update to 0.95.2 with cblrpm-0.8.7
+- unsubpackage from haskell-platform
+
 * Wed Mar 21 2012 Jens Petersen <petersen at redhat.com> - 0.95.1-3
 - rebuild
 
diff --git a/sources b/sources
index 3b6a60b..f873ead 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-41cbc6d2b99837b64e0cc457c2737cc8  regex-posix-0.95.1.tar.gz
+1df0f9494aab110c7231f36393285c7c  regex-posix-0.95.2.tar.gz


More information about the scm-commits mailing list