From da6827add83248d4239b415420d0701e25ad3b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:51:27 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:10, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=97 --- alex-3.2.5.tar.gz | 3 --- alex-3.2.6.tar.gz | 3 +++ alex.changes | 26 ++++++++++++++++++++++++++ alex.spec | 8 +++++++- 4 files changed, 36 insertions(+), 4 deletions(-) delete mode 100644 alex-3.2.5.tar.gz create mode 100644 alex-3.2.6.tar.gz diff --git a/alex-3.2.5.tar.gz b/alex-3.2.5.tar.gz deleted file mode 100644 index 2caaf12..0000000 --- a/alex-3.2.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b77c8a1270767c64e2adb21a6e91ee7cd904ba17edae17bc20fd03da5256e0e3 -size 108531 diff --git a/alex-3.2.6.tar.gz b/alex-3.2.6.tar.gz new file mode 100644 index 0000000..85a0d99 --- /dev/null +++ b/alex-3.2.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91aa08c1d3312125fbf4284815189299bbb0be34421ab963b1f2ae06eccc5410 +size 108832 diff --git a/alex.changes b/alex.changes index 9c6d288..e71864b 100644 --- a/alex.changes +++ b/alex.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + +------------------------------------------------------------------- +Tue Dec 15 16:30:27 UTC 2020 - psimons@suse.com + +- Update alex to version 3.2.6. + ## Changes in 3.2.6: + + * Support for the GHC 9.2. + + The array access primops now use the fixed-sized numeric types + corresponding to the width of the data accessed. Additionally, the + primops to convert to and from fixed-sized numeric types have been + given new names. + + 9.2 isn't cut yet, so these changes are somewhat speculative. + Unfortunately, GHC must used a released version of Alex (and Happy) + at all times until further changes have been made, so we must make + the release to actually implement these changes in GHC. + + If the final GHC 9.2 ends up being different, this release will be + marked broken to make it less likely people use it by accident. + ------------------------------------------------------------------- Wed Oct 21 12:51:40 UTC 2020 - Andreas Schwab diff --git a/alex.spec b/alex.spec index 85317d0..3d04c3e 100644 --- a/alex.spec +++ b/alex.spec @@ -23,7 +23,7 @@ %bcond_without tests %endif Name: alex -Version: 3.2.5 +Version: 3.2.6 Release: 0 Summary: Alex is a tool for generating lexical analysers in Haskell License: BSD-3-Clause @@ -35,6 +35,12 @@ BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-rpm-macros +# GHC dont support i586 +%ifarch %{ix86} +ExclusiveArch: i586 i686 +ExclusiveArch: i686 +%{expand:%%global optflags %(echo "%{optflags}"|sed -e s/i586/i686/) -march=i686 -mtune=generic} +%endif %if %{with tests} BuildRequires: ghc-process-devel %endif