Accepting request 304511 from devel:languages:haskell:lts

- update to 3.1.4
* Add Applicative/Functor instances for GHC 7.10

OBS-URL: https://build.opensuse.org/request/show/304511
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=41
This commit is contained in:
Peter Trommler 2015-05-02 09:33:50 +00:00 committed by Git OBS Bridge
parent e3f5592dc4
commit 9fe9746667
4 changed files with 28 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d41a6e72a016155f00c846f7146ab4b27fe9640668a4b592d6a9b856f970a92
size 99868

3
alex-3.1.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d64e4eccd953c62795ed566a6de5f3d150b653e05872ff697b3d9dbc961da19f
size 101827

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 10 13:35:55 UTC 2015 - mimi.vx@gmail.com
- update to 3.1.4
* Add Applicative/Functor instances for GHC 7.10
-------------------------------------------------------------------
Mon Sep 8 20:08:49 UTC 2014 - peter.trommler@ohm-hochschule.de

View File

@ -1,7 +1,7 @@
#
# spec file for package alex
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de
#
# All modifications and additions to the file contributed by third parties
@ -17,26 +17,34 @@
#
%bcond_without tests
Name: alex
Version: 3.1.3
Version: 3.1.4
Release: 0
Summary: Tool for generating lexical analysers in Haskell
License: BSD-3-Clause
Group: Development/Languages/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec
Url: http://hackage.haskell.org/package/%{name}
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-rpm-macros
# END cabal2spec
%if %{with tests}
BuildRequires: ghc-process-devel
%endif
%description
Tool for generating lexical analysers in Haskell similar to lex
Alex is a tool for generating lexical analysers in Haskell. It takes a
description of tokens based on regular expressions and generates a Haskell
module containing code for scanning text efficiently. It is similar to the tool
lex or flex for C/C++.
%prep
%setup -q
@ -52,6 +60,11 @@ test -f configure || autoreconf
mkdir -p %{buildroot}/%{_mandir}/man1
cp doc/alex.1 %{buildroot}/%{_mandir}/man1
%check
%if %{with tests}
%cabal test
%endif
%files
%defattr(-,root,root,-)
%doc LICENSE ANNOUNCE README TODO