87 Commits

Author SHA256 Message Date
a558efdc41 Accepting request 1231494 from devel:languages:haskell
version update for ghc-9.10.1

OBS-URL: https://build.opensuse.org/request/show/1231494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=31
2024-12-20 22:11:17 +00:00
0f65b7d81a osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-zlib revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=85
2024-12-10 11:25:59 +00:00
ba4f386133 Accepting request 1184206 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1184206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=30
2024-07-02 16:16:30 +00:00
53c0004166 osc copypac from project:devel:languages:haskell:ghc-9.8.x package:ghc-zlib revision:2, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=83
2024-06-24 21:01:04 +00:00
2a3ecf839b Accepting request 1121514 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1121514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=29
2023-11-01 21:10:06 +00:00
c6a999c6a8 osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-zlib revision:10, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=81
2023-10-27 08:29:41 +00:00
00edfd3f1f Accepting request 1104491 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1104491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=28
2023-08-18 17:28:43 +00:00
c6296e04d6 osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-zlib revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=79
2023-08-11 08:05:29 +00:00
2bf035857a Accepting request 1098738 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1098738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=27
2023-07-18 19:53:56 +00:00
66cf89d254 osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-zlib revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=77
2023-07-08 21:01:20 +00:00
3aa372c20c Accepting request 1076147 from devel:languages:haskell
update for ghc-9.4.4

OBS-URL: https://build.opensuse.org/request/show/1076147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=26
2023-04-04 19:25:12 +00:00
6292a7f8ab osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-zlib revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=75
2023-03-30 17:39:01 +00:00
9002bc3a11 osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-zlib revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=74
2023-03-30 08:26:53 +00:00
e76c00ab2f osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:21, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=73
2023-02-03 09:19:03 +00:00
f199031033 osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-zlib revision:2, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=72
2023-02-02 13:42:07 +00:00
5452500406 Accepting request 987119 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/987119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=25
2022-08-01 19:30:59 +00:00
ddb199c2e3 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:21, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=70
2022-06-29 12:18:32 +00:00
68306a4bdb Accepting request 917509 from devel:languages:haskell
automated update of haskell stack

OBS-URL: https://build.opensuse.org/request/show/917509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=24
2021-09-10 21:41:19 +00:00
7e2ad9a17e osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:18, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=69
2021-09-07 15:04:15 +00:00
4bce72647e Accepting request 877690 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/877690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=23
2021-03-10 07:56:02 +00:00
36584e985b osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:17, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=67
2021-03-08 08:01:29 +00:00
613795bb84 Accepting request 857682 from devel:languages:haskell
update haskell stack in openSUS

OBS-URL: https://build.opensuse.org/request/show/857682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=22
2020-12-22 10:49:48 +00:00
a424192de4 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:16, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=65
2020-12-19 18:29:45 +00:00
5ac80c0d10 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:15, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=64
2020-12-19 17:49:40 +00:00
eb01d63d42 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:13, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=63
2020-12-18 12:53:23 +00:00
da7b29ee5b osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:11, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=62
2020-09-04 15:12:03 +00:00
77cd56af7a osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-zlib revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=61
2020-09-04 15:04:33 +00:00
eb06e7032c Accepting request 829515 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/829515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=21
2020-08-28 19:42:03 +00:00
33c12472e6 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:11, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=59
2020-08-19 01:02:37 +00:00
16f8ef07bb Accepting request 824317 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/824317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=20
2020-08-10 12:56:02 +00:00
eb27608796 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:10, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=57
2020-08-04 11:07:03 +00:00
7de71dc43f Accepting request 815228 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/815228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=19
2020-06-19 15:21:58 +00:00
e4679a813a osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=55
2020-06-16 11:29:09 +00:00
cd02718c85 osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=54
2020-06-16 10:57:59 +00:00
0c0ba6d89c Accepting request 801068 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/801068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=18
2020-05-11 11:37:04 +00:00
11ebc8686f osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=52
2020-05-09 01:02:50 +00:00
d323832ded osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-zlib revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=51
2020-05-07 08:45:48 +00:00
fdb70bccd1 osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ghc-zlib revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=50
2020-04-01 17:26:21 +00:00
0c9367bf4d osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-zlib revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=49
2019-12-29 02:04:10 +00:00
46260c8b54 osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ghc-zlib revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=48
2019-12-28 14:42:30 +00:00
87f8b93031 Accepting request 759570 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/759570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=17
2019-12-27 12:59:27 +00:00
97fd5459e2 osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-zlib revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=46
2019-12-24 02:04:30 +00:00
e27bc8a629 osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-zlib revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=45
2019-10-25 01:07:30 +00:00
75991cf49f Accepting request 726820 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/726820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=16
2019-08-29 15:23:51 +00:00
20afabe9b3 osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-zlib revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=43
2019-08-28 18:16:13 +00:00
db33481cfb Accepting request 643497 from devel:languages:haskell
trivial cosmetic change in comments

OBS-URL: https://build.opensuse.org/request/show/643497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=15
2018-10-25 07:07:56 +00:00
e4ae637828 osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-zlib revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=41
2018-10-20 11:48:48 +00:00
bf7c41a5cf osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-zlib revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=40
2018-10-18 09:53:30 +00:00
3bb2ca2c70 Accepting request 623902 from devel:languages:haskell
- Cosmetic: replace tabs with blanks, strip trailing white space,
  and update copyright headers with spec-cleaner.

- update copyright notice (year) in spec file
- more transparent packaging (fewer macros)
- make service localonly for Factory submission
- required by Haskell Platform 2012.4.0.0
- required by Haskell Platform 2012.2.0.0
- Added BuildRoot for sle11-sp1
- Added requires zlib-devel
- Add arches for OBS.
- Initial packaging.

OBS-URL: https://build.opensuse.org/request/show/623902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=14
2018-07-21 08:24:35 +00:00
115e1e60c6 osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-zlib revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=38
2018-07-18 14:41:54 +00:00
24b6b556b7 Accepting request 607960 from devel:languages:haskell
Update ghc-zlib to the latest version.

OBS-URL: https://build.opensuse.org/request/show/607960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=13
2018-05-30 10:16:15 +00:00
fa41f1a907 osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-zlib revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=36
2018-05-15 18:25:02 +00:00
01dadad0e7 osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-zlib revision:2, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=35
2018-05-14 15:21:25 +00:00
064e2c33d7 osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-zlib revision:1, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=34
2018-05-14 13:19:00 +00:00
b670d905e9 osc copypac from project:devel:languages:haskell:lts:11 package:ghc-zlib revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=33
2018-04-26 07:57:42 +00:00
e4295a26d8 osc copypac from project:devel:languages:haskell:lts:11 package:ghc-zlib revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=32
2018-04-13 14:13:07 +00:00
e7bddc6df3 osc copypac from project:devel:languages:haskell:lts:11 package:ghc-zlib revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=31
2018-04-02 15:08:58 +00:00
d01312ada6 osc copypac from project:devel:languages:haskell:lts:10 package:ghc-zlib revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=30
2018-03-13 02:20:24 +00:00
7a1e8e1449 Accepting request 525762 from devel:languages:haskell
re-format spec file with latest spec-cleaner and cabal2obs

OBS-URL: https://build.opensuse.org/request/show/525762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=12
2017-09-15 20:28:39 +00:00
a74bbd39ba osc copypac from project:devel:languages:haskell:lts:9 package:ghc-zlib revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=28
2017-08-17 14:21:01 +00:00
6a477631fd osc copypac from project:devel:languages:haskell:lts:9 package:ghc-zlib revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=27
2017-08-15 14:09:30 +00:00
d257d14f6f osc copypac from project:devel:languages:haskell:lts:9 package:ghc-zlib revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=26
2017-08-11 09:11:02 +00:00
27ed149241 osc copypac from project:devel:languages:haskell:lts:9 package:ghc-zlib revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=25
2017-08-05 02:19:12 +00:00
e081139229 synchronize with lts-8 package sett from configuration 0cb270c8d22a0823ab5130d95cc499e186cf864e
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=24
2017-02-22 19:28:45 +00:00
dd353775b7 Accepting request 438564 from devel:languages:haskell
- Update to version 0.6.1.2 with cabal2obs.

OBS-URL: https://build.opensuse.org/request/show/438564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=11
2016-11-05 20:27:22 +00:00
96bba67ebf opensuse haskell configuration 57299b7b95fb22a225c59ac23c5daf22590d6547
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=22
2016-10-31 14:35:44 +00:00
9a49573a21 Use pristine copy of edited Cabal file from upstream.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=21
2016-10-05 18:59:15 +00:00
7fba46c827 Accepting request 432841 from devel:languages:haskell:lts:7
version / revision update

OBS-URL: https://build.opensuse.org/request/show/432841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=20
2016-10-03 08:27:56 +00:00
db3a0b00a1 Accepting request 411790 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/411790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=10
2016-07-20 07:22:47 +00:00
10e5dfcd21 Accepting request 411088 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/411088
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=18
2016-07-18 12:28:34 +00:00
45aeb41577 Accepting request 352163 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/352163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=9
2016-01-06 23:24:52 +00:00
0bd83cf4c6 Accepting request 352160 from devel:languages:haskell:lts
- update to 0.6.1.1
- regenerated spec file with cabal-rpm
* Support for concatenated gzip files (multiple back-to-back streams)
* Fixed warnings with new GHC
* Fixed testsuite
* New incremental interface for compression and decompression
* Provide access to unconsumed trailing data
* Simplified structured error type, and instance of Exception
* Fixed memory leak of zlib z_stream C structure
* More derivied instances (Eq, Show, Typeable, Generic)

OBS-URL: https://build.opensuse.org/request/show/352160
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=16
2016-01-06 09:15:41 +00:00
Stephan Kulow
dd6d9de286 Accepting request 306436 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/306436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=8
2015-05-13 05:12:44 +00:00
Peter Trommler
f278bbbe52 Accepting request 304654 from devel:languages:haskell:lts
- update to 0.5.4.2
* no upstreqm changelog

OBS-URL: https://build.opensuse.org/request/show/304654
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=14
2015-05-04 18:14:40 +00:00
6938ce39d4 Accepting request 260177 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/260177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=7
2014-11-26 19:55:13 +00:00
Peter Trommler
95e8ab9cd9 Accepting request 259864 from devel:languages:haskell:platform
Haskell Platform 2014.2.0.0 update

OBS-URL: https://build.opensuse.org/request/show/259864
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=12
2014-11-06 19:35:07 +00:00
Stephan Kulow
1b63c44505 Accepting request 246021 from devel:languages:haskell
enable PowerPC builds

OBS-URL: https://build.opensuse.org/request/show/246021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=5
2014-08-25 09:04:55 +00:00
Peter Trommler
a89f4a36c8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=11 2014-08-23 00:31:30 +00:00
Peter Trommler
ea9d29a329 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=10 2014-08-21 18:47:08 +00:00
Stephan Kulow
95e3ab4648 Accepting request 185377 from devel:languages:haskell
Update to Haskell Platform 2013.2.0.0 (forwarded request 185279 from ptrommler)

OBS-URL: https://build.opensuse.org/request/show/185377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=3
2013-08-01 13:35:10 +00:00
Peter Trommler
d31e2382f9 Accepting request 185279 from devel:languages:haskell:platform
Update to Haskell Platform 2013.2.0.0

OBS-URL: https://build.opensuse.org/request/show/185279
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=8
2013-08-01 08:06:53 +00:00
Ismail Dönmez
f0903dd6ec Accepting request 146477 from devel:languages:haskell
Fixed license tag

OBS-URL: https://build.opensuse.org/request/show/146477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=1
2013-01-01 11:00:30 +00:00
Peter Trommler
9f278610a2 - fix license tag (intentionally empty 3rd clause)
- expand macro in name tag (help factory-auto)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=6
2012-12-27 11:30:55 +00:00
Peter Trommler
82e03da3de Accepting request 141671 from home:ptrommler:haskell-platform
HP 2012.4

OBS-URL: https://build.opensuse.org/request/show/141671
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=5
2012-11-17 16:25:02 +00:00
Peter Trommler
56857083be Accepting request 123931 from home:ptrommler:haskell-platform
Haskell Platform 2012.2.0.0 update

OBS-URL: https://build.opensuse.org/request/show/123931
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=4
2012-06-06 18:04:17 +00:00
Peter Trommler
ba866bf49f Accepting request 107433 from home:ptrommler:devel:languages:haskell:platform-2011.4
Fix BuildRoot for SLE-11-SP1.
SPDX license tag

OBS-URL: https://build.opensuse.org/request/show/107433
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=3
2012-02-28 15:26:18 +00:00
Peter Trommler
5ede54fefd Accepting request 99840 from home:ptrommler:devel:languages:haskell:platform-2011.4
Haskell Platform 2011.4

OBS-URL: https://build.opensuse.org/request/show/99840
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=2
2012-01-12 15:33:07 +00:00
6 changed files with 448 additions and 135 deletions

232
ghc-zlib.changes Normal file
View File

@@ -0,0 +1,232 @@
-------------------------------------------------------------------
Sun Nov 24 20:39:41 UTC 2024 - Peter Simons <psimons@suse.com>
- Update zlib to version 0.7.1.0 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Wed Jun 26 20:42:43 UTC 2024 - Peter Simons <psimons@suse.com>
- Update zlib to version 0.7.1.0 revision 1.
Upstream has renamed and modified the change log file(s) in this
release. Unfortunately, the automatic updater cannot reliable
determine relevant entries for this release.
-------------------------------------------------------------------
Sun Jun 23 13:09:06 UTC 2024 - Peter Simons <psimons@suse.com>
- Update zlib to version 0.6.3.0 revision 5.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Oct 24 08:59:49 UTC 2023 - Peter Simons <psimons@suse.com>
- Update zlib to version 0.6.3.0 revision 4.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Aug 10 19:26:25 UTC 2023 - Peter Simons <psimons@suse.com>
- Update zlib to version 0.6.3.0 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Fri Jul 7 18:00:43 UTC 2023 - Peter Simons <psimons@suse.com>
- Update zlib to version 0.6.3.0 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Mar 30 17:09:14 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Wed Feb 1 00:15:21 UTC 2023 - Peter Simons <psimons@suse.com>
- Update zlib to version 0.6.3.0 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Wed May 4 00:39:44 UTC 2022 - Peter Simons <psimons@suse.com>
- Update zlib to version 0.6.3.0.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/zlib-0.6.3.0/src/changelog
-------------------------------------------------------------------
Tue Sep 7 08:16:24 UTC 2021 - psimons@suse.com
- Update zlib to version 0.6.2.3 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Feb 23 10:03:49 UTC 2021 - psimons@suse.com
- Update zlib to version 0.6.2.3.
0.6.2.3 Emily Pillmore <emilypi@cohomolo.gy> February 2021
* Add support for bytestring-0.11.0.0
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Tue Aug 18 10:46:49 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Aug 4 09:04:41 UTC 2020 - psimons@suse.com
- Update zlib to version 0.6.2.2.
0.6.2.2 Julian Ospald <hasufell@posteo.de> August 2020
* Bump bundled zlib to 1.2.11, fixes #26
* New build flag to force use of the bundled zlib C sources, #31
* Simpler build support for ghcjs, #25
* Add support for GHC 8.10 / base-4.14, #29
-------------------------------------------------------------------
Tue Jun 16 11:14:55 UTC 2020 - Peter Simons <psimons@suse.com>
- Re-generate file with latest version of spec-cleaner.
-------------------------------------------------------------------
Thu May 7 08:08:29 UTC 2020 - Peter Simons <psimons@suse.com>
- Update Cabal file to get more accurate dependency information.
-------------------------------------------------------------------
Fri Nov 8 16:15:18 UTC 2019 - Peter Simons <psimons@suse.com>
- Drop obsolete group attributes.
-------------------------------------------------------------------
Tue Aug 27 02:01:52 UTC 2019 - psimons@suse.com
- Update zlib to version 0.6.2.1.
See also http://pvp.haskell.org/faq
0.6.2.1 Herbert Valerio Riedel <hvr@gnu.org> August 2019
* Add support for GHC 8.8 / base-4.13
-------------------------------------------------------------------
Sat Oct 20 11:32:17 UTC 2018 - Peter Simons <psimons@suse.com>
- Use https URL to refer to bugs.opensuse.org.
-------------------------------------------------------------------
Wed Jul 18 14:26:49 UTC 2018 - psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
-------------------------------------------------------------------
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
- Update zlib to version 0.6.2.
* New cabal flag 'pkg-config' for discovering 'zlib` via pkg-config(1) (#16)
* Use CApiFFI where available for cross-compile friendliness (#14)
* Change the window bits range from 8..15 to 9..15 (#11)
-------------------------------------------------------------------
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
-------------------------------------------------------------------
Sun Oct 30 16:26:14 UTC 2016 - psimons@suse.com
- Update to version 0.6.1.2 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 17:32:48 UTC 2016 - psimons@suse.com
- Update to version 0.6.1.1 revision 3 with cabal2obs.
-------------------------------------------------------------------
Wed Dec 30 11:25:25 UTC 2015 - mimi.vx@gmail.com
- update to 0.6.1.1
- regenerated spec file with cabal-rpm
* Support for concatenated gzip files (multiple back-to-back streams)
* Fixed warnings with new GHC
* Fixed testsuite
* New incremental interface for compression and decompression
* Provide access to unconsumed trailing data
* Simplified structured error type, and instance of Exception
* Fixed memory leak of zlib z_stream C structure
* More derivied instances (Eq, Show, Typeable, Generic)
-------------------------------------------------------------------
Sat Apr 11 09:09:18 UTC 2015 - mimi.vx@gmail.com
- update to 0.5.4.2
* no upstreqm changelog
-------------------------------------------------------------------
Fri Sep 12 06:54:28 UTC 2014 - peter.trommler@ohm-hochschule.de
- update copyright notice (year) in spec file
-------------------------------------------------------------------
Sat Aug 23 00:31:27 UTC 2014 - peter.trommler@ohm-hochschule.de
- enable PowerPC builds
-------------------------------------------------------------------
Mon May 6 10:45:21 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 0.5.4.1
* no changelog
- part of Haskell Platform 2013.2 update
- more transparent packaging (fewer macros)
-------------------------------------------------------------------
Thu Dec 27 12:28:22 UTC 2012 - peter.trommler@ohm-hochschule.de
- fix license tag (intentionally empty 3rd clause)
- expand macro in name tag (help factory-auto)
-------------------------------------------------------------------
Sat Nov 17 14:58:26 UTC 2012 - peter.trommler@ohm-hochschule.de
- make service localonly for Factory submission
-------------------------------------------------------------------
Tue Oct 2 11:21:27 UTC 2012 - peter.trommler@ohm-hochschule.de
- update to 0.5.4.0 from upstream (no changelog)
- required by Haskell Platform 2012.4.0.0
-------------------------------------------------------------------
Mon Jun 4 06:51:40 UTC 2012 - peter.trommler@ohm-hochschule.de
- update to 0.5.3.3 from upstream (no changelog)
- required by Haskell Platform 2012.2.0.0
-------------------------------------------------------------------
Thu Feb 23 13:42:43 UTC 2012 - peter.trommler@ohm-hochschule.de
- Added BuildRoot for sle11-sp1
-------------------------------------------------------------------
Thu Dec 15 09:33:05 UTC 2011 - peter.trommler@ohm-hochschule.de
- Added requires zlib-devel
-------------------------------------------------------------------
Thu Dec 15 09:08:25 UTC 2011 - peter.trommler@ohm-hochschule.de
- Add arches for OBS.
-------------------------------------------------------------------
Thu Dec 15 09:06:35 UTC 2011 - peter.trommler@ohm-hochschule.de
- Initial packaging.

View File

@@ -1,163 +1,116 @@
%define pkg_name zlib
%define ghc_version %(ghc --numeric-version)
#
# spec file for package ghc-zlib
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# 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
# 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
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
%define pkg_libdir %{_libdir}/ghc-%{ghc_version}/%{pkg_name}-%{version}
%define pkg_docdir %{_datadir}/doc/ghc/libraries/%{pkg_name}-%{version}
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# ghc does not emit debug information
%define debug_package %{nil}
%global pkg_name zlib
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.5.2.0
Version: 0.7.1.0
Release: 0
Summary: Compression and decompression in the gzip and zlib formats
Group: Development/Libraries
License: BSD3
URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ghc, ghc-doc, ghc-prof
BuildRequires: zlib-devel
BuildRequires: licenses
License: BSD-2-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-rpm-macros
BuildRequires: pkgconfig
BuildRequires: pkgconfig(zlib)
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-prof
BuildRequires: ghc-tasty-quickcheck-devel
BuildRequires: ghc-tasty-quickcheck-prof
%endif
%description
This package provides a pure interface for compressing and decompressing streams
of data represented as lazy ByteStrings. It uses the zlib C library so it has
high performance. It supports the "zlib", "gzip" and "raw" compression formats.
This package provides a pure interface for compressing and decompressing
streams of data represented as lazy 'ByteString's. It uses the
<https://en.wikipedia.org/wiki/Zlib zlib C library> so it has high performance.
It supports the "zlib", "gzip" and "raw" compression formats.
It provides a convenient high level API suitable for most tasks and for the few
cases where more control is needed it provides access to the full zlib feature
set.
This package provides the Haskell %{pkg_name} library for ghc.
%package devel
Summary: Haskell %{pkg_name} library
Group: Development/Libraries
Requires: ghc = %{ghc_version}
Requires(post): ghc = %{ghc_version}
Requires(preun): ghc = %{ghc_version}
Requires: ghc-bytestring-devel
Requires: zlib-devel
Requires: licenses
Summary: Haskell %{pkg_name} library development files
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires: pkgconfig
Requires: pkgconfig(zlib)
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%description devel
This package provides a pure interface for compressing and decompressing streams
of data represented as lazy ByteStrings. It uses the zlib C library so it has
high performance. It supports the "zlib", "gzip" and "raw" compression formats.
This package provides the Haskell %{pkg_name} library development files.
It provides a convenient high level API suitable for most tasks and for the few
cases where more control is needed it provides access to the full zlib feature
set.
%package -n ghc-%{pkg_name}-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
This package contains the development files for %{name}
built for ghc-%{ghc_version}.
%description -n ghc-%{pkg_name}-doc
This package provides the Haskell %{pkg_name} library documentation.
%package -n ghc-%{pkg_name}-prof
Summary: Haskell %{pkg_name} profiling library
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
%package doc
Summary: Documentation for %{name}
Group: Development/Libraries
Requires: ghc-doc = %{ghc_version}
Requires(post): ghc-doc = %{ghc_version}
Requires(postun): ghc-doc = %{ghc_version}
Requires: ghc-bytestring-doc
%description doc
This package provides a pure interface for compressing and decompressing streams
of data represented as lazy ByteStrings. It uses the zlib C library so it has
high performance. It supports the "zlib", "gzip" and "raw" compression formats.
It provides a convenient high level API suitable for most tasks and for the few
cases where more control is needed it provides access to the full zlib feature
set.
This package contains development documentation files for the %{name} library.
%package prof
Summary: Profiling libraries for %{name}
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
Requires: ghc-prof = %{ghc_version}
Requires: ghc-bytestring-prof
Requires: zlib-devel
%description prof
This package provides a pure interface for compressing and decompressing streams
of data represented as lazy ByteStrings. It uses the zlib C library so it has
high performance. It supports the "zlib", "gzip" and "raw" compression formats.
It provides a convenient high level API suitable for most tasks and for the few
cases where more control is needed it provides access to the full zlib feature
set.
This package contains profiling libraries for %{name}.
%description -n ghc-%{pkg_name}-prof
This package provides the Haskell %{pkg_name} profiling library.
%prep
%setup -q -n %{pkg_name}-%{version}
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%cabal_configure --ghc %{!?without_prof:-p}
%cabal build
%cabal haddock
%ghc_gen_scripts
%ghc_lib_build
%install
%cabal_install
%ghc_install_scripts
%ghc_gen_filelists %{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
%ghc_lib_install
%check
%cabal_test
%post devel
%ghc_register_pkg
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%post doc
%ghc_reindex_haddock
%preun devel
if [ "$1" -eq 0 ] ; then
%ghc_unregister_pkg
fi
%postun doc
if [ "$1" -eq 0 ] ; then
%ghc_reindex_haddock
fi
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}
%doc README.md changelog.md examples
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE
%files doc
%defattr(-,root,root,-)
%{pkg_docdir}
%files prof -f %{name}-prof.files
%defattr(-,root,root,-)
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
%changelog
* Sun Aug 2 2009 Herbert Graeber <herbert@graeber-clan.de> - 0.5.2.0
- Require zlib-devel
* Sat Aug 1 2009 Herbert Graeber <herbert@graeber-clan.de> - 0.5.2.0
- Require ghc-bytestring instead of ghc-binary
* Fri Jul 31 2009 Herbert Graeber <herbert@graeber-clan.de> - 0.5.2.0
- Initial Package

View File

@@ -1,6 +0,0 @@
addFilter("devel-dependency gmp-devel")
addFilter("devel-file-in-non-devel-package")
addFilter("static-library-without-debuginfo")
addFilter("useless-explicit-requires ghc")
addFilter("useless-explicit-requires ghc-doc")
addFilter("devel-dependency ghc-zlib-devel")

View File

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

3
zlib-0.7.1.0.tar.gz Normal file
View File

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

134
zlib.cabal Normal file
View File

@@ -0,0 +1,134 @@
cabal-version: >= 1.10
name: zlib
version: 0.7.1.0
x-revision: 2
copyright: (c) 2006-2016 Duncan Coutts
license: BSD3
license-file: LICENSE
author: Duncan Coutts <duncan@community.haskell.org>
maintainer: Duncan Coutts <duncan@community.haskell.org>, Andrew Lelechenko <andrew.lelechenko@gmail.com>, Emily Pillmore <emilypi@cohomolo.gy>, Herbert Valerio Riedel <hvr@gnu.org>
bug-reports: https://github.com/haskell/zlib/issues
category: Codec
synopsis: Compression and decompression in the gzip and zlib formats
description: This package provides a pure interface for compressing and
decompressing streams of data represented as lazy
'ByteString's. It uses the
<https://en.wikipedia.org/wiki/Zlib zlib C library>
so it has high performance. It supports the \"zlib\",
\"gzip\" and \"raw\" compression formats.
.
It provides a convenient high level API suitable for most
tasks and for the few cases where more control is needed it
provides access to the full zlib feature set.
build-type: Simple
tested-with: GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.8
, GHC == 9.6.5
, GHC == 9.8.2
, GHC == 9.10.1
extra-source-files: changelog.md
README.md
-- extra headers
cbits-extra/hs-zlib.h
-- test data files
test/data/bad-crc.gz test/data/custom-dict.zlib
test/data/custom-dict.zlib-dict test/data/hello.gz
test/data/not-gzip test/data/two-files.gz
-- demo programs:
examples/gzip.hs examples/gunzip.hs
source-repository head
type: git
location: https://github.com/haskell/zlib.git
flag non-blocking-ffi
default: True
manual: True
description: The (de)compression calls can sometimes take a long time, which
prevents other Haskell threads running. Enabling this flag
avoids this unfairness, but with greater overall cost.
flag pkg-config
default: True
manual: False
description: Use @pkg-config@ executable to locate foreign @zlib@ library.
flag bundled-c-zlib
default: False
manual: True
description: Use @zlib-clib@ package with C sources instead of a system library.
C sources are used for GHCJS and WASM unconditionally
and on Windows unless @pkg-config@ flag is on.
library
exposed-modules: Codec.Compression.GZip,
Codec.Compression.Zlib,
Codec.Compression.Zlib.Raw,
Codec.Compression.Zlib.Internal
other-modules: Codec.Compression.Zlib.Stream,
Codec.Compression.Zlib.ByteStringCompat
default-language: Haskell2010
other-extensions: CPP, ForeignFunctionInterface, RankNTypes, BangPatterns,
DeriveDataTypeable
other-extensions: DeriveGeneric
other-extensions: CApiFFI
build-depends: base >= 4.9 && < 4.22,
bytestring >= 0.9 && < 0.13
build-tools: hsc2hs >= 0.67 && < 0.69
if os(windows) && impl(ghc < 8.4)
build-tools: hsc2hs < 0.68.5
-- GHC 7 ships hsc2hs-0.67
-- use `includes:` to include them when compiling
includes: zlib.h hs-zlib.h
include-dirs: cbits-extra
c-sources: cbits-extra/hs-zlib.c
ghc-options: -Wall -fwarn-tabs
if flag(non-blocking-ffi)
cpp-options: -DNON_BLOCKING_FFI
-- Cross-platform builds (such as JS and WASM) must have access
-- to C sources, so using zlib-clib unconditionally.
--
-- On Windows, zlib is shipped as part of GHC's mingw/lib directory,
-- which GHC always includes in its linker search path. However,
-- there is no guarantee that zlib1.dll (the corresponding shared library)
-- will be available on the user's PATH at runtime, making it risky to depend upon
-- (see https://github.com/haskell/zlib/issues/65 for what can go wrong).
-- Thus, we resort to zlib-clib unless pkg-config is available.
if flag(bundled-c-zlib) || impl(ghcjs) || os(ghcjs) || arch(wasm32) || (!flag(pkg-config) && os(windows))
build-depends: zlib-clib < 2
else
if flag(pkg-config)
-- NB: pkg-config is available on windows as well when using msys2
pkgconfig-depends: zlib
else
extra-libraries: z
test-suite tests
type: exitcode-stdio-1.0
main-is: Test.hs
other-modules: Utils,
Test.Codec.Compression.Zlib.Internal,
Test.Codec.Compression.Zlib.Stream
hs-source-dirs: test
default-language: Haskell2010
build-depends: base, bytestring, zlib,
QuickCheck == 2.*,
tasty >= 0.8 && < 1.6,
tasty-quickcheck >= 0.8 && < 1
ghc-options: -Wall