[ghc-neither] revert to 0.1.0 like f15 and update to cabal2spec-0.23.2

Jens Petersen petersen at fedoraproject.org
Mon Jun 27 03:02:19 UTC 2011


commit 9add07dbb1cbee3d3e6890f032730727484fb3d3
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Jun 27 12:01:28 2011 +0900

    revert to 0.1.0 like f15 and update to cabal2spec-0.23.2

 ghc-neither.spec |   27 +++++++++------------------
 sources          |    2 +-
 2 files changed, 10 insertions(+), 19 deletions(-)
---
diff --git a/ghc-neither.spec b/ghc-neither.spec
index c8e9352..c29307f 100644
--- a/ghc-neither.spec
+++ b/ghc-neither.spec
@@ -21,32 +21,23 @@ MEitherT. AEither provides an Applicative instance which \
 appends Left values, MEither provides the monadic definition, \
 and MEitherT is a monad transformer.
 
-%global ghc_pkg_deps ghc-failure-devel, ghc-transformers-devel
-
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
-Version:        0.2.0
-Release:        1%{?dist}
+Version:        0.1.0
+Release:        5%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        BSD
 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
-BuildRequires:  ghc, ghc-doc, ghc-prof
-BuildRequires:  ghc-rpm-macros >= 0.7.3
+ExclusiveArch:  %{ghc_arches}
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  hscolour
-%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+BuildRequires:  ghc-failure-prof, ghc-transformers-prof
 
 %description
 %{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
 
 
 %prep
@@ -61,12 +52,12 @@ This package provides the shared library.
 %ghc_lib_install
 
 
-%{?ghc_lib_package}
+%ghc_lib_package
 
 
 %changelog
-* Thu Mar 24 2011 Ben Boeckel <mathstuf at gmail.com> - 0.2.0-1
-- Update to 0.2.0
+* Fri Jun 24 2011 Jens Petersen <petersen at redhat.com> - 0.1.0-5
+- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
 
 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.1.0-4
 - Enable build on sparcv9
diff --git a/sources b/sources
index 9041b27..6b12183 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5e5111de41f207f73ef077fe0000a1d9  neither-0.2.0.tar.gz
+539cae64246195aeb04d52223dbc4ded  neither-0.1.0.tar.gz


More information about the scm-commits mailing list