[ghc-process-leksah] Rebuild for haskell-platform update modified: ghc-process-leksah.spec

narasim narasim at fedoraproject.org
Sun Jan 8 06:41:47 UTC 2012


commit 60968f4b3ff58c0ae5f87bffb0bb8f8a1e3203df
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date:   Sun Jan 8 12:11:29 2012 +0530

    Rebuild for haskell-platform update
    	modified:   ghc-process-leksah.spec

 ghc-process-leksah.spec |   44 ++++++++++++++++++++++++++++++++++++++------
 1 files changed, 38 insertions(+), 6 deletions(-)
---
diff --git a/ghc-process-leksah.spec b/ghc-process-leksah.spec
index 7a85d07..40ad462 100644
--- a/ghc-process-leksah.spec
+++ b/ghc-process-leksah.spec
@@ -10,26 +10,44 @@
 # main description used for all the subpackages
 %global common_description This package contains libraries for dealing with system processes in leksah.
 
-
 Name:           ghc-%{pkg_name}
 Version:        1.0.1.4
-Release:        7%{?dist}.3
+Release:        8%{?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}
 BuildRequires:  ghc-Cabal-devel
-# macros for building haskell packages
 BuildRequires:  ghc-rpm-macros
+%if %{undefined without_hscolour}
 BuildRequires:  hscolour
+%endif
+# END cabal2spec
+
 
 %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
+
+%description -n ghc-%{pkg_name}-devel
+%{common_description}
+
+This package contains the development files.
+
+
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
@@ -42,12 +60,26 @@ BuildRequires:  hscolour
 %ghc_lib_install
 
 
-# define the shared, devel and prof subpkgs, devel scripts,
-# and filelists: ghc-process-leksah.files, ghc-process-leksah-devel.files 
-%ghc_lib_package
+%post -n ghc-%{pkg_name}-devel
+%ghc_pkg_recache
+
+
+%postun -n ghc-%{pkg_name}-devel
+%ghc_pkg_recache
+
+
+%if %{undefined ghc_without_shared}
+%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files
+%endif
+
+
+%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files
 
 
 %changelog
+* Sun Jan 08 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 1.0.1.4-8
+- rebuild for haskell-platform update
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.0.1.4-7.3
 - rebuild with new gmp without compat lib
 


More information about the scm-commits mailing list