[hlint] update to 1.8.11 and cabal2spec-0.23.2
Jens Petersen
petersen at fedoraproject.org
Wed Jun 22 04:01:13 UTC 2011
commit 0315f5089809c1c538a0b52617eda3540c806d6d
Author: Jens Petersen <petersen at redhat.com>
Date: Wed Jun 22 13:00:59 2011 +0900
update to 1.8.11 and cabal2spec-0.23.2
.chain-deps | 2 +-
.gitignore | 1 +
hlint.spec | 21 +++++++++------------
sources | 2 +-
4 files changed, 12 insertions(+), 14 deletions(-)
---
diff --git a/.chain-deps b/.chain-deps
index a524bca..0a67118 100644
--- a/.chain-deps
+++ b/.chain-deps
@@ -2,4 +2,4 @@
echo "Prerequisites: hscolour"
-CHAIN_PKGS="cpphs ghc-uniplate : ghc-haskell-src-exts"
+CHAIN_PKGS="cpphs ghc-uniplate : ghc-haskell-src-exts :"
diff --git a/.gitignore b/.gitignore
index df3a644..5c289a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
hlint-1.7.3.tar.gz
/hlint-1.8.3.tar.gz
/hlint-1.8.7.tar.gz
+/hlint-1.8.11.tar.gz
diff --git a/hlint.spec b/hlint.spec
index 18b8bf1..2633bb1 100644
--- a/hlint.spec
+++ b/hlint.spec
@@ -4,14 +4,8 @@
%global common_description Hlint gives suggestions on how to improve your source code.
-# Haskell library dependencies:
-%global ghc_pkg_deps ghc-cpphs-devel, ghc-haskell-src-exts-devel, ghc-uniplate-devel, ghc-hscolour-devel
-
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
Name: %{pkg_name}
-Version: 1.8.7
+Version: 1.8.11
Release: 1%{?dist}
Summary: %{common_summary}
@@ -19,12 +13,11 @@ Group: Development/Languages
License: GPLv2
URL: http://hackage.haskell.org/package/%{name}
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{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-cpphs-prof, ghc-haskell-src-exts-prof, ghc-uniplate-prof, ghc-hscolour-prof
%description
%{common_description}
@@ -57,6 +50,10 @@ mv $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/hlint.1 $RPM_BUILD_ROOT%{_mandi
%changelog
+* Wed Jun 22 2011 Jens Petersen <petersen at redhat.com> - 1.8.11-1
+- update to 1.8.11
+- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
+
* Fri Mar 11 2011 Jens Petersen <petersen at redhat.com> - 1.8.7-1
- update to 1.8.7
diff --git a/sources b/sources
index 892ea64..93026c2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9f31ffa1b6f5054370635dad6810a43f hlint-1.8.7.tar.gz
+cab3f4e4042d91ab4613ebd9c0b5ed4a hlint-1.8.11.tar.gz
More information about the scm-commits
mailing list