From 30c5624c2f427e10caa7fefb159bdd1c78fe2853 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 13:15:32 +0000 Subject: [PATCH] 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