From 03be24b53d7c826d4590eddb9eadaf20e1bbbbdb Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 6 Apr 2023 16:14:39 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:alex revision:8, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=108 --- alex-3.2.7.1.tar.gz | 3 --- alex-3.2.7.2.tar.gz | 3 +++ alex.changes | 26 +++++++++++++++++++++++--- alex.spec | 25 ++----------------------- 4 files changed, 28 insertions(+), 29 deletions(-) delete mode 100644 alex-3.2.7.1.tar.gz create mode 100644 alex-3.2.7.2.tar.gz diff --git a/alex-3.2.7.1.tar.gz b/alex-3.2.7.1.tar.gz deleted file mode 100644 index f4e07e5..0000000 --- a/alex-3.2.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9bd2f1a27e8f1b2ffdb5b2fbd3ed82b6f0e85191459a1b24ffcbef4e68a81bec -size 108229 diff --git a/alex-3.2.7.2.tar.gz b/alex-3.2.7.2.tar.gz new file mode 100644 index 0000000..a566da0 --- /dev/null +++ b/alex-3.2.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bede87b8ca5bbe940fa50b5e4bf9ff32c62c9ec37dc85963e08a1b6c63c2ce13 +size 85450 diff --git a/alex.changes b/alex.changes index 74659de..f97f14e 100644 --- a/alex.changes +++ b/alex.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Apr 3 21:20:37 UTC 2023 - Peter Simons + +- Update alex to version 3.2.7.2. + + * Fix bug with out-of-bound access to `alex_check` array. + (Surfaced with GHC's JS backend, fixed by Sylvain Henry in + PR [#223](https://github.com/haskell/alex/pull/223).) + + * Upstream dropped installable documentation and man pages. The + documentation can now be found at these locations: + + - Online (HTML): https://haskell-alex.readthedocs.io + - PDF: https://haskell-alex.readthedocs.io/_/downloads/en/latest/pdf/ + - Downloadable HTML: https://haskell-alex.readthedocs.io/_/downloads/en/latest/htmlzip/ + + * Re-enabled the test suite for aarch64. The underlying issue + https://github.com/simonmar/alex/issues/130 was closed by + upstream. + ------------------------------------------------------------------- Thu Mar 30 17:05:37 UTC 2023 - Peter Simons @@ -31,13 +51,13 @@ Sun Jan 23 23:20:45 UTC 2022 - Peter Simons ------------------------------------------------------------------- Tue Sep 7 18:43:27 UTC 2021 - Ondřej Súkup -- make rpmlint happy +- make rpmlint happy ------------------------------------------------------------------- Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup - + - disable %{ix86} build - + ------------------------------------------------------------------- Tue Dec 15 16:30:27 UTC 2020 - psimons@suse.com diff --git a/alex.spec b/alex.spec index ffb5389..9984bea 100644 --- a/alex.spec +++ b/alex.spec @@ -16,20 +16,14 @@ # -# Disable tests on aarch64. See: https://github.com/simonmar/alex/issues/130 -%ifarch aarch64 -%bcond_with tests -%else %bcond_without tests -%endif Name: alex -Version: 3.2.7.1 +Version: 3.2.7.2 Release: 0 Summary: Alex is a tool for generating lexical analysers in Haskell License: BSD-3-Clause 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-array-prof @@ -57,34 +51,19 @@ lex or flex for C/C++. %build %ghc_bin_build -chmod a-x TODO *.md -chmod a-x ./doc/* -chmod a-x ./examples/* -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 -f doc/autom4te.cache/requests doc/config.log # 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 %license LICENSE -%doc CHANGELOG.md README.md TODO doc examples +%doc CHANGELOG.md README.md examples %{_bindir}/%{name} %dir %{_datadir}/%{name}-%{version} %{_datadir}/%{name}-%{version}/AlexTemplate.hs %{_datadir}/%{name}-%{version}/AlexWrappers.hs -%{_datadir}/%{name}-%{version} -%{_mandir}/man1/* %changelog