[ghc-HUnit] update to 1.2.4.2 for haskell-platform-2011.4.0.0

Jens Petersen petersen at fedoraproject.org
Tue Dec 27 08:00:09 UTC 2011


commit d197a6b72d7f9e37505e0058bd19174a4ded6810
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Dec 27 17:00:00 2011 +0900

    update to 1.2.4.2 for haskell-platform-2011.4.0.0
    
    - update to cabal2spec-0.25

 .gitignore     |    1 +
 ghc-HUnit.spec |   41 +++++++++++++++++++++++++++++++++--------
 sources        |    2 +-
 3 files changed, 35 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e3e1002..986b923 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 HUnit-1.2.2.1.tar.gz
 /HUnit-1.2.2.3.tar.gz
+/HUnit-1.2.4.2.tar.gz
diff --git a/ghc-HUnit.spec b/ghc-HUnit.spec
index 47d764b..7fde8f6 100644
--- a/ghc-HUnit.spec
+++ b/ghc-HUnit.spec
@@ -6,24 +6,42 @@
 for Java.
 
 Name:           ghc-%{pkg_name}
-# part of haskell-platform-2011.2.0.1
-Version:        1.2.2.3
-Release:        7%{?dist}.3
+# part of haskell-platform-2011.4.0.0
+Version:        1.2.4.2
+Release:        1%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        BSD
-URL:            http://hunit.sourceforge.net/
+# 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
-BuildRequires:  hscolour
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires:  ghc-base-prof
 
 %description
 %{common_description}
 
 
+%package -n ghc-%{pkg_name}-devel
+Summary:        Development files for %{common_summary}
+Group:          Development/Libraries
+# BEGIN cabal2spec
+%{?ghc_devel_requires}
+Obsoletes:      ghc-%{pkg_name}-prof < %{version}-%{release}
+Provides:       ghc-%{pkg_name}-prof = %{version}-%{release}
+# END cabal2spec
+# Haskell devel dependencies are autogenerated by ghc-deps.sh
+
+%description -n ghc-%{pkg_name}-devel
+%{common_description}
+
+This package contains the development files.
+
+
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
@@ -43,13 +61,20 @@ BuildRequires:  hscolour
 rm %{buildroot}%{_bindir}/*-tests
 rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
 
-echo %doc README doc/Guide.html examples/Example.hs >> %{name}-devel.files
+
+%postun -n ghc-%{pkg_name}-devel
+%ghc_pkg_recache
 
 
-%ghc_lib_package
+%ghc_files LICENSE
+%doc README doc/Guide.html examples/Example.hs
 
 
 %changelog
+* Tue Dec 27 2011 Jens Petersen <petersen at redhat.com> - 1.2.4.2-1
+- update to 1.2.4.2 for haskell-platform-2011.4.0.0
+- update to cabal2spec-0.25
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.2.2.3-7.3
 - rebuild with new gmp without compat lib
 
diff --git a/sources b/sources
index 8c903e7..f750761 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f179add502f88153e5c9fdc69056b657  HUnit-1.2.2.3.tar.gz
+b834809dc5c4ac4d1e519d8d6c456600  HUnit-1.2.4.2.tar.gz


More information about the scm-commits mailing list