osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-tar revision:2, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tar?expand=0&rev=68
This commit is contained in:
Peter Simons 2023-11-10 14:07:21 +00:00 committed by Git OBS Bridge
parent 2f8c59ec65
commit dc82818fb2
2 changed files with 183 additions and 330 deletions

View File

@ -1,152 +1,5 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 27 20:48:39 UTC 2023 - Peter Simons <psimons@suse.com> Wed Sep 27 20:48:39 UTC 2023 - Peter Simons <psimons@suse.com>
- Update tar to version 0.5.1.1 revision 9. - Add tar at version 0.5.1.1 revision 9.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Sep 16 08:52:48 UTC 2023 - Peter Simons <psimons@suse.com>
- Update tar to version 0.5.1.1 revision 8.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Mar 30 17:08:30 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Tue Mar 14 20:58:01 UTC 2023 - Peter Simons <psimons@suse.com>
- Update tar to version 0.5.1.1 revision 6.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Wed May 4 00:58:44 UTC 2022 - Peter Simons <psimons@suse.com>
- Update tar to version 0.5.1.1 revision 5.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Sep 7 08:14:44 UTC 2021 - psimons@suse.com
- Update tar to version 0.5.1.1 revision 4.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Feb 20 00:16:11 UTC 2021 - psimons@suse.com
- Update tar to version 0.5.1.1 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Mon Aug 31 09:34:31 UTC 2020 - psimons@suse.com
- Update tar to version 0.5.1.1 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Aug 18 10:46:10 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 16 11:14:40 UTC 2020 - Peter Simons <psimons@suse.com>
- Re-generate file with latest version of spec-cleaner.
-------------------------------------------------------------------
Thu May 7 08:08:26 UTC 2020 - Peter Simons <psimons@suse.com>
- Update Cabal file to get more accurate dependency information.
-------------------------------------------------------------------
Fri Nov 8 16:14:54 UTC 2019 - Peter Simons <psimons@suse.com>
- Drop obsolete group attributes.
-------------------------------------------------------------------
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>
- Update Cabal build instructions to support ghc-8.6.1.
-------------------------------------------------------------------
Wed Jul 18 14:26:43 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 tar to version 0.5.1.0.
* Add support for GHC 8.4.1 / base-4.11
* Add `Semigroup` instance for `Entries`
-------------------------------------------------------------------
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
-------------------------------------------------------------------
Sun Jul 10 17:16:17 UTC 2016 - psimons@suse.com
- Update to version 0.5.0.3 revision 0 with cabal2obs.
-------------------------------------------------------------------
Wed May 4 07:33:10 UTC 2016 - mimi.vx@gmail.com
- update to 0.5.0.3
* Fix tarbomb logic to ignore special PAX entries. Was breaking many valid tarballs.
-------------------------------------------------------------------
Sun May 1 15:57:19 UTC 2016 - mimi.vx@gmail.com
- update to 0.5.0.2
* Fix compatability when using ghc-7.4.x and directory >= 1.2.3
-------------------------------------------------------------------
Fri Jan 15 10:17:58 UTC 2016 - mimi.vx@gmail.com
- update to 0.5.0.1
* Change type of Index.serialise to be simply strict bytestring.
* Preserve file timestamps on unpack
-------------------------------------------------------------------
Mon Jan 11 08:26:53 UTC 2016 - mimi.vx@gmail.com
- update to 0.4.5.0
* revert accidental minor API change in 0.4.x series (the type of the owner and
group name strings). The 0.4.3.0 and 0.4.4.0 releases contained the accidental
API change.
* Add a handy foldlEntries function
* Build and warning fixes for GHC 7.10 and 8.0
* New Index module function toList to get all index entries
* New Index function unfinalise to extend existing index
+ 9x faster reading
+ 9x faster index construction
+ 24x faster index extension
* More compact entry types, using ByteStrings
* More Eq and Show instances
* Greater QC test coverage
* Fix minor bug in reading non-standard v7 format entries
-------------------------------------------------------------------
Thu Nov 19 11:00:23 UTC 2015 - mimi.vx@gmail.com
- initial commit

364
tar.cabal
View File

@ -1,182 +1,182 @@
cabal-version: 1.12 cabal-version: 1.12
name: tar name: tar
version: 0.5.1.1 version: 0.5.1.1
x-revision: 9 x-revision: 9
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
author: Duncan Coutts <duncan@community.haskell.org> author: Duncan Coutts <duncan@community.haskell.org>
Bjorn Bringert <bjorn@bringert.net> Bjorn Bringert <bjorn@bringert.net>
maintainer: Duncan Coutts <duncan@community.haskell.org> maintainer: Duncan Coutts <duncan@community.haskell.org>
bug-reports: https://github.com/haskell/tar/issues bug-reports: https://github.com/haskell/tar/issues
copyright: 2007 Bjorn Bringert <bjorn@bringert.net> copyright: 2007 Bjorn Bringert <bjorn@bringert.net>
2008-2016 Duncan Coutts <duncan@community.haskell.org> 2008-2016 Duncan Coutts <duncan@community.haskell.org>
category: Codec category: Codec
synopsis: Reading, writing and manipulating ".tar" archive files. synopsis: Reading, writing and manipulating ".tar" archive files.
description: This library is for working with \"@.tar@\" archive files. It description: This library is for working with \"@.tar@\" archive files. It
can read and write a range of common variations of archive can read and write a range of common variations of archive
format including V7, POSIX USTAR and GNU formats. format including V7, POSIX USTAR and GNU formats.
. .
It provides support for packing and unpacking portable It provides support for packing and unpacking portable
archives. This makes it suitable for distribution but not archives. This makes it suitable for distribution but not
backup because details like file ownership and exact backup because details like file ownership and exact
permissions are not preserved. permissions are not preserved.
. .
It also provides features for random access to archive It also provides features for random access to archive
content using an index. content using an index.
build-type: Simple build-type: Simple
extra-source-files: changelog.md extra-source-files: changelog.md
tested-with: GHC==7.0.4, GHC==7.2.2, GHC==7.4.2, GHC==7.6.3, 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.4, GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4,
GHC==8.6.5, GHC==8.8.3, GHC==8.10.4, GHC==9.0.1 GHC==8.6.5, GHC==8.8.3, GHC==8.10.4, GHC==9.0.1
source-repository head source-repository head
type: git type: git
location: https://github.com/haskell/tar.git location: https://github.com/haskell/tar.git
flag old-time flag old-time
default: False default: False
flag old-bytestring flag old-bytestring
default: False default: False
library library
build-depends: base >= 4 && < 4.20, build-depends: base >= 4 && < 4.20,
filepath < 1.5, filepath < 1.5,
array < 0.6, array < 0.6,
containers >= 0.2 && < 0.8, containers >= 0.2 && < 0.8,
deepseq >= 1.1 && < 1.6 deepseq >= 1.1 && < 1.6
if flag(old-time) if flag(old-time)
build-depends: directory < 1.2, old-time < 1.2 build-depends: directory < 1.2, old-time < 1.2
else else
build-depends: directory >= 1.2 && < 1.4, time < 1.13 build-depends: directory >= 1.2 && < 1.4, time < 1.13
if flag(old-bytestring) if flag(old-bytestring)
build-depends: bytestring-builder >= 0.10.4.0.2 && < 0.11, bytestring == 0.9.* build-depends: bytestring-builder >= 0.10.4.0.2 && < 0.11, bytestring == 0.9.*
else else
build-depends: bytestring >= 0.10 && < 0.13 build-depends: bytestring >= 0.10 && < 0.13
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
build-depends: semigroups >= 0.18 && < 0.20 build-depends: semigroups >= 0.18 && < 0.20
exposed-modules: exposed-modules:
Codec.Archive.Tar Codec.Archive.Tar
Codec.Archive.Tar.Entry Codec.Archive.Tar.Entry
Codec.Archive.Tar.Check Codec.Archive.Tar.Check
Codec.Archive.Tar.Index Codec.Archive.Tar.Index
other-modules: other-modules:
Codec.Archive.Tar.Types Codec.Archive.Tar.Types
Codec.Archive.Tar.Read Codec.Archive.Tar.Read
Codec.Archive.Tar.Write Codec.Archive.Tar.Write
Codec.Archive.Tar.Pack Codec.Archive.Tar.Pack
Codec.Archive.Tar.Unpack Codec.Archive.Tar.Unpack
Codec.Archive.Tar.Index.StringTable Codec.Archive.Tar.Index.StringTable
Codec.Archive.Tar.Index.IntTrie Codec.Archive.Tar.Index.IntTrie
default-language: Haskell2010 default-language: Haskell2010
-- Previously, the package used GHC's default Haskell mode which implies -- Previously, the package used GHC's default Haskell mode which implies
-- NDI; so we keep it transitionally enabled here until we've reviewed the -- NDI; so we keep it transitionally enabled here until we've reviewed the
-- code to make sure there isn't any code relies on NDI and keeps compiling -- code to make sure there isn't any code relies on NDI and keeps compiling
-- albeit with different semantics even without NDI -- albeit with different semantics even without NDI
default-extensions: NondecreasingIndentation default-extensions: NondecreasingIndentation
other-extensions: other-extensions:
BangPatterns BangPatterns
CPP CPP
DeriveDataTypeable DeriveDataTypeable
GeneralizedNewtypeDeriving GeneralizedNewtypeDeriving
PatternGuards PatternGuards
ScopedTypeVariables ScopedTypeVariables
ghc-options: -Wall -fno-warn-unused-imports ghc-options: -Wall -fno-warn-unused-imports
test-suite properties test-suite properties
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
build-depends: base, build-depends: base,
filepath, filepath,
array, array,
containers, containers,
deepseq, deepseq,
bytestring-handle, bytestring-handle,
QuickCheck == 2.*, QuickCheck == 2.*,
tasty >= 0.10 && <1.6, tasty >= 0.10 && <1.6,
tasty-quickcheck >= 0.8 && <0.11 tasty-quickcheck >= 0.8 && <0.11
if flag(old-time) if flag(old-time)
build-depends: directory < 1.2, old-time build-depends: directory < 1.2, old-time
else else
build-depends: directory >= 1.2, time build-depends: directory >= 1.2, time
if flag(old-bytestring) if flag(old-bytestring)
build-depends: bytestring-builder, bytestring >= 0.9 && <0.10 build-depends: bytestring-builder, bytestring >= 0.9 && <0.10
else else
build-depends: bytestring >= 0.10 build-depends: bytestring >= 0.10
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
build-depends: semigroups >= 0.18 && <0.20 build-depends: semigroups >= 0.18 && <0.20
default-language: Haskell2010 default-language: Haskell2010
hs-source-dirs: . test hs-source-dirs: . test
main-is: test/Properties.hs main-is: test/Properties.hs
cpp-options: -DTESTS cpp-options: -DTESTS
other-modules: other-modules:
Codec.Archive.Tar.Index Codec.Archive.Tar.Index
Codec.Archive.Tar.Index.StringTable Codec.Archive.Tar.Index.StringTable
Codec.Archive.Tar.Index.IntTrie Codec.Archive.Tar.Index.IntTrie
-- shared w/ lib:tar component -- shared w/ lib:tar component
other-modules: other-modules:
Codec.Archive.Tar Codec.Archive.Tar
Codec.Archive.Tar.Check Codec.Archive.Tar.Check
Codec.Archive.Tar.Pack Codec.Archive.Tar.Pack
Codec.Archive.Tar.Read Codec.Archive.Tar.Read
Codec.Archive.Tar.Types Codec.Archive.Tar.Types
Codec.Archive.Tar.Unpack Codec.Archive.Tar.Unpack
Codec.Archive.Tar.Write Codec.Archive.Tar.Write
other-extensions: other-extensions:
CPP CPP
BangPatterns, BangPatterns,
DeriveDataTypeable DeriveDataTypeable
ScopedTypeVariables ScopedTypeVariables
ghc-options: -fno-ignore-asserts ghc-options: -fno-ignore-asserts
benchmark bench benchmark bench
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
hs-source-dirs: . bench hs-source-dirs: . bench
main-is: bench/Main.hs main-is: bench/Main.hs
build-depends: base, build-depends: base,
bytestring >= 0.10, bytestring >= 0.10,
filepath, filepath,
directory >= 1.2, directory >= 1.2,
array, array,
containers, containers,
deepseq, deepseq,
time, time,
criterion >= 1.0 criterion >= 1.0
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
build-depends: semigroups >= 0.18 && <0.20 build-depends: semigroups >= 0.18 && <0.20
default-language: Haskell2010 default-language: Haskell2010
-- shared w/ lib:tar component -- shared w/ lib:tar component
other-modules: other-modules:
Codec.Archive.Tar Codec.Archive.Tar
Codec.Archive.Tar.Check Codec.Archive.Tar.Check
Codec.Archive.Tar.Index Codec.Archive.Tar.Index
Codec.Archive.Tar.Index.IntTrie Codec.Archive.Tar.Index.IntTrie
Codec.Archive.Tar.Index.StringTable Codec.Archive.Tar.Index.StringTable
Codec.Archive.Tar.Pack Codec.Archive.Tar.Pack
Codec.Archive.Tar.Read Codec.Archive.Tar.Read
Codec.Archive.Tar.Types Codec.Archive.Tar.Types
Codec.Archive.Tar.Unpack Codec.Archive.Tar.Unpack
Codec.Archive.Tar.Write Codec.Archive.Tar.Write