update to 0.4.1

This commit is contained in:
Jens Petersen 2019-07-25 17:07:26 +00:00
parent f516eea2d6
commit 1d83e4fbb9
4 changed files with 57 additions and 14 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/zip-archive-0.3.0.5.tar.gz
/zip-archive-0.3.1.1.tar.gz
/zip-archive-0.3.3.tar.gz
/zip-archive-0.4.1.tar.gz

View File

@ -9,8 +9,8 @@
%endif
Name: ghc-%{pkg_name}
Version: 0.3.3
Release: 4%{?dist}
Version: 0.4.1
Release: 1%{?dist}
Summary: Library for creating and modifying zip archives
License: BSD
@ -52,7 +52,25 @@ BuildRequires: ghc-temporary-devel
%description
The zip-archive library provides functions for creating, modifying, and
extracting files from zip archives.
extracting files from zip archives. The zip archive format is documented in
<http://www.pkware.com/documents/casestudies/APPNOTE.TXT>.
Certain simplifying assumptions are made about the zip archives: in particular,
there is no support for strong encryption, zip files that span multiple disks,
ZIP64, OS-specific file attributes, or compression methods other than Deflate.
However, the library should be able to read the most common zip archives, and
the archives it produces should be readable by all standard unzip programs.
Archives are built and extracted in memory, so manipulating large zip files
will consume a lot of memory. If you work with large zip files or need features
not supported by this library, a better choice may be
<http://hackage.haskell.org/package/zip zip>, which uses a memory-efficient
streaming approach. However, zip can only read and write archives inside
instances of MonadIO, so zip-archive is a better choice if you want to
manipulate zip archives in "pure" contexts.
As an example of the use of the library, a standalone zip archiver and
extracter is provided in the source distribution.
%package devel
@ -130,6 +148,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.4.1-1
- update to 0.4.1
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (zip-archive-0.3.3.tar.gz) = f799c5e324ea40313c312649f5c2b2e96128fc70b52f86a51fa9475354488d8c3b85220b297bc557728a1c0dd5c0827ead8b4613aef16edae7071bbf250ad25d
SHA512 (zip-archive-0.4.1.tar.gz) = 216555bd73a46da5061291c2c071e9c71239bd5ae253ac06ee80ade65bb1871366cc8e4dffbad983c5b6a7f4b0cb2a1439dfa5971db3e183124fa90442a73f0c

View File

@ -1,13 +1,34 @@
Name: zip-archive
Version: 0.3.3
Version: 0.4.1
x-revision: 1
Cabal-Version: >= 1.10
Build-type: Custom
Cabal-Version: 2.0
Build-type: Simple
Synopsis: Library for creating and modifying zip archives.
Description: The zip-archive library provides functions for creating, modifying,
and extracting files from zip archives.
Description:
The zip-archive library provides functions for creating, modifying, and
extracting files from zip archives. The zip archive format is
documented in <http://www.pkware.com/documents/casestudies/APPNOTE.TXT>.
.
Certain simplifying assumptions are made about the zip archives: in
particular, there is no support for strong encryption, zip files that
span multiple disks, ZIP64, OS-specific file attributes, or compression
methods other than Deflate. However, the library should be able to read
the most common zip archives, and the archives it produces should be
readable by all standard unzip programs.
.
Archives are built and extracted in memory, so manipulating large zip
files will consume a lot of memory. If you work with large zip files or
need features not supported by this library, a better choice may be
<http://hackage.haskell.org/package/zip zip>, which uses a
memory-efficient streaming approach. However, zip can only read and
write archives inside instances of MonadIO, so zip-archive is a better
choice if you want to manipulate zip archives in "pure" contexts.
.
As an example of the use of the library, a standalone zip archiver and
extracter is provided in the source distribution.
Category: Codec
Tested-with: GHC == 7.8.2, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2
Tested-with: GHC == 7.8.2, GHC == 7.10.3, GHC == 8.0.2,
GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1
License: BSD3
License-file: LICENSE
Homepage: http://github.com/jgm/zip-archive
@ -20,6 +41,8 @@ Extra-Source-Files: changelog
tests/test4/b.bin
"tests/test4/c/with spaces.txt"
tests/zip_with_symlinks.zip
tests/zip_with_password.zip
tests/zip_with_evil_path.zip
Source-repository head
type: git
@ -52,9 +75,6 @@ Library
else
Build-depends: unix
custom-setup
setup-depends: base, Cabal
Executable zip-archive
if flag(executable)
Buildable: True
@ -67,6 +87,7 @@ Executable zip-archive
bytestring >= 0.9.0,
zip-archive
Other-Modules: Paths_zip_archive
Autogen-Modules: Paths_zip_archive
Ghc-Options: -Wall
Default-Language: Haskell98
@ -82,5 +103,5 @@ Test-Suite test-zip-archive
if os(windows)
cpp-options: -D_WINDOWS
else
Build-tools: unzip
Build-depends: unix
build-tools: unzip