Accepting request 726818 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/726818 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-tar?expand=0&rev=10
This commit is contained in:
commit
1e8cfa297f
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 27 02:02:08 UTC 2019 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update tar to version 0.5.1.1.
|
||||||
|
See also http://pvp.haskell.org/faq
|
||||||
|
|
||||||
|
0.5.1.1 Herbert Valerio Riedel <hvr@gnu.org> March 2018
|
||||||
|
|
||||||
|
* Add support for GHC 8.8.1 / base-4.13
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 19 13:14:47 UTC 2018 - Peter Simons <psimons@suse.com>
|
Fri Oct 19 13:14:47 UTC 2018 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-tar
|
# spec file for package ghc-tar
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,14 +19,13 @@
|
|||||||
%global pkg_name tar
|
%global pkg_name tar
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.5.1.0
|
Version: 0.5.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Reading, writing and manipulating ".tar" archive files
|
Summary: Reading, writing and manipulating ".tar" archive files
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Haskell
|
Group: Development/Libraries/Haskell
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-array-devel
|
BuildRequires: ghc-array-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
@ -67,7 +66,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c89d697b6472b739db50e61201251fcaf8a8f5b595b1d9a488d395d7d5ce4b68
|
|
||||||
size 39271
|
|
3
tar-0.5.1.1.tar.gz
Normal file
3
tar-0.5.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b384449f62b2b0aa3e6d2cb1004b8060b01f21ec93e7b63e7af6d8fad8a9f1de
|
||||||
|
size 39155
|
167
tar.cabal
167
tar.cabal
@ -1,167 +0,0 @@
|
|||||||
name: tar
|
|
||||||
version: 0.5.1.0
|
|
||||||
x-revision: 1
|
|
||||||
license: BSD3
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Duncan Coutts <duncan@community.haskell.org>
|
|
||||||
Bjorn Bringert <bjorn@bringert.net>
|
|
||||||
maintainer: Duncan Coutts <duncan@community.haskell.org>
|
|
||||||
bug-reports: https://github.com/haskell/tar/issues
|
|
||||||
copyright: 2007 Bjorn Bringert <bjorn@bringert.net>
|
|
||||||
2008-2016 Duncan Coutts <duncan@community.haskell.org>
|
|
||||||
category: Codec
|
|
||||||
synopsis: Reading, writing and manipulating ".tar" archive files.
|
|
||||||
description: This library is for working with \"@.tar@\" archive files. It
|
|
||||||
can read and write a range of common variations of archive
|
|
||||||
format including V7, POSIX USTAR and GNU formats.
|
|
||||||
.
|
|
||||||
It provides support for packing and unpacking portable
|
|
||||||
archives. This makes it suitable for distribution but not
|
|
||||||
backup because details like file ownership and exact
|
|
||||||
permissions are not preserved.
|
|
||||||
.
|
|
||||||
It also provides features for random access to archive
|
|
||||||
content using an index.
|
|
||||||
build-type: Simple
|
|
||||||
cabal-version: >=1.8
|
|
||||||
extra-source-files: changelog.md
|
|
||||||
tested-with: GHC==7.0.4, GHC==7.2.2, GHC==7.4.2, GHC==7.6.3,
|
|
||||||
GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/haskell/tar.git
|
|
||||||
|
|
||||||
flag old-time
|
|
||||||
default: False
|
|
||||||
|
|
||||||
flag old-bytestring
|
|
||||||
default: False
|
|
||||||
|
|
||||||
library
|
|
||||||
build-depends: base == 4.*,
|
|
||||||
filepath < 1.5,
|
|
||||||
array < 0.6,
|
|
||||||
containers >= 0.2 && < 0.7,
|
|
||||||
deepseq >= 1.1 && < 1.5
|
|
||||||
|
|
||||||
if flag(old-time)
|
|
||||||
build-depends: directory < 1.2, old-time < 1.2
|
|
||||||
else
|
|
||||||
build-depends: directory >= 1.2 && < 1.4, time < 1.9
|
|
||||||
|
|
||||||
if flag(old-bytestring)
|
|
||||||
build-depends: bytestring-builder >= 0.10.4.0.2 && < 0.11, bytestring == 0.9.*
|
|
||||||
else
|
|
||||||
build-depends: bytestring == 0.10.*
|
|
||||||
|
|
||||||
if !impl(ghc >= 8.0)
|
|
||||||
build-depends: semigroups == 0.18.*
|
|
||||||
|
|
||||||
exposed-modules:
|
|
||||||
Codec.Archive.Tar
|
|
||||||
Codec.Archive.Tar.Entry
|
|
||||||
Codec.Archive.Tar.Check
|
|
||||||
Codec.Archive.Tar.Index
|
|
||||||
|
|
||||||
other-modules:
|
|
||||||
Codec.Archive.Tar.Types
|
|
||||||
Codec.Archive.Tar.Read
|
|
||||||
Codec.Archive.Tar.Write
|
|
||||||
Codec.Archive.Tar.Pack
|
|
||||||
Codec.Archive.Tar.Unpack
|
|
||||||
Codec.Archive.Tar.Index.StringTable
|
|
||||||
Codec.Archive.Tar.Index.IntTrie
|
|
||||||
|
|
||||||
other-extensions:
|
|
||||||
BangPatterns
|
|
||||||
CPP
|
|
||||||
DeriveDataTypeable
|
|
||||||
GeneralizedNewtypeDeriving
|
|
||||||
PatternGuards
|
|
||||||
ScopedTypeVariables
|
|
||||||
|
|
||||||
ghc-options: -Wall -fno-warn-unused-imports
|
|
||||||
|
|
||||||
test-suite properties
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
build-depends: base,
|
|
||||||
filepath,
|
|
||||||
array,
|
|
||||||
containers,
|
|
||||||
deepseq,
|
|
||||||
bytestring-handle,
|
|
||||||
QuickCheck == 2.*,
|
|
||||||
tasty >= 0.10 && <0.12,
|
|
||||||
tasty-quickcheck == 0.8.*
|
|
||||||
|
|
||||||
if flag(old-time)
|
|
||||||
build-depends: directory < 1.2, old-time
|
|
||||||
else
|
|
||||||
build-depends: directory >= 1.2, time
|
|
||||||
|
|
||||||
if flag(old-bytestring)
|
|
||||||
build-depends: bytestring-builder, bytestring >= 0.9 && <0.10
|
|
||||||
else
|
|
||||||
build-depends: bytestring >= 0.10
|
|
||||||
|
|
||||||
if !impl(ghc >= 8.0)
|
|
||||||
build-depends: semigroups == 0.18.*
|
|
||||||
|
|
||||||
hs-source-dirs: . test
|
|
||||||
|
|
||||||
main-is: test/Properties.hs
|
|
||||||
cpp-options: -DTESTS
|
|
||||||
|
|
||||||
other-modules:
|
|
||||||
Codec.Archive.Tar.Index
|
|
||||||
Codec.Archive.Tar.Index.StringTable
|
|
||||||
Codec.Archive.Tar.Index.IntTrie
|
|
||||||
|
|
||||||
-- shared w/ lib:tar component
|
|
||||||
other-modules:
|
|
||||||
Codec.Archive.Tar
|
|
||||||
Codec.Archive.Tar.Check
|
|
||||||
Codec.Archive.Tar.Pack
|
|
||||||
Codec.Archive.Tar.Read
|
|
||||||
Codec.Archive.Tar.Types
|
|
||||||
Codec.Archive.Tar.Unpack
|
|
||||||
Codec.Archive.Tar.Write
|
|
||||||
|
|
||||||
other-extensions:
|
|
||||||
CPP
|
|
||||||
BangPatterns,
|
|
||||||
DeriveDataTypeable
|
|
||||||
ScopedTypeVariables
|
|
||||||
|
|
||||||
ghc-options: -fno-ignore-asserts
|
|
||||||
|
|
||||||
benchmark bench
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
hs-source-dirs: . bench
|
|
||||||
main-is: bench/Main.hs
|
|
||||||
build-depends: base,
|
|
||||||
bytestring >= 0.10,
|
|
||||||
filepath,
|
|
||||||
directory >= 1.2,
|
|
||||||
array,
|
|
||||||
containers,
|
|
||||||
deepseq,
|
|
||||||
time,
|
|
||||||
criterion >= 1.0
|
|
||||||
|
|
||||||
if !impl(ghc >= 8.0)
|
|
||||||
build-depends: semigroups == 0.18.*
|
|
||||||
|
|
||||||
-- shared w/ lib:tar component
|
|
||||||
other-modules:
|
|
||||||
Codec.Archive.Tar
|
|
||||||
Codec.Archive.Tar.Check
|
|
||||||
Codec.Archive.Tar.Index
|
|
||||||
Codec.Archive.Tar.Index.IntTrie
|
|
||||||
Codec.Archive.Tar.Index.StringTable
|
|
||||||
Codec.Archive.Tar.Pack
|
|
||||||
Codec.Archive.Tar.Read
|
|
||||||
Codec.Archive.Tar.Types
|
|
||||||
Codec.Archive.Tar.Unpack
|
|
||||||
Codec.Archive.Tar.Write
|
|
Loading…
Reference in New Issue
Block a user