From ede96c5ee71bacaab7fccb1de5e46230bfe718a1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 11 Aug 2017 08:48:46 +0000 Subject: [PATCH 01/12] osc copypac from project:devel:languages:haskell:lts:9 package:alex revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=60 --- alex.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alex.spec b/alex.spec index edb1c6e..98a11a1 100644 --- a/alex.spec +++ b/alex.spec @@ -22,7 +22,7 @@ Version: 3.2.1 Release: 0 Summary: Alex is a tool for generating lexical analysers in Haskell License: BSD-3-Clause -Group: Development/Languages/Other +Group: Development/Languages/Haskell Url: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal From 596bcd0bfd46d420560827c0b33a63821620f5b6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 15 Aug 2017 13:51:05 +0000 Subject: [PATCH 02/12] osc copypac from project:devel:languages:haskell:lts:9 package:alex revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=61 --- alex.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alex.spec b/alex.spec index 98a11a1..2ee7977 100644 --- a/alex.spec +++ b/alex.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Alex is a tool for generating lexical analysers in Haskell License: BSD-3-Clause Group: Development/Languages/Haskell -Url: https://hackage.haskell.org/package/%{name} +URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal BuildRequires: autoconf From 532d33ff7e7c5faa95b568bf634833ec194d3a01 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 17 Aug 2017 13:18:42 +0000 Subject: [PATCH 03/12] osc copypac from project:devel:languages:haskell:lts:9 package:alex revision:8, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=62 --- alex.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alex.spec b/alex.spec index 2ee7977..94c22a3 100644 --- a/alex.spec +++ b/alex.spec @@ -22,7 +22,7 @@ Version: 3.2.1 Release: 0 Summary: Alex is a tool for generating lexical analysers in Haskell License: BSD-3-Clause -Group: Development/Languages/Haskell +Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal From a8df4e84ba063717410b4b797e6815c247fe15e0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 11 Sep 2017 13:40:28 +0000 Subject: [PATCH 04/12] osc copypac from project:devel:languages:haskell:lts:9 package:alex revision:9, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=63 --- alex-3.2.1.tar.gz | 3 -- alex-3.2.2.tar.gz | 3 ++ alex.cabal | 132 ---------------------------------------------- alex.changes | 6 +++ alex.spec | 5 +- 5 files changed, 10 insertions(+), 139 deletions(-) delete mode 100644 alex-3.2.1.tar.gz create mode 100644 alex-3.2.2.tar.gz delete mode 100644 alex.cabal diff --git a/alex-3.2.1.tar.gz b/alex-3.2.1.tar.gz deleted file mode 100644 index e716c2a..0000000 --- a/alex-3.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4e7f7ec729f4fae5a5c778bc48421a90acf65c7278f6970cf123fb3b6230e6c -size 111167 diff --git a/alex-3.2.2.tar.gz b/alex-3.2.2.tar.gz new file mode 100644 index 0000000..6565d90 --- /dev/null +++ b/alex-3.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a4e5ad99947c464d9981095949af22b37d37f010e04a1e2a342ea87552a629b +size 105682 diff --git a/alex.cabal b/alex.cabal deleted file mode 100644 index 20edeac..0000000 --- a/alex.cabal +++ /dev/null @@ -1,132 +0,0 @@ -name: alex -version: 3.2.1 -x-revision: 1 --- don't forget updating changelog.md! -license: BSD3 -license-file: LICENSE -copyright: (c) Chis Dornan, Simon Marlow -author: Chris Dornan and Simon Marlow -maintainer: Simon Marlow -bug-reports: https://github.com/simonmar/alex/issues -stability: stable -homepage: http://www.haskell.org/alex/ -synopsis: Alex is a tool for generating lexical analysers in Haskell -description: - 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++. - -category: Development -cabal-version: >= 1.8 -build-type: Custom - -extra-source-files: - CHANGELOG.md - README.md - TODO - alex.spec - doc/Makefile - doc/aclocal.m4 - doc/alex.1.in - doc/alex.xml - doc/config.mk.in - doc/configure.ac - doc/docbook-xml.mk - doc/fptools.css - examples/Makefile - examples/Tokens.x - examples/Tokens_gscan.x - examples/Tokens_posn.x - examples/examples.x - examples/haskell.x - examples/lit.x - examples/pp.x - examples/state.x - examples/tiny.y - examples/words.x - examples/words_monad.x - examples/words_posn.x - src/Parser.y - src/Scan.hs - src/ghc_hooks.c - templates/GenericTemplate.hs - templates/wrappers.hs - tests/Makefile - tests/simple.x - tests/null.x - tests/tokens.x - tests/tokens_gscan.x - tests/tokens_posn.x - tests/tokens_bytestring.x - tests/tokens_posn_bytestring.x - tests/tokens_scan_user.x - tests/tokens_strict_bytestring.x - tests/tokens_monad_bytestring.x - tests/tokens_monadUserState_bytestring.x - tests/tokens_bytestring_unicode.x - tests/basic_typeclass.x - tests/basic_typeclass_bytestring.x - tests/default_typeclass.x - tests/gscan_typeclass.x - tests/posn_typeclass.x - tests/monad_typeclass.x - tests/monad_typeclass_bytestring.x - tests/monadUserState_typeclass.x - tests/monadUserState_typeclass_bytestring.x - tests/posn_typeclass_bytestring.x - tests/strict_typeclass.x - tests/unicode.x - -source-repository head - type: git - location: https://github.com/simonmar/alex.git - -flag small_base - description: Choose the new smaller, split-up base package. - -custom-setup - setup-depends: Cabal < 2.1, base < 5, filepath < 1.5, directory < 1.4 - -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 < 5 - -- build-depends: Ranged-sets - build-depends: QuickCheck >=2 - - extensions: CPP - ghc-options: -Wall -rtsopts - other-modules: - AbsSyn - CharSet - DFA - DFAMin - DFS - Info - Map - NFA - Output - Parser - ParseMonad - Scan - Set - Sort - Util - UTF8 - Data.Ranged - Data.Ranged.Boundaries - Data.Ranged.RangedSet - Data.Ranged.Ranges - -test-suite tests - type: exitcode-stdio-1.0 - main-is: test.hs - build-depends: base, process diff --git a/alex.changes b/alex.changes index c42bf50..06ec645 100644 --- a/alex.changes +++ b/alex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 4 03:01:41 UTC 2017 - psimons@suse.com + +- Update to version 3.2.2. + A more detailed change log is not available. + ------------------------------------------------------------------- Wed Aug 9 12:59:47 UTC 2017 - bwiedemann@suse.com diff --git a/alex.spec b/alex.spec index 94c22a3..07afc43 100644 --- a/alex.spec +++ b/alex.spec @@ -18,21 +18,19 @@ %bcond_without tests Name: alex -Version: 3.2.1 +Version: 3.2.2 Release: 0 Summary: Alex is a tool for generating lexical analysers in Haskell License: BSD-3-Clause Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal BuildRequires: autoconf BuildRequires: ghc-Cabal-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel BuildRequires: ghc-rpm-macros %if %{with tests} BuildRequires: ghc-process-devel @@ -46,7 +44,6 @@ lex or flex for C/C++. %prep %setup -q -cp -p %{SOURCE1} %{name}.cabal %build %ghc_bin_build From 4187c4eea4a7b429142c005b527c0bd06b57a1f8 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 14 Sep 2017 02:10:00 +0000 Subject: [PATCH 05/12] osc copypac from project:devel:languages:haskell:lts:9 package:alex revision:10, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=64 --- alex-3.2.2.tar.gz | 3 --- alex-3.2.3.tar.gz | 3 +++ alex.changes | 6 ++++++ alex.spec | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 alex-3.2.2.tar.gz create mode 100644 alex-3.2.3.tar.gz diff --git a/alex-3.2.2.tar.gz b/alex-3.2.2.tar.gz deleted file mode 100644 index 6565d90..0000000 --- a/alex-3.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a4e5ad99947c464d9981095949af22b37d37f010e04a1e2a342ea87552a629b -size 105682 diff --git a/alex-3.2.3.tar.gz b/alex-3.2.3.tar.gz new file mode 100644 index 0000000..d3175d4 --- /dev/null +++ b/alex-3.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a63791417b3e6e36e8b79849317beeaf9ea09efa21bea021c2347b49266212e +size 105327 diff --git a/alex.changes b/alex.changes index 06ec645..e1d9929 100644 --- a/alex.changes +++ b/alex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 13 06:59:04 UTC 2017 - psimons@suse.com + +- Update to version 3.2.3. + A more detailed change log is not available. + ------------------------------------------------------------------- Mon Sep 4 03:01:41 UTC 2017 - psimons@suse.com diff --git a/alex.spec b/alex.spec index 07afc43..9e0d6b1 100644 --- a/alex.spec +++ b/alex.spec @@ -18,7 +18,7 @@ %bcond_without tests Name: alex -Version: 3.2.2 +Version: 3.2.3 Release: 0 Summary: Alex is a tool for generating lexical analysers in Haskell License: BSD-3-Clause From 65d65d457577b356f4b54237f87d4240daae9231 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 2 Apr 2018 14:49:11 +0000 Subject: [PATCH 06/12] osc copypac from project:devel:languages:haskell:lts:11 package:alex revision:8, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=65 --- alex.changes | 173 ++------------------------------------------------- alex.spec | 2 +- 2 files changed, 5 insertions(+), 170 deletions(-) diff --git a/alex.changes b/alex.changes index e1d9929..9b5784f 100644 --- a/alex.changes +++ b/alex.changes @@ -1,177 +1,12 @@ ------------------------------------------------------------------- -Wed Sep 13 06:59:04 UTC 2017 - psimons@suse.com +Mon Apr 2 12:51:29 UTC 2018 - psimons@suse.com -- Update to version 3.2.3. +- Update alex to version 3.2.4. A more detailed change log is not available. ------------------------------------------------------------------- -Mon Sep 4 03:01:41 UTC 2017 - psimons@suse.com +Wed Mar 14 16:55:43 UTC 2018 - psimons@suse.com -- Update to version 3.2.2. +- Update alex to version 3.2.3. A more detailed change log is not available. -------------------------------------------------------------------- -Wed Aug 9 12:59:47 UTC 2017 - bwiedemann@suse.com - -- Drop autom4te.cache/requests from doc to fix build-compare - -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Sat Apr 29 18:32:34 UTC 2017 - psimons@suse.com - -- Update to version 3.2.1 revision 1 with cabal2obs. - -------------------------------------------------------------------- -Sun Feb 12 14:17:48 UTC 2017 - psimons@suse.com - -- Update to version 3.2.1 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:07:27 UTC 2016 - psimons@suse.com - -- Update to version 3.1.7 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Mon Jan 11 07:22:38 UTC 2016 - mimi.vx@gmail.com - -- update to 3.1.7 -* Add support for %encoding directive (allows to control --latin1 from inside - Alex scripts) -* Make code forward-compatible with in-progress proposals -* Suppress more warnings - -------------------------------------------------------------------- -Mon Dec 7 10:19:36 UTC 2015 - mimi.vx@gmail.com - -- update to 3.1.6 -* drop dependency on happy - -------------------------------------------------------------------- -Sun Nov 29 17:05:31 UTC 2015 - mimi.vx@gmail.com - -- update to 3.1.5 -- drop alex-3.1.4-ghc-7.10.patch, merged by upstream -* Generate less warning-laden code, and suppress other warnings. -* Bug fixes. - -------------------------------------------------------------------- -Wed May 13 09:19:35 UTC 2015 - mimi.vx@gmail.com - -- add alex-3.1.4-ghc-7.10.patch -* temporary disable tests - -------------------------------------------------------------------- -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 - -- update to 3.1.3 -* fix ghc 7.8 builds -* needed by Haskell Platform 2014.2.0.0 - -------------------------------------------------------------------- -Tue Sep 2 01:17:20 UTC 2014 - peter.trommler@ohm-hochschule.de - -- package examples -- cleanup spec file - -------------------------------------------------------------------- -Fri Aug 22 23:46:53 UTC 2014 - peter.trommler@ohm-hochschule.de - -- enable PowerPC builds - -------------------------------------------------------------------- -Tue May 7 14:03:17 UTC 2013 - peter.trommler@ohm-hochschule.de - -- update to 3.0.5 from upstream -* performance improvement with certain grammars ~30% -- part of Haskell Platform 2013.2 - -------------------------------------------------------------------- -Sat Nov 17 13:46:06 UTC 2012 - peter.trommler@ohm-hochschule.de - -- service localonly for Factory submission - -------------------------------------------------------------------- -Mon Oct 1 19:01:07 UTC 2012 - peter.trommler@ohm-hochschule.de - -- update to 3.0.2 from upstream -- needed by Haskell Platform 2012.4.0.0 - -------------------------------------------------------------------- -Mon Jun 4 06:59:04 UTC 2012 - peter.trommler@ohm-hochschule.de - -- update to 3.0.1 from upstream - * Unicode support (contributed mostly by Jean-Philippe Bernardy, - with help from Alan Zimmerman). - - * An Alex lexer now takes a UTF-8 encoded byte sequence as input - (see Section 5.1, “Unicode and UTF-8”. If you are using the - "basic" wrapper or one of the other wrappers that takes a - Haskell String as input, the string is automatically encoded - into UTF-8 by Alex. If your input is a ByteString, you are - responsible for ensuring that the input is UTF-8 encoded. The - old 8-bit behaviour is still available via the --latin1 - option. - - * Alex source files are asumed to be in UTF-8, like Haskell - source files. The lexer specification can use Unicode - characters and ranges. - - * alexGetChar is renamed to alexGetByte in the generated code. - - * There is a new option, --latin1, that restores the old - behaviour. - - * Alex now does DFA minimization, which helps to reduce the size - of the generated tables, especially for lexers that use Unicode. -- dropped patch alex-2.3.5-generate-man-page.patch -- required by Haskell Platform 2012.2.0.0 - -------------------------------------------------------------------- -Mon May 7 18:40:00 UTC 2012 - peter.trommler@ohm-hochschule.de - -- add patch to enable man page generation -- generate, install and package man page alex.1 - -------------------------------------------------------------------- -Thu Dec 29 11:47:39 UTC 2011 - peter.trommler@ohm-hochschule.de - -- Clean up install section -- Add three word to description to make rpmlint happier - -------------------------------------------------------------------- -Wed Dec 28 20:47:31 UTC 2011 - peter.trommler@ohm-hochschule.de - -- Adjusted version for platform 2011.4 - -------------------------------------------------------------------- -Sat Dec 10 16:48:35 UTC 2011 - peter.trommler@ohm-hochschule.de - -- Added /usr/share/alex-3.0.1 files -- Fixed file owner -- Deleted additional LICENSE file - -------------------------------------------------------------------- -Mon Dec 5 09:04:47 UTC 2011 - peter.trommler@ohm-hochschule.de - -- Added QuickCheck BR - -------------------------------------------------------------------- -Sat Nov 19 21:44:36 UTC 2011 - peter.trommler@ohm-hochschule.de - -- enabled i586 build - -------------------------------------------------------------------- -Tue Oct 11 19:50:28 UTC 2011 - peter.trommler@ohm-hochschule.de - -- created new package - diff --git a/alex.spec b/alex.spec index 9e0d6b1..8bcdb94 100644 --- a/alex.spec +++ b/alex.spec @@ -1,7 +1,7 @@ # # spec file for package alex # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From 667914993c12dfa4af45212674c55ef29d61c118 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 2 Apr 2018 18:44:27 +0000 Subject: [PATCH 07/12] osc copypac from project:devel:languages:haskell:lts:11 package:alex revision:10, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=66 --- alex-3.2.3.tar.gz | 3 --- alex-3.2.4.tar.gz | 3 +++ alex.spec | 21 +++++++++++++++++++-- 3 files changed, 22 insertions(+), 5 deletions(-) delete mode 100644 alex-3.2.3.tar.gz create mode 100644 alex-3.2.4.tar.gz diff --git a/alex-3.2.3.tar.gz b/alex-3.2.3.tar.gz deleted file mode 100644 index d3175d4..0000000 --- a/alex-3.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a63791417b3e6e36e8b79849317beeaf9ea09efa21bea021c2347b49266212e -size 105327 diff --git a/alex-3.2.4.tar.gz b/alex-3.2.4.tar.gz new file mode 100644 index 0000000..0268401 --- /dev/null +++ b/alex-3.2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d58e4d708b14ff332a8a8edad4fa8989cb6a9f518a7c6834e96281ac5f8ff232 +size 110688 diff --git a/alex.spec b/alex.spec index 8bcdb94..5c8f901 100644 --- a/alex.spec +++ b/alex.spec @@ -18,7 +18,7 @@ %bcond_without tests Name: alex -Version: 3.2.3 +Version: 3.2.4 Release: 0 Summary: Alex is a tool for generating lexical analysers in Haskell License: BSD-3-Clause @@ -27,7 +27,6 @@ URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{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 @@ -59,13 +58,31 @@ cp doc/alex.1 %{buildroot}/%{_mandir}/man1 rm doc/autom4te.cache/requests # varies across builds, breaking build-compare %check +# Ensure that the test suite can find the alex binary. +export PATH="%{buildroot}%{_bindir}:$PATH" %cabal_test %files %doc LICENSE %doc CHANGELOG.md README.md TODO doc examples %{_bindir}/%{name} +%dir %{_datadir}/%{name}-%{version} +%{_datadir}/%{name}-%{version}/AlexTemplate +%{_datadir}/%{name}-%{version}/AlexTemplate-debug +%{_datadir}/%{name}-%{version}/AlexTemplate-ghc +%{_datadir}/%{name}-%{version}/AlexTemplate-ghc-debug +%{_datadir}/%{name}-%{version}/AlexTemplate-ghc-nopred %{_datadir}/%{name}-%{version} %{_mandir}/man1/* +%{_datadir}/%{name}-%{version}/AlexWrapper-basic +%{_datadir}/%{name}-%{version}/AlexWrapper-basic-bytestring +%{_datadir}/%{name}-%{version}/AlexWrapper-gscan +%{_datadir}/%{name}-%{version}/AlexWrapper-monad +%{_datadir}/%{name}-%{version}/AlexWrapper-monad-bytestring +%{_datadir}/%{name}-%{version}/AlexWrapper-monadUserState +%{_datadir}/%{name}-%{version}/AlexWrapper-monadUserState-bytestring +%{_datadir}/%{name}-%{version}/AlexWrapper-posn +%{_datadir}/%{name}-%{version}/AlexWrapper-posn-bytestring +%{_datadir}/%{name}-%{version}/AlexWrapper-strict-bytestring %changelog From c1ec574b5d205787149bf9e492ef1e2bc2aabca3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 13 Apr 2018 13:25:16 +0000 Subject: [PATCH 08/12] osc copypac from project:devel:languages:haskell:lts:11 package:alex revision:12, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=67 --- alex.changes | 167 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 163 insertions(+), 4 deletions(-) diff --git a/alex.changes b/alex.changes index 9b5784f..d29f218 100644 --- a/alex.changes +++ b/alex.changes @@ -1,12 +1,171 @@ ------------------------------------------------------------------- -Mon Apr 2 12:51:29 UTC 2018 - psimons@suse.com +Thu Apr 12 08:32:50 UTC 2018 - psimons@suse.com - Update alex to version 3.2.4. A more detailed change log is not available. ------------------------------------------------------------------- -Wed Mar 14 16:55:43 UTC 2018 - psimons@suse.com +Wed Aug 9 12:59:47 UTC 2017 - bwiedemann@suse.com -- Update alex to version 3.2.3. - A more detailed change log is not available. +- Drop autom4te.cache/requests from doc to fix build-compare + +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Sat Apr 29 18:32:34 UTC 2017 - psimons@suse.com + +- Update to version 3.2.1 revision 1 with cabal2obs. + +------------------------------------------------------------------- +Sun Feb 12 14:17:48 UTC 2017 - psimons@suse.com + +- Update to version 3.2.1 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:07:27 UTC 2016 - psimons@suse.com + +- Update to version 3.1.7 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Mon Jan 11 07:22:38 UTC 2016 - mimi.vx@gmail.com + +- update to 3.1.7 +* Add support for %encoding directive (allows to control --latin1 from inside + Alex scripts) +* Make code forward-compatible with in-progress proposals +* Suppress more warnings + +------------------------------------------------------------------- +Mon Dec 7 10:19:36 UTC 2015 - mimi.vx@gmail.com + +- update to 3.1.6 +* drop dependency on happy + +------------------------------------------------------------------- +Sun Nov 29 17:05:31 UTC 2015 - mimi.vx@gmail.com + +- update to 3.1.5 +- drop alex-3.1.4-ghc-7.10.patch, merged by upstream +* Generate less warning-laden code, and suppress other warnings. +* Bug fixes. + +------------------------------------------------------------------- +Wed May 13 09:19:35 UTC 2015 - mimi.vx@gmail.com + +- add alex-3.1.4-ghc-7.10.patch +* temporary disable tests + +------------------------------------------------------------------- +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 + +- update to 3.1.3 +* fix ghc 7.8 builds +* needed by Haskell Platform 2014.2.0.0 + +------------------------------------------------------------------- +Tue Sep 2 01:17:20 UTC 2014 - peter.trommler@ohm-hochschule.de + +- package examples +- cleanup spec file + +------------------------------------------------------------------- +Fri Aug 22 23:46:53 UTC 2014 - peter.trommler@ohm-hochschule.de + +- enable PowerPC builds + +------------------------------------------------------------------- +Tue May 7 14:03:17 UTC 2013 - peter.trommler@ohm-hochschule.de + +- update to 3.0.5 from upstream +* performance improvement with certain grammars ~30% +- part of Haskell Platform 2013.2 + +------------------------------------------------------------------- +Sat Nov 17 13:46:06 UTC 2012 - peter.trommler@ohm-hochschule.de + +- service localonly for Factory submission + +------------------------------------------------------------------- +Mon Oct 1 19:01:07 UTC 2012 - peter.trommler@ohm-hochschule.de + +- update to 3.0.2 from upstream +- needed by Haskell Platform 2012.4.0.0 + +------------------------------------------------------------------- +Mon Jun 4 06:59:04 UTC 2012 - peter.trommler@ohm-hochschule.de + +- update to 3.0.1 from upstream + * Unicode support (contributed mostly by Jean-Philippe Bernardy, + with help from Alan Zimmerman). + + * An Alex lexer now takes a UTF-8 encoded byte sequence as input + (see Section 5.1, “Unicode and UTF-8”. If you are using the + "basic" wrapper or one of the other wrappers that takes a + Haskell String as input, the string is automatically encoded + into UTF-8 by Alex. If your input is a ByteString, you are + responsible for ensuring that the input is UTF-8 encoded. The + old 8-bit behaviour is still available via the --latin1 + option. + + * Alex source files are asumed to be in UTF-8, like Haskell + source files. The lexer specification can use Unicode + characters and ranges. + + * alexGetChar is renamed to alexGetByte in the generated code. + + * There is a new option, --latin1, that restores the old + behaviour. + + * Alex now does DFA minimization, which helps to reduce the size + of the generated tables, especially for lexers that use Unicode. +- dropped patch alex-2.3.5-generate-man-page.patch +- required by Haskell Platform 2012.2.0.0 + +------------------------------------------------------------------- +Mon May 7 18:40:00 UTC 2012 - peter.trommler@ohm-hochschule.de + +- add patch to enable man page generation +- generate, install and package man page alex.1 + +------------------------------------------------------------------- +Thu Dec 29 11:47:39 UTC 2011 - peter.trommler@ohm-hochschule.de + +- Clean up install section +- Add three word to description to make rpmlint happier + +------------------------------------------------------------------- +Wed Dec 28 20:47:31 UTC 2011 - peter.trommler@ohm-hochschule.de + +- Adjusted version for platform 2011.4 + +------------------------------------------------------------------- +Sat Dec 10 16:48:35 UTC 2011 - peter.trommler@ohm-hochschule.de + +- Added /usr/share/alex-3.0.1 files +- Fixed file owner +- Deleted additional LICENSE file + +------------------------------------------------------------------- +Mon Dec 5 09:04:47 UTC 2011 - peter.trommler@ohm-hochschule.de + +- Added QuickCheck BR + +------------------------------------------------------------------- +Sat Nov 19 21:44:36 UTC 2011 - peter.trommler@ohm-hochschule.de + +- enabled i586 build + +------------------------------------------------------------------- +Tue Oct 11 19:50:28 UTC 2011 - peter.trommler@ohm-hochschule.de + +- created new package From d7a28f544eeeb823aaff0b73a3551b1fce28ac51 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 26 Apr 2018 07:07:28 +0000 Subject: [PATCH 09/12] osc copypac from project:devel:languages:haskell:lts:11 package:alex revision:13, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=68 --- alex.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alex.spec b/alex.spec index 5c8f901..f2c2c58 100644 --- a/alex.spec +++ b/alex.spec @@ -63,7 +63,7 @@ export PATH="%{buildroot}%{_bindir}:$PATH" %cabal_test %files -%doc LICENSE +%license LICENSE %doc CHANGELOG.md README.md TODO doc examples %{_bindir}/%{name} %dir %{_datadir}/%{name}-%{version} From 30c5624c2f427e10caa7fefb159bdd1c78fe2853 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 13:15:32 +0000 Subject: [PATCH 10/12] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:alex revision:1, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=69 --- alex.changes | 171 --------------------------------------------------- alex.spec | 12 +--- 2 files changed, 1 insertion(+), 182 deletions(-) delete mode 100644 alex.changes diff --git a/alex.changes b/alex.changes deleted file mode 100644 index d29f218..0000000 --- a/alex.changes +++ /dev/null @@ -1,171 +0,0 @@ -------------------------------------------------------------------- -Thu Apr 12 08:32:50 UTC 2018 - psimons@suse.com - -- Update alex to version 3.2.4. - A more detailed change log is not available. - -------------------------------------------------------------------- -Wed Aug 9 12:59:47 UTC 2017 - bwiedemann@suse.com - -- Drop autom4te.cache/requests from doc to fix build-compare - -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Sat Apr 29 18:32:34 UTC 2017 - psimons@suse.com - -- Update to version 3.2.1 revision 1 with cabal2obs. - -------------------------------------------------------------------- -Sun Feb 12 14:17:48 UTC 2017 - psimons@suse.com - -- Update to version 3.2.1 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:07:27 UTC 2016 - psimons@suse.com - -- Update to version 3.1.7 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Mon Jan 11 07:22:38 UTC 2016 - mimi.vx@gmail.com - -- update to 3.1.7 -* Add support for %encoding directive (allows to control --latin1 from inside - Alex scripts) -* Make code forward-compatible with in-progress proposals -* Suppress more warnings - -------------------------------------------------------------------- -Mon Dec 7 10:19:36 UTC 2015 - mimi.vx@gmail.com - -- update to 3.1.6 -* drop dependency on happy - -------------------------------------------------------------------- -Sun Nov 29 17:05:31 UTC 2015 - mimi.vx@gmail.com - -- update to 3.1.5 -- drop alex-3.1.4-ghc-7.10.patch, merged by upstream -* Generate less warning-laden code, and suppress other warnings. -* Bug fixes. - -------------------------------------------------------------------- -Wed May 13 09:19:35 UTC 2015 - mimi.vx@gmail.com - -- add alex-3.1.4-ghc-7.10.patch -* temporary disable tests - -------------------------------------------------------------------- -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 - -- update to 3.1.3 -* fix ghc 7.8 builds -* needed by Haskell Platform 2014.2.0.0 - -------------------------------------------------------------------- -Tue Sep 2 01:17:20 UTC 2014 - peter.trommler@ohm-hochschule.de - -- package examples -- cleanup spec file - -------------------------------------------------------------------- -Fri Aug 22 23:46:53 UTC 2014 - peter.trommler@ohm-hochschule.de - -- enable PowerPC builds - -------------------------------------------------------------------- -Tue May 7 14:03:17 UTC 2013 - peter.trommler@ohm-hochschule.de - -- update to 3.0.5 from upstream -* performance improvement with certain grammars ~30% -- part of Haskell Platform 2013.2 - -------------------------------------------------------------------- -Sat Nov 17 13:46:06 UTC 2012 - peter.trommler@ohm-hochschule.de - -- service localonly for Factory submission - -------------------------------------------------------------------- -Mon Oct 1 19:01:07 UTC 2012 - peter.trommler@ohm-hochschule.de - -- update to 3.0.2 from upstream -- needed by Haskell Platform 2012.4.0.0 - -------------------------------------------------------------------- -Mon Jun 4 06:59:04 UTC 2012 - peter.trommler@ohm-hochschule.de - -- update to 3.0.1 from upstream - * Unicode support (contributed mostly by Jean-Philippe Bernardy, - with help from Alan Zimmerman). - - * An Alex lexer now takes a UTF-8 encoded byte sequence as input - (see Section 5.1, “Unicode and UTF-8”. If you are using the - "basic" wrapper or one of the other wrappers that takes a - Haskell String as input, the string is automatically encoded - into UTF-8 by Alex. If your input is a ByteString, you are - responsible for ensuring that the input is UTF-8 encoded. The - old 8-bit behaviour is still available via the --latin1 - option. - - * Alex source files are asumed to be in UTF-8, like Haskell - source files. The lexer specification can use Unicode - characters and ranges. - - * alexGetChar is renamed to alexGetByte in the generated code. - - * There is a new option, --latin1, that restores the old - behaviour. - - * Alex now does DFA minimization, which helps to reduce the size - of the generated tables, especially for lexers that use Unicode. -- dropped patch alex-2.3.5-generate-man-page.patch -- required by Haskell Platform 2012.2.0.0 - -------------------------------------------------------------------- -Mon May 7 18:40:00 UTC 2012 - peter.trommler@ohm-hochschule.de - -- add patch to enable man page generation -- generate, install and package man page alex.1 - -------------------------------------------------------------------- -Thu Dec 29 11:47:39 UTC 2011 - peter.trommler@ohm-hochschule.de - -- Clean up install section -- Add three word to description to make rpmlint happier - -------------------------------------------------------------------- -Wed Dec 28 20:47:31 UTC 2011 - peter.trommler@ohm-hochschule.de - -- Adjusted version for platform 2011.4 - -------------------------------------------------------------------- -Sat Dec 10 16:48:35 UTC 2011 - peter.trommler@ohm-hochschule.de - -- Added /usr/share/alex-3.0.1 files -- Fixed file owner -- Deleted additional LICENSE file - -------------------------------------------------------------------- -Mon Dec 5 09:04:47 UTC 2011 - peter.trommler@ohm-hochschule.de - -- Added QuickCheck BR - -------------------------------------------------------------------- -Sat Nov 19 21:44:36 UTC 2011 - peter.trommler@ohm-hochschule.de - -- enabled i586 build - -------------------------------------------------------------------- -Tue Oct 11 19:50:28 UTC 2011 - peter.trommler@ohm-hochschule.de - -- created new package - diff --git a/alex.spec b/alex.spec index f2c2c58..3943d81 100644 --- a/alex.spec +++ b/alex.spec @@ -16,7 +16,7 @@ # -%bcond_without tests +%bcond_with tests Name: alex Version: 3.2.4 Release: 0 @@ -25,7 +25,6 @@ License: BSD-3-Clause Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz -BuildRequires: autoconf BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel @@ -46,16 +45,9 @@ lex or flex for C/C++. %build %ghc_bin_build -cd doc -test -f configure || autoreconf -# FIXME: you should use the %%configure macro -./configure %install %ghc_bin_install -mkdir -p %{buildroot}/%{_mandir}/man1 -cp doc/alex.1 %{buildroot}/%{_mandir}/man1 -rm doc/autom4te.cache/requests # varies across builds, breaking build-compare %check # Ensure that the test suite can find the alex binary. @@ -72,8 +64,6 @@ export PATH="%{buildroot}%{_bindir}:$PATH" %{_datadir}/%{name}-%{version}/AlexTemplate-ghc %{_datadir}/%{name}-%{version}/AlexTemplate-ghc-debug %{_datadir}/%{name}-%{version}/AlexTemplate-ghc-nopred -%{_datadir}/%{name}-%{version} -%{_mandir}/man1/* %{_datadir}/%{name}-%{version}/AlexWrapper-basic %{_datadir}/%{name}-%{version}/AlexWrapper-basic-bytestring %{_datadir}/%{name}-%{version}/AlexWrapper-gscan From 8d54cdf107bac5c7e21528fd708fd06e99d8956e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 15:19:58 +0000 Subject: [PATCH 11/12] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:alex revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=70 --- alex.changes | 165 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 165 insertions(+) create mode 100644 alex.changes diff --git a/alex.changes b/alex.changes new file mode 100644 index 0000000..c42bf50 --- /dev/null +++ b/alex.changes @@ -0,0 +1,165 @@ +------------------------------------------------------------------- +Wed Aug 9 12:59:47 UTC 2017 - bwiedemann@suse.com + +- Drop autom4te.cache/requests from doc to fix build-compare + +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Sat Apr 29 18:32:34 UTC 2017 - psimons@suse.com + +- Update to version 3.2.1 revision 1 with cabal2obs. + +------------------------------------------------------------------- +Sun Feb 12 14:17:48 UTC 2017 - psimons@suse.com + +- Update to version 3.2.1 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:07:27 UTC 2016 - psimons@suse.com + +- Update to version 3.1.7 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Mon Jan 11 07:22:38 UTC 2016 - mimi.vx@gmail.com + +- update to 3.1.7 +* Add support for %encoding directive (allows to control --latin1 from inside + Alex scripts) +* Make code forward-compatible with in-progress proposals +* Suppress more warnings + +------------------------------------------------------------------- +Mon Dec 7 10:19:36 UTC 2015 - mimi.vx@gmail.com + +- update to 3.1.6 +* drop dependency on happy + +------------------------------------------------------------------- +Sun Nov 29 17:05:31 UTC 2015 - mimi.vx@gmail.com + +- update to 3.1.5 +- drop alex-3.1.4-ghc-7.10.patch, merged by upstream +* Generate less warning-laden code, and suppress other warnings. +* Bug fixes. + +------------------------------------------------------------------- +Wed May 13 09:19:35 UTC 2015 - mimi.vx@gmail.com + +- add alex-3.1.4-ghc-7.10.patch +* temporary disable tests + +------------------------------------------------------------------- +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 + +- update to 3.1.3 +* fix ghc 7.8 builds +* needed by Haskell Platform 2014.2.0.0 + +------------------------------------------------------------------- +Tue Sep 2 01:17:20 UTC 2014 - peter.trommler@ohm-hochschule.de + +- package examples +- cleanup spec file + +------------------------------------------------------------------- +Fri Aug 22 23:46:53 UTC 2014 - peter.trommler@ohm-hochschule.de + +- enable PowerPC builds + +------------------------------------------------------------------- +Tue May 7 14:03:17 UTC 2013 - peter.trommler@ohm-hochschule.de + +- update to 3.0.5 from upstream +* performance improvement with certain grammars ~30% +- part of Haskell Platform 2013.2 + +------------------------------------------------------------------- +Sat Nov 17 13:46:06 UTC 2012 - peter.trommler@ohm-hochschule.de + +- service localonly for Factory submission + +------------------------------------------------------------------- +Mon Oct 1 19:01:07 UTC 2012 - peter.trommler@ohm-hochschule.de + +- update to 3.0.2 from upstream +- needed by Haskell Platform 2012.4.0.0 + +------------------------------------------------------------------- +Mon Jun 4 06:59:04 UTC 2012 - peter.trommler@ohm-hochschule.de + +- update to 3.0.1 from upstream + * Unicode support (contributed mostly by Jean-Philippe Bernardy, + with help from Alan Zimmerman). + + * An Alex lexer now takes a UTF-8 encoded byte sequence as input + (see Section 5.1, “Unicode and UTF-8”. If you are using the + "basic" wrapper or one of the other wrappers that takes a + Haskell String as input, the string is automatically encoded + into UTF-8 by Alex. If your input is a ByteString, you are + responsible for ensuring that the input is UTF-8 encoded. The + old 8-bit behaviour is still available via the --latin1 + option. + + * Alex source files are asumed to be in UTF-8, like Haskell + source files. The lexer specification can use Unicode + characters and ranges. + + * alexGetChar is renamed to alexGetByte in the generated code. + + * There is a new option, --latin1, that restores the old + behaviour. + + * Alex now does DFA minimization, which helps to reduce the size + of the generated tables, especially for lexers that use Unicode. +- dropped patch alex-2.3.5-generate-man-page.patch +- required by Haskell Platform 2012.2.0.0 + +------------------------------------------------------------------- +Mon May 7 18:40:00 UTC 2012 - peter.trommler@ohm-hochschule.de + +- add patch to enable man page generation +- generate, install and package man page alex.1 + +------------------------------------------------------------------- +Thu Dec 29 11:47:39 UTC 2011 - peter.trommler@ohm-hochschule.de + +- Clean up install section +- Add three word to description to make rpmlint happier + +------------------------------------------------------------------- +Wed Dec 28 20:47:31 UTC 2011 - peter.trommler@ohm-hochschule.de + +- Adjusted version for platform 2011.4 + +------------------------------------------------------------------- +Sat Dec 10 16:48:35 UTC 2011 - peter.trommler@ohm-hochschule.de + +- Added /usr/share/alex-3.0.1 files +- Fixed file owner +- Deleted additional LICENSE file + +------------------------------------------------------------------- +Mon Dec 5 09:04:47 UTC 2011 - peter.trommler@ohm-hochschule.de + +- Added QuickCheck BR + +------------------------------------------------------------------- +Sat Nov 19 21:44:36 UTC 2011 - peter.trommler@ohm-hochschule.de + +- enabled i586 build + +------------------------------------------------------------------- +Tue Oct 11 19:50:28 UTC 2011 - peter.trommler@ohm-hochschule.de + +- created new package + From dabc93556c12d05b664461a3ba45f785cbdf4750 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 15 May 2018 18:23:14 +0000 Subject: [PATCH 12/12] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:alex revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=71 --- alex.changes | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/alex.changes b/alex.changes index c42bf50..707d849 100644 --- a/alex.changes +++ b/alex.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon May 14 17:02:11 UTC 2018 - psimons@suse.com + +- Update alex to version 3.2.4. + * Remove dependency on QuickCheck + * Change the way that bootstrapping is done: see README.md for build + instructions + * fix issue when using cpphs (#116) + * Manage line length in generated files [GH-84] + * Fix issue when identifier with multiple single quotes, e.g. `foo''` was used + * Allow omitting spaces around `=` in macro definitions + * Include pre-generated Parser.hs and Scan.hs in the Hackage upload, to + make bootstrapping easier. + ------------------------------------------------------------------- Wed Aug 9 12:59:47 UTC 2017 - bwiedemann@suse.com