- update to 2.3.1
- no longer need alex-2.3-base3.patch
This commit is contained in:
parent
b68e2d0b63
commit
0a43a129b1
4 changed files with 10 additions and 33 deletions
|
|
@ -1 +1 @@
|
|||
alex-2.3.tar.gz
|
||||
alex-2.3.1.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
diff -u alex-2.3/alex.cabal.orig alex-2.3/alex.cabal
|
||||
--- alex-2.3/alex.cabal.orig 2008-10-13 18:31:15.000000000 +1000
|
||||
+++ alex-2.3/alex.cabal 2008-11-25 14:36:52.000000000 +1000
|
||||
@@ -50,18 +50,12 @@
|
||||
tests/tokens_gscan.x
|
||||
tests/tokens_posn.x
|
||||
|
||||
-flag small_base
|
||||
- description: Choose the new smaller, split-up base package.
|
||||
-
|
||||
executable alex
|
||||
executable: alex
|
||||
hs-source-dirs: src
|
||||
main-is: Main.hs
|
||||
|
||||
- if flag(small_base)
|
||||
- build-depends: base >= 2.1, array, containers, directory
|
||||
- else
|
||||
- build-depends: base >= 1.0
|
||||
+ build-depends: base == 3.*, array, containers, directory
|
||||
|
||||
build-depends: haskell98 >= 1.0
|
||||
|
||||
|
||||
Diff finished. Tue Nov 25 14:37:02 2008
|
||||
14
alex.spec
14
alex.spec
|
|
@ -2,9 +2,9 @@
|
|||
%define debug_package %{nil}
|
||||
|
||||
Name: alex
|
||||
Version: 2.3
|
||||
Release: 2%{?dist}
|
||||
Summary: The lexer generator for Haskell
|
||||
Version: 2.3.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A lexer generator for Haskell
|
||||
|
||||
Group: Development/Tools
|
||||
License: BSD
|
||||
|
|
@ -13,7 +13,6 @@ Source: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%
|
|||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
ExclusiveArch: i386 x86_64 ppc
|
||||
BuildRequires: autoconf ghc docbook-style-xsl libxslt
|
||||
Patch1: alex-2.3-base3.patch
|
||||
|
||||
%description
|
||||
Alex is a tool for generating lexical analysers in Haskell, given a
|
||||
|
|
@ -23,12 +22,11 @@ expressions. It is similar to the tool lex or flex for C/C++.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .orig
|
||||
|
||||
|
||||
%build
|
||||
%cabal_configure
|
||||
%cabal_build
|
||||
%cabal build
|
||||
|
||||
pushd doc
|
||||
autoreconf
|
||||
|
|
@ -54,6 +52,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 11 2008 Jens Petersen <petersen@redhat.com> - 2.3.1-1
|
||||
- update to 2.3.1
|
||||
- no longer need alex-2.3-base3.patch
|
||||
|
||||
* Tue Nov 25 2008 Jens Petersen <petersen@redhat.com> - 2.3-2
|
||||
- build with new macros
|
||||
- update urls to point to hackage
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
d50ac9433ed299d2cea8ca9aebaf1660 alex-2.3.tar.gz
|
||||
a8c26af3370388297cee4b8c767d72d9 alex-2.3.1.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue