SHA256
4
0
forked from pool/alex

110 Commits

Author SHA256 Message Date
43735285c8 Accepting request 1157228 from devel:languages:haskell
Update Haskell ecosystem to GHC version 9.8.2.

OBS-URL: https://build.opensuse.org/request/show/1157228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=37
2024-03-20 20:13:51 +00:00
a44184c80c osc copypac from project:devel:languages:haskell:ghc-9.8.x package:alex revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=114
2024-03-01 19:00:04 +00:00
4e775727ac Accepting request 1146952 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1146952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=36
2024-02-16 20:41:52 +00:00
bf8fa11603 osc copypac from project:devel:languages:haskell:ghc-9.6.x package:alex revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=113
2024-02-09 22:00:50 +00:00
01d125db0b Accepting request 1127016 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1127016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=35
2023-11-23 20:39:47 +00:00
0ee1e245fb osc copypac from project:devel:languages:haskell:ghc-9.6.x package:alex revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=112
2023-11-10 14:07:16 +00:00
433f2d8550 Accepting request 1103111 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1103111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=34
2023-08-09 15:26:25 +00:00
0b8759d74f Accepting request 1101974 from home:Andreas_Schwab:riscv:ghc
- Drop constraints for riscv64

OBS-URL: https://build.opensuse.org/request/show/1101974
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=111
2023-08-04 17:08:14 +00:00
34aaeb84bf Accepting request 1094414 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1094414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=33
2023-06-22 21:25:12 +00:00
c171ab6e87 osc copypac from project:devel:languages:haskell:ghc-9.4.x package:alex revision:10, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=110
2023-05-03 09:19:44 +00:00
6965c8b561 Accepting request 1080319 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1080319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=32
2023-04-20 13:14:16 +00:00
c26a12b048 osc copypac from project:devel:languages:haskell:ghc-9.4.x package:alex revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=109
2023-04-15 21:01:10 +00:00
b91e78f983 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
2023-04-07 16:16:40 +00:00
481435e981 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
2023-04-06 16:14:39 +00:00
55380498a2 Accepting request 1075748 from devel:languages:haskell
update for ghc-9.4.4

OBS-URL: https://build.opensuse.org/request/show/1075748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=30
2023-04-04 19:18:12 +00:00
a79b7d5a0e osc copypac from project:devel:languages:haskell:ghc-9.4.x package:alex revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=107
2023-03-30 17:51:31 +00:00
9b424c3c0d osc copypac from project:devel:languages:haskell:ghc-9.4.x package:alex revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=106
2023-03-30 17:38:24 +00:00
d2b78de5d0 osc copypac from project:devel:languages:haskell:ghc-9.4.x package:alex revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=105
2023-03-30 08:26:17 +00:00
a11ef3fc20 Accepting request 953424 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/953424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=29
2022-02-11 22:08:26 +00:00
7b70309afb osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:26, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=104
2022-02-11 02:01:28 +00:00
0259e55d6e osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:25, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=103
2022-02-09 13:44:51 +00:00
c478806365 Accepting request 917472 from devel:languages:haskell
automated update of haskell stack

OBS-URL: https://build.opensuse.org/request/show/917472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=28
2021-09-10 21:41:02 +00:00
e79b9b351b osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:20, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=102
2021-09-08 08:14:44 +00:00
be678c1123 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:19, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=101
2021-09-07 19:01:14 +00:00
523ef8a2cd osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:18, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=100
2021-09-07 15:04:08 +00:00
00848dd2b6 Accepting request 857180 from devel:languages:haskell
update haskell stack in openSUS

OBS-URL: https://build.opensuse.org/request/show/857180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=27
2020-12-22 10:32:43 +00:00
96b8ffc1c9 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:13, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=99
2020-12-19 18:27:48 +00:00
d39cff7e12 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:12, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=98
2020-12-19 17:47:25 +00:00
e56cdbea47 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
2020-12-18 12:51:27 +00:00
0c1296c94a Accepting request 844302 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/844302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=26
2020-10-27 18:02:49 +00:00
4cd6170b51 Accepting request 843223 from openSUSE:Factory:RISCV
- Add memory constraints for riscv64

OBS-URL: https://build.opensuse.org/request/show/843223
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=96
2020-10-23 19:28:24 +00:00
e354392fa3 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=95
2020-09-04 15:09:50 +00:00
3c1ff48506 osc copypac from project:devel:languages:haskell:ghc-8.6.x package:alex revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=93
2020-09-04 15:02:51 +00:00
456669f32c Accepting request 829140 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/829140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=25
2020-08-28 19:23:12 +00:00
c1b06b28aa osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=92
2020-08-19 01:00:50 +00:00
6cf322787c Accepting request 815006 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/815006
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=24
2020-06-19 15:06:43 +00:00
18f662c481 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=91
2020-06-18 01:02:06 +00:00
9bd37f3fe5 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=90
2020-06-16 11:28:31 +00:00
18efe92a21 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=89
2020-06-16 10:56:16 +00:00
72da87c6b6 Accepting request 760276 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/760276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=23
2020-01-03 16:34:59 +00:00
1f228aa0c7 osc copypac from project:devel:languages:haskell:ghc-8.8.x package:alex revision:10, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=88
2020-01-01 15:27:50 +00:00
bcd85e3af1 osc copypac from project:devel:languages:haskell:ghc-8.8.x package:alex revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=87
2019-12-29 10:45:53 +00:00
a1c145da66 osc copypac from project:devel:languages:haskell:ghc-8.6.x package:alex revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=86
2019-12-29 02:01:35 +00:00
32372eb3a9 - Drop obsolete group attributes.
- Disable tests on aarch64 as they are broken. 
  See: https://github.com/simonmar/alex/issues/130

- Use https URL to refer to bugs.opensuse.org.

- Drop config.log from doc to fix build-compare

- Cosmetic: replace tabs with blanks, strip trailing white space,
  and update copyright headers with spec-cleaner.

- Run the test suite by default.
- Build and install the man page and the documentation.

- 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.

- Drop autom4te.cache/requests from doc to fix build-compare

- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=85
2019-12-28 16:46:25 +00:00
10df2561ef osc copypac from project:devel:languages:haskell:ghc-8.8.x package:alex revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=84
2019-12-28 14:39:49 +00:00
725f961105 Accepting request 759311 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/759311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=22
2019-12-27 12:50:27 +00:00
3642835492 osc copypac from project:devel:languages:haskell:ghc-8.6.x package:alex revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=83
2019-12-24 02:01:51 +00:00
13accab949 osc copypac from project:devel:languages:haskell:ghc-8.6.x package:alex revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=82
2019-11-08 02:01:54 +00:00
3cb5a3a719 osc copypac from project:devel:languages:haskell:ghc-8.6.x package:alex revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=81
2019-10-25 01:02:04 +00:00
1de2ffe04c Accepting request 652356 from devel:languages:haskell
OBS-URL: https://build.opensuse.org/request/show/652356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=21
2018-11-29 22:00:05 +00:00
6bf90ea68a Accepting request 652297 from home:Guillaume_G:branches:devel:languages:haskell
- Disable tests on aarch64 as they are broken. 
  See: https://github.com/simonmar/alex/issues/130

OBS-URL: https://build.opensuse.org/request/show/652297
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=80
2018-11-28 11:04:41 +00:00
b21f6cb55f Accepting request 643335 from devel:languages:haskell
trivial cosmetic change in comments

OBS-URL: https://build.opensuse.org/request/show/643335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=20
2018-10-25 06:21:53 +00:00
69c02cd32b osc copypac from project:devel:languages:haskell:ghc-8.6.x package:alex revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=79
2018-10-20 11:47:12 +00:00
2dbeaa588a osc copypac from project:devel:languages:haskell:ghc-8.6.x package:alex revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=78
2018-10-18 09:46:39 +00:00
9fede69d94 Accepting request 626529 from devel:languages:haskell
Drop config.log from doc to fix build-compare.

OBS-URL: https://build.opensuse.org/request/show/626529
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=19
2018-07-31 14:03:42 +00:00
e9a9b49f4a Accepting request 626133 from home:bmwiedemann:branches:devel:languages:haskell
Drop config.log from doc to fix build-compare

OBS-URL: https://build.opensuse.org/request/show/626133
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=77
2018-07-30 19:07:59 +00:00
187dbfb763 Accepting request 623693 from devel:languages:haskell
- Cosmetic: replace tabs with blanks, strip trailing white space,
  and update copyright headers with spec-cleaner.

- Run the test suite by default.
- Build and install the man page and the documentation.

* fix ghc 7.8 builds
- package examples
- part of Haskell Platform 2013.2
- service localonly for Factory submission
- needed by Haskell Platform 2012.4.0.0
- required by Haskell Platform 2012.2.0.0
- generate, install and package man page alex.1
- Add three word to description to make rpmlint happier
- Adjusted version for platform 2011.4
- Deleted additional LICENSE file
- Added QuickCheck BR
- enabled i586 build
- created new package

OBS-URL: https://build.opensuse.org/request/show/623693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=18
2018-07-24 15:12:13 +00:00
eaff2581ad osc copypac from project:devel:languages:haskell:ghc-8.4.x package:alex revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=76
2018-07-18 14:39:55 +00:00
8b1a326339 osc copypac from project:devel:languages:haskell:ghc-8.4.x package:alex revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=75
2018-06-14 07:06:48 +00:00
a732e51fea 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=74
2018-06-14 07:05:12 +00:00
cdb70a31fd osc copypac from project:devel:languages:haskell:ghc-8.4.x package:alex revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=73
2018-06-13 15:09:24 +00:00
a1ffe1a9c2 Accepting request 607730 from devel:languages:haskell
Update alex to the latest version.

OBS-URL: https://build.opensuse.org/request/show/607730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=17
2018-05-30 09:58:04 +00:00
6c9e1803ba osc copypac from project:devel:languages:haskell:ghc-8.4.x package:alex revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=72
2018-05-16 13:48:46 +00:00
96cbf7e803 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
2018-05-15 18:23:14 +00:00
0f99e17a49 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
2018-05-14 15:19:58 +00:00
89f0f2e759 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
2018-05-14 13:15:32 +00:00
8fbb5d563e 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
2018-04-26 07:07:28 +00:00
65ceb1f7f2 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
2018-04-13 13:25:16 +00:00
e8a0d6381c 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
2018-04-02 18:44:27 +00:00
6dd1987f71 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
2018-04-02 14:49:11 +00:00
125acfc84f 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
2017-09-14 02:10:00 +00:00
cbdff6908a 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
2017-09-11 13:40:28 +00:00
a1e56a96cf 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
2017-08-17 13:18:42 +00:00
5136889437 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
2017-08-15 13:51:05 +00:00
671a74b869 Accepting request 515774 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/515774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=16
2017-08-13 12:57:27 +00:00
df3b284786 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
2017-08-11 08:48:46 +00:00
6fd4a83489 Accepting request 515714 from home:bmwiedemann:branches:devel:languages:haskell
Drop autom4te.cache/requests from doc to fix build-compare

OBS-URL: https://build.opensuse.org/request/show/515714
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=59
2017-08-09 17:53:09 +00:00
671b27fd34 osc copypac from project:devel:languages:haskell:lts:9 package:alex revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=58
2017-08-05 02:01:58 +00:00
60d5bdb3eb Accepting request 494126 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/494126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=15
2017-06-03 23:51:03 +00:00
bfe04dcc86 synchronize wit lts:8 from configuration bbbfb86d6e54c22066d348f5bc28d4fd96e6bfd6
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=57
2017-05-03 11:39:12 +00:00
a0bc4ba72b Accepting request 461517 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/461517
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=14
2017-03-14 09:03:57 +00:00
66d3844df9 synchronize with lts-8 package sett from configuration 0cb270c8d22a0823ab5130d95cc499e186cf864e
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=56
2017-02-22 17:18:47 +00:00
2e1fb4d2a7 Synchronize builds with devel:languages:haskell:lts:7.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=55
2016-10-06 17:14:16 +00:00
d554db873a Drop packages no longer in LTS 7.x and not in Factory.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=54
2016-09-30 08:08:45 +00:00
dafaa616f0 osc copypac from project:devel:languages:haskell:lts:6 package:alex revision:8
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=53
2016-07-22 21:34:08 +00:00
993c061904 Accepting request 409586 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/409586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=13
2016-07-20 07:18:19 +00:00
2d171a9e4e Accepting request 409127 from devel:languages:haskell:lts:6
See https://lists.opensuse.org/opensuse-haskell/2016-07/msg00000.html for details.

OBS-URL: https://build.opensuse.org/request/show/409127
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=51
2016-07-16 19:53:55 +00:00
32ff3c6f02 Accepting request 352975 from devel:languages:haskell
- 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

OBS-URL: https://build.opensuse.org/request/show/352975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=12
2016-01-11 18:11:58 +00:00
d942f9791d - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=49
2016-01-11 07:26:30 +00:00
31fc6deb21 Accepting request 347729 from devel:languages:haskell
- update to 3.1.6
* drop dependency on happy

OBS-URL: https://build.opensuse.org/request/show/347729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=11
2015-12-09 18:52:39 +00:00
e6d3ff3d55 - update to 3.1.6
* drop dependency on happy

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=47
2015-12-07 10:20:35 +00:00
405cc446ec Accepting request 346731 from devel:languages:haskell
- 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.

OBS-URL: https://build.opensuse.org/request/show/346731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=10
2015-12-01 08:19:25 +00:00
b05fcd0655 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=45
2015-11-29 17:06:55 +00:00
Stephan Kulow
e3a67d774a Accepting request 324453 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/324453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=9
2015-08-25 05:19:36 +00:00
0aba86db09 Accepting request 322621 from devel:languages:haskell:lts
- add alex-3.1.4-ghc-7.10.patch
* temporary disable tests

OBS-URL: https://build.opensuse.org/request/show/322621
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=43
2015-08-20 05:53:47 +00:00
Stephan Kulow
df2d442e13 Accepting request 306067 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/306067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=8
2015-05-21 06:10:52 +00:00
Peter Trommler
13fd05b10c Accepting request 304511 from devel:languages:haskell:lts
- update to 3.1.4
* Add Applicative/Functor instances for GHC 7.10

OBS-URL: https://build.opensuse.org/request/show/304511
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=41
2015-05-02 09:33:50 +00:00
8bc98c2e80 Accepting request 260143 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/260143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=7
2014-11-26 19:54:31 +00:00
Peter Trommler
083ef914c6 Accepting request 259829 from devel:languages:haskell:platform
Haskell Platform 2014.2.0.0 update

OBS-URL: https://build.opensuse.org/request/show/259829
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=37
2014-11-06 18:59:54 +00:00
Stephan Kulow
e3b51bfe92 Accepting request 245988 from devel:languages:haskell
enable PowerPC builds

OBS-URL: https://build.opensuse.org/request/show/245988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=5
2014-08-25 09:04:23 +00:00
Peter Trommler
37d2662c09 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=36 2014-08-22 23:47:44 +00:00
Peter Trommler
2258eaaac7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=35 2014-08-21 15:25:29 +00:00
Stephan Kulow
d6289f5170 Accepting request 185367 from devel:languages:haskell
Update for Haskell Paltform 2013.2.0.0 (forwarded request 185236 from ptrommler)

OBS-URL: https://build.opensuse.org/request/show/185367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=3
2013-08-01 13:19:59 +00:00
Peter Trommler
b0b3fdd775 Accepting request 185236 from devel:languages:haskell:platform
Update for Haskell Paltform 2013.2.0.0

OBS-URL: https://build.opensuse.org/request/show/185236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=33
2013-08-01 07:58:01 +00:00
Stephan Kulow
872f555f28 Accepting request 145460 from devel:languages:haskell
New package for Haskell Platform. See: http://lists.opensuse.org/opensuse-factory/2012-12/msg00178.html

OBS-URL: https://build.opensuse.org/request/show/145460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=1
2013-01-08 15:23:37 +00:00
Peter Trommler
d35e08c6d4 Accepting request 141642 from home:ptrommler:haskell-platform
HP 2012.4

OBS-URL: https://build.opensuse.org/request/show/141642
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=31
2012-11-17 18:19:45 +00:00
Peter Trommler
62371f049a Accepting request 123939 from home:ptrommler:haskell-platform
Haskell Platform 2012.2.0.0

OBS-URL: https://build.opensuse.org/request/show/123939
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=30
2012-06-06 18:14:27 +00:00
Peter Trommler
823d82b96f - add patch to enable man page generation
- generate, install and package man page alex.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=29
2012-05-07 18:42:14 +00:00
Peter Trommler
f15d3ba0a0 Accepting request 107495 from home:ptrommler:devel:languages:haskell:platform-2011.4
Added BuildRoot tag needed by SLE-11-SP1

OBS-URL: https://build.opensuse.org/request/show/107495
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=28
2012-02-29 08:04:29 +00:00
Peter Trommler
85cdfae461 Accepting request 99818 from home:ptrommler:devel:languages:haskell:platform-2011.4
Haskell Platform 2011.4

OBS-URL: https://build.opensuse.org/request/show/99818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=27
2012-01-12 15:23:29 +00:00
4 changed files with 460 additions and 146 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:195fa390380fb8776084175e6d2c1581312b8ce4e7747171c716a5c5c0aebfb8
size 63480

3
alex-3.5.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c92efe86f8eb959ee03be6c04ee57ebc7e4abc75a6c4b26551215d7443e92a07
size 85982

View File

@@ -1,5 +1,407 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 4 20:26:44 UTC 2009 - herbert@graeber-clan.de Thu Feb 29 13:15:15 UTC 2024 - Peter Simons <psimons@suse.com>
- use java-1_6_0-openjdk for 11.0 and above, java-1_5_0-sun else - Update alex to version 3.5.1.0.
## Changes in 3.5.1.0
* Drop generating output for GHC < 6.4.
* Use qualified imports in generated code (except for `Prelude`)
([Issue #258](https://github.com/haskell/alex/issues/258)).
* Suppress warnings `tabs` and `unused-imports` for generated code
([Issue #255](https://github.com/haskell/alex/issues/255)).
* Tested with GHC 8.0 - 9.8.2.
_Andreas Abel, 2024-02-29_
-------------------------------------------------------------------
Sat Dec 30 15:01:39 UTC 2023 - Peter Simons <psimons@suse.com>
- Update alex to version 3.5.0.0.
## Changes in 3.5.0.0
* Add option `--numeric-version`.
* Remove deprecated `-v` as alias for `--version`.
* Add `-v` as placeholder for a future `--verbose` option.
* Make `alex{G,S}etUserState` available with the `monadUserState-bytestring` wrapper
([Issue #220](https://github.com/haskell/alex/issues/220)).
* Debugging lexer: print character in addition to its ASCII code
([PR #252](https://github.com/haskell/alex/pull/252)).
* Tested with GHC 8.0 - 9.8.1.
_Andreas Abel, 2023-12-30_
-------------------------------------------------------------------
Sun Oct 29 08:11:28 UTC 2023 - Peter Simons <psimons@suse.com>
- Update alex to version 3.4.0.1.
## Changes in 3.4.0.1
* Address new `x-partial` warning of GHC 9.8.
* Alex 3.4.0.1 needs GHC 8.0 or higher to build.
The code it generates is the same as 3.4.0.0, so it will likely work for older GHCs.
* Tested with GHC 8.0 - 9.8.1.
_Andreas Abel, 2023-10-29_
## Changes in 3.4.0.0
* New wrappers to lex strict `Text`:
`strict-text`, `posn-strict-text`, `monad-strict-text` and `monadUserState-strict-text`
(PR [#240](https://github.com/haskell/alex/pull/240)).
These complement the existing wrappers for `String` and `ByteString`.
* Tested with GHC 7.0 - 9.6.2.
_Andreas Abel, 2023-06-20_
## Changes in 3.3.0.0
* Add an `Ord` instance to `AlexPosn` (Issue [#233](https://github.com/haskell/alex/issues/233)).
This breaks developments that define their own (orphan) `instance Ord AlexPosn`.
If this is the derived stock instance, the fix is to delete the orphan instance and require
`build-tool-depends: alex:alex >= 3.3.0.0`.
* Switch to Haskell PVP versioning with four digits.
* Tested with GHC 7.0 - 9.6.1.
_Andreas Abel, 2023-05-25_
-------------------------------------------------------------------
Wed Aug 2 09:42:48 UTC 2023 - Andreas Schwab <schwab@suse.de>
- Drop constraints for riscv64
-------------------------------------------------------------------
Tue May 2 06:58:58 UTC 2023 - Peter Simons <psimons@suse.com>
- Update alex to version 3.2.7.4.
## Change in 3.2.7.4
* The user-supplied "epilogue" Haskell code is now put _last_ in the generated file.
This enables use of Template Haskell in the epilogue.
(Issue [#125](https://github.com/haskell/alex/issues/125).)
* Tested with GHC 7.0 - 9.6.1.
_Andreas Abel, 2023-05-02_
-------------------------------------------------------------------
Fri Apr 14 05:54:54 UTC 2023 - Peter Simons <psimons@suse.com>
- Update alex to version 3.2.7.3.
## Change in 3.2.7.3
* Amend last change (3.2.7.2)
so that Alex-generated code does not need `LANGUAGE PatternGuards`.
* Tested with GHC 7.0 - 9.6.1.
_Andreas Abel, 2023-04-14_
-------------------------------------------------------------------
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>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Sun Jan 23 23:20:45 UTC 2022 - Peter Simons <psimons@suse.com>
- Update alex to version 3.2.7.1.
## Change in 3.2.7.1
* Fix bug with repeated numeral characters *outside* of `r{n,m}`
repetitions. This was a regression introduced in 3.2.7.
## Changes in 3.2.7
* Allow arbitrary repetitions in regexps.
Previously, the `r{n,m}` and related forms were restricted to single
digit numbers `n` and `m`.
* DFA minimization used to crash on tokens of the form `c*` which
produce automata with only accepting states. Considering the empty
set of non-accepting states as an equivalence class caused
minimization to crash with exception.
* The `small_base` flag is removed. Extremely old GHCs will no longer
build.
* A number of bug fixes and clearer diagnostics.
-------------------------------------------------------------------
Tue Sep 7 18:43:27 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
- make rpmlint happy
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
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 <schwab@suse.de>
- Add memory constraints for riscv64
-------------------------------------------------------------------
Tue Aug 18 10:43:42 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 16 11:13:34 UTC 2020 - Peter Simons <psimons@suse.com>
- Re-generate file with latest version of spec-cleaner.
-------------------------------------------------------------------
Thu Nov 7 06:42:07 UTC 2019 - psimons@suse.com
- Drop obsolete group attributes.
- Update alex to version 3.2.5.
* Build fixes for GHC 8.8.x. This allows us to run the test
suite again.
-------------------------------------------------------------------
Wed Nov 28 10:15:25 UTC 2018 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Disable tests on aarch64 as they are broken.
See: https://github.com/simonmar/alex/issues/130
-------------------------------------------------------------------
Sat Oct 20 11:31:04 UTC 2018 - Peter Simons <psimons@suse.com>
- Use https URL to refer to bugs.opensuse.org.
-------------------------------------------------------------------
Mon Jul 30 03:30:56 UTC 2018 - bwiedemann@suse.com
- Drop config.log from doc to fix build-compare
-------------------------------------------------------------------
Wed Jul 18 14:26:08 UTC 2018 - psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
-------------------------------------------------------------------
Tue Jun 5 16:50:43 UTC 2018 - psimons@suse.com
- Run the test suite by default.
- Build and install the man page and the documentation.
-------------------------------------------------------------------
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
- 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

194
alex.spec
View File

@@ -1,157 +1,69 @@
# #
# spec file for package ghc-X11 # spec file for package alex
# #
# Copyright (c) 2005-2009 Herbert Graeber # Copyright (c) 2024 SUSE LLC
# #
# This file and all modifications and additions to the pristine # All modifications and additions to the file contributed by third parties
# package are under the same license as the package itself. # remain the property of their copyright owners, unless otherwise agreed
# # upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# norootforbuild # license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# ghc does not emit debug information # license that conforms to the Open Source Definition (Version 1.9)
%global debug_package %{nil} # published by the Open Source Initiative.
Name: alex # Please submit bugfixes or comments via https://bugs.opensuse.org/
Version: 2.3.1 #
Release: 0
Summary: The lexer generator for Haskell
Group: Development/Languages/Haskell %bcond_without tests
License: BSD3 Name: alex
URL: http://www.haskell.org/alex/ Version: 3.5.1.0
Source: %{name}-%{version}.tar.bz2 Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-root Summary: Alex is a tool for generating lexical analysers in Haskell
Requires: licenses License: BSD-3-Clause
BuildRequires: ghc URL: https://hackage.haskell.org/package/%{name}
BuildRequires: libxslt Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: sgml-skel BuildRequires: ghc-Cabal-devel
BuildRequires: docbook-xsl-stylesheets BuildRequires: ghc-array-devel
BuildRequires: docbook-utils BuildRequires: ghc-array-prof
BuildRequires: fop BuildRequires: ghc-base-devel
%if 0%{?suse_version} >= 1100 BuildRequires: ghc-base-prof
BuildRequires: java-1_6_0-openjdk BuildRequires: ghc-containers-devel
%else BuildRequires: ghc-containers-prof
BuildRequires: java-1_5_0-sun BuildRequires: ghc-directory-devel
BuildRequires: ghc-directory-prof
BuildRequires: ghc-rpm-macros
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-process-devel
BuildRequires: ghc-process-prof
%endif %endif
BuildRequires: licenses
Prefix: /usr
%description %description
Alex is a tool for generating lexical analysers in Haskell, given a Alex is a tool for generating lexical analysers in Haskell. It takes a
description of the tokens to be recognised in the form of regular description of tokens based on regular expressions and generates a Haskell
expressions. It is similar to the tool 'lex' or 'flex' for C/C++. module containing code for scanning text efficiently. It is similar to the tool
lex or flex for C/C++.
%package doc
Summary: Alex Documentation
Group: Development/Languages/Haskell
Requires: %{name} = %{version}
%description doc
Alex is a tool for generating lexical analysers in Haskell, given a
description of the tokens to be recognised in the form of regular
expressions. It is similar to the tool 'lex' or 'flex' for C/C++.
This is the documentation for Alex, a lexical analyser generator for Haskell.
%prep %prep
%setup -q %autosetup
%build %build
%cabal_configure --docdir=%{_docdir}/alex %ghc_bin_build
%cabal build
pushd doc
autoreconf
./configure --prefix=%{_prefix} --libdir=%{_libdir}
make html pdf
popd
%install %install
%cabal_install %ghc_bin_install
mkdir -p %{buildroot}%{_mandir}/man1
sed '
s|/@VERSION@|%{version}|
s|@DOCDIR@|%{_datadir}/doc/%{name}|
s|@DATADIR@|%{_datadir}/alex|
' < doc/alex.1.in | gzip >%{buildroot}%{_mandir}/man1/%{name}.1.gz
mkdir -p %{buildroot}%{_datadir}/doc/%{name}
cp -r doc/%{name} %{buildroot}%{_datadir}/doc/%{name}/html
cp -r doc/%{name}.pdf %{buildroot}%{_datadir}/doc/%{name}
for FILE in LICENSE ; do
MD5SUM=$(md5sum $FILE | sed 's/ .*//')
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
fi
done
%check
%cabal_test
%files %files
%defattr(-,root,root) %license LICENSE
%doc ANNOUNCE LICENSE README TODO examples %doc CHANGELOG.md README.md examples
%doc %{_mandir}/man1/%{name}.1.gz
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/%{name}-%{version} %dir %{_datadir}/%{name}-%{version}
%{_datadir}/%{name}-%{version}/AlexTemplate.hs
%{_datadir}/%{name}-%{version}/AlexWrappers.hs
%files doc
%defattr (-,root, root)
%{_datadir}/doc/%{name}
%changelog %changelog
* Thu Apr 17 2009 Herbert Graeber <herbert@links2linux.de> - 2.3.1
- Add man page
- Save HTML data only, not Makfile, etc.
- Add pdf file of documentation
* Thu Apr 16 2009 Herbert Graeber <herbert@links2linux.de> - 2.3.1
- Fix location of documentation
* Sat Feb 28 2009 Herbert Graeber <herbert@links2linux.de> - 2.3.1
- Changed to haskell packaging conventions
* Wed Dec 4 2008 Herbert Graeber <herbert@links2linux.de> 2.3.1
- Update to version 2.3.1
* Wed Oct 29 2008 Herbert Graeber <herbert@links2linux.de> 2.3
- Update to version 2.3
* Thu Nov 15 2007 Herbert Graeber <herbert@links2linux.de> 2.2.0
- Update to version 2.2.0
* Cabal 1.2 is now required.
* ByteString wrappers: use Alex to lex ByteStrings directly.
- Use shared license file
* Thu Jan 18 2007 Herbert Graeber <herbert@links2linux.de>A 2.1.0
- Update to version 2.1.0
* Wed Sep 06 2006 Herbert Graeber <herbert@links2linux.de>
- Haddock isn't needed for build
* Mon Sep 04 2006 Herbert Graeber <herbert@links2linux.de>
- Use docbook-utils for html documentation
- Require sgml-skel for build
* Tue Aug 29 2006 - Herbert Graeber <herbert@links2linux.de>
- Disabled ps documentation (no fop without java)
* Mon Aug 28 2006 - Herbert Graeber <herbert@links2linux.de>
- Enabled full documentation build
* Mon Aug 28 2006 - Herbert Graeber <herbert@links2linux.de>
- Move to the SUSE Build Service
- Disabled extended documentation for the first build
* Thu Apr 20 2006 - Herbert Graeber <herbert@links2linux.de>
- Rebuild with GHC 6.4.2
* Wed Sep 21 2005 - Herbert Graeber <herbert@links2linux.de>
- Recompiled with ghc 6.4.1
* Wed Apr 20 2005 - Herbert Graeber <herbert@links2linux.de>
- Changes for x86_64
* Thu Apr 07 2005 - Herbert Graeber <herbert@links2linux.de>
- update to version 2.0.1 for ghc 6.4 compatibility