Accepting request 1077763 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/1077763 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=31
This commit is contained in:
commit
4b924c4917
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9bd2f1a27e8f1b2ffdb5b2fbd3ed82b6f0e85191459a1b24ffcbef4e68a81bec
|
||||
size 108229
|
3
alex-3.2.7.2.tar.gz
Normal file
3
alex-3.2.7.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bede87b8ca5bbe940fa50b5e4bf9ff32c62c9ec37dc85963e08a1b6c63c2ce13
|
||||
size 85450
|
20
alex.changes
20
alex.changes
@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 3 21:20:37 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- 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 <psimons@suse.com>
|
||||
|
||||
|
25
alex.spec
25
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
|
||||
|
Loading…
Reference in New Issue
Block a user