[ghc-wai] update to 0.4.3 and cabal2spec-0.25.2

Jens Petersen petersen at fedoraproject.org
Fri Jan 6 01:18:11 UTC 2012


commit fa59e3ad0014c3f624cd52144b76325bb5b0332f
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri Jan 6 10:18:06 2012 +0900

    update to 0.4.3 and cabal2spec-0.25.2

 .gitignore   |    1 +
 ghc-wai.spec |   52 +++++++++++++++++-----------------------------------
 sources      |    2 +-
 3 files changed, 19 insertions(+), 36 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index dae3f22..e8d68da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /wai-0.4.2.tar.gz
+/wai-0.4.3.tar.gz
diff --git a/ghc-wai.spec b/ghc-wai.spec
index 5c2414d..bea450b 100644
--- a/ghc-wai.spec
+++ b/ghc-wai.spec
@@ -1,6 +1,6 @@
-# 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 wai
 
@@ -10,8 +10,8 @@
 and web servers.
 
 Name:           ghc-%{pkg_name}
-Version:        0.4.2
-Release:        3%{?dist}
+Version:        0.4.3
+Release:        1%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -21,33 +21,17 @@ 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
-%if %{undefined without_hscolour}
-BuildRequires:  hscolour
-%endif
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
 # END cabal2spec
-BuildRequires:  ghc-enumerator-prof, ghc-http-types-prof, ghc-network-prof, ghc-transformers-prof
+BuildRequires:  ghc-enumerator-prof
+BuildRequires:  ghc-http-types-prof
+BuildRequires:  ghc-network-prof
+BuildRequires:  ghc-transformers-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}
 
@@ -60,23 +44,21 @@ This package contains the development files.
 %ghc_lib_install
 
 
-%post -n ghc-%{pkg_name}-devel
-%ghc_pkg_recache
+%ghc_devel_package
 
+%ghc_devel_description
 
-%postun -n ghc-%{pkg_name}-devel
-%ghc_pkg_recache
 
+%ghc_devel_post_postun
 
-%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
+%ghc_files
 
 
 %changelog
+* Fri Jan  6 2012 Jens Petersen <petersen at redhat.com> - 0.4.3-1
+- update to 0.4.3 and cabal2spec-0.25.2
+
 * Sun Oct 30 2011 Jens Petersen <petersen at redhat.com> - 0.4.2-3
 - rebuild against newer enumerator
 
diff --git a/sources b/sources
index 49bfc1d..c051786 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3b1b56ba80e4c6328ec7c6209bb2915f  wai-0.4.2.tar.gz
+e31941bffbdb41e41e6702adc47c5fc3  wai-0.4.3.tar.gz


More information about the scm-commits mailing list