diff --git a/.gitignore b/.gitignore index 0c16d74..5403aa0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /blaze-html-0.4.1.6.tar.gz /blaze-html-0.4.1.7.tar.gz /blaze-html-0.4.2.0.tar.gz +/blaze-html-0.4.3.1.tar.gz diff --git a/ghc-blaze-html.spec b/ghc-blaze-html.spec index e844105..c232832 100644 --- a/ghc-blaze-html.spec +++ b/ghc-blaze-html.spec @@ -1,10 +1,9 @@ -# For Haskell Packaging Guidelines see: -# - https://fedoraproject.org/wiki/Packaging:Haskell -# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell +# cabal2spec-0.25.2 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name blaze-html -# common part of summary for all the subpackages %global common_summary Fast HTML combinator library for Haskell # main description used for all the subpackages @@ -15,21 +14,21 @@ The project is aimed at those who seek to write web applications in Haskell\ — it integrates well with all Haskell web frameworks. Name: ghc-%{pkg_name} -Version: 0.4.2.0 -Release: 1%{?dist}.2 +Version: 0.4.3.1 +Release: 1%{?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 -# fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 +ExclusiveArch: %{ghc_arches} BuildRequires: ghc-Cabal-devel -# macros for building haskell packages -BuildRequires: ghc-rpm-macros -BuildRequires: hscolour -BuildRequires: ghc-blaze-builder-prof, ghc-text-prof +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec +BuildRequires: ghc-blaze-builder-prof +BuildRequires: ghc-text-prof %description %{common_description} @@ -47,12 +46,21 @@ BuildRequires: ghc-blaze-builder-prof, ghc-text-prof %ghc_lib_install -# define the devel subpkg, post[un] scripts, -# and filelists ghc-blaze-html{,devel}.files -%ghc_lib_package +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files %changelog +* Thu Jan 5 2012 Jens Petersen - 0.4.3.1-1 +- update to 0.4.3.1 and cabal2spec-0.25.2 + * Thu Oct 20 2011 Marcela Mašláňová - 0.4.2.0-1.2 - rebuild with new gmp without compat lib diff --git a/sources b/sources index 111ea22..f720f01 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5a7ed9e8ad8fead967b454d60bd0a6a6 blaze-html-0.4.2.0.tar.gz +e8433d76d9b6c6eb0db62047fbf3948a blaze-html-0.4.3.1.tar.gz