sync cabal2spec-0.22.1

epel9
Jens Petersen 15 years ago
parent a96b7fce33
commit b7584ff8cf

@ -7,16 +7,18 @@
Name: alex
# part of haskell-platform-2010.1.0.0
Version: 2.3.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A lexer generator for Haskell
Group: Development/Tools
License: BSD
URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{name}
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-rpm-macros
BuildRequires: ghc
BuildRequires: ghc-rpm-macros >= 0.7.0
BuildRequires: autoconf docbook-style-xsl libxslt
%description
@ -30,8 +32,7 @@ expressions. It is similar to the tool lex or flex for C/C++.
%build
%cabal_configure
%cabal build
%ghc_bin_build
cd doc
autoreconf
@ -41,7 +42,8 @@ cd ..
%install
%cabal_install
rm -rf $RPM_BUILD_ROOT
%ghc_bin_install
%clean
@ -56,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Jun 27 2010 Jens Petersen <petersen@redhat.com> - 2.3.2-3
- sync cabal2spec-0.22.1
* Sat Apr 24 2010 Jens Petersen <petersen@redhat.com> - 2.3.2-2
- rebuild against ghc-6.12.2

Loading…
Cancel
Save