Accepting request 283646 from home:pluskalm:branches:devel:languages:haskell

- Update to 0.2.3.7:

OBS-URL: https://build.opensuse.org/request/show/283646
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zip-archive?expand=0&rev=11
This commit is contained in:
Peter Trommler 2015-02-01 18:05:49 +00:00 committed by Git OBS Bridge
parent 5ab589092f
commit 90dd5a503c
4 changed files with 41 additions and 5 deletions

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Sun Feb 1 08:54:40 UTC 2015 - mpluskal@suse.com
- Update to 0.2.3.7:
* Declared test suite's dependency on 'zip' using custom Setup.lhs (#21,#22).
* Removed hard-coded path to zip in test suite (#21).
* Removed misplaced build-depends in cabal file.
* Allow compilation with binary >= 0.5. Note that toArchiveOrFail
is not safe when compiled against binary < 0.7; it will never
return a Left value, and will raise an error if parsing fails,
just like toArchive. This is documented in the haddocks.
This is ugly, but justified by the need to have a version
of zip-archive that compiles against older versions of binary.
* Make sure all path comparisons compare normalized paths.
So, findEntryByPath "foo" will find something stored as "./foo"
in the zip container.
* Better normalization of file paths: "./foo/bar" and "foo/./bar"
are now treated the same, for example. Note that we do not
yet treat "foo/../bar" and "bar" as the same.
* Removed lower bound on directory (>= 1.2), which caused build
failures with GHC 7.4 and 7.6.
* Added travis script for automatic testing on 3 GHC versions.
* Require binary >= 0.7 and directory >= 1.2. The newer binary
is needed to provide toArchiveOrFail. The other change is
mainly for convenience, to avoid lots of ugly conditional
compilation.
* Export new function `toArchiveOrFail`. Closes #17.
* Set general purpose bit flag to use UTF8 in local file header.
Otherwise we get a mismatch between the flag in the central
directory and the flag in the local file header, which causes some
programs not to be able to extract the files. Closes #19.
* Fix a stack overflow in getWordsTillSig (Tristan Ravitch).
recognize UTF-8 encoded file names (Tobias Brandt).
* Added OptLocation, to specify the path to which a file
is to be added when readEntry is used (Stephen McIntosh).
-------------------------------------------------------------------
Thu Mar 13 21:40:00 UTC 2014 - sbahling@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-zip-archive
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%global pkg_name zip-archive
Name: ghc-zip-archive
Version: 0.2
Version: 0.2.3.7
Release: 0
Summary: Library for creating and modifying zip archives
License: BSD-3-Clause

View File

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

View File

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