Accepting request 1231473 from devel:languages:haskell

version update for ghc-9.10.1

OBS-URL: https://build.opensuse.org/request/show/1231473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-tar?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2024-12-20 22:10:58 +00:00 committed by Git OBS Bridge
commit 9baa9509f5
5 changed files with 171 additions and 191 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jun 26 20:38:18 UTC 2024 - Peter Simons <psimons@suse.com>
- Update tar to version 0.6.3.0 revision 1.
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/tar-0.6.3.0/src/changelog.md
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 20 20:30:38 UTC 2023 - Peter Simons <psimons@suse.com> Wed Dec 20 20:30:38 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-tar # spec file for package ghc-tar
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# 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
@ -20,13 +20,13 @@
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.5.1.1 Version: 0.6.3.0
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
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/10.cabal#/%{pkg_name}.cabal 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-array-prof BuildRequires: ghc-array-prof
@ -42,19 +42,25 @@ BuildRequires: ghc-directory-devel
BuildRequires: ghc-directory-prof BuildRequires: ghc-directory-prof
BuildRequires: ghc-filepath-devel BuildRequires: ghc-filepath-devel
BuildRequires: ghc-filepath-prof BuildRequires: ghc-filepath-prof
BuildRequires: ghc-os-string-devel
BuildRequires: ghc-os-string-prof
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-time-devel BuildRequires: ghc-time-devel
BuildRequires: ghc-time-prof BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-prof
ExcludeArch: %{ix86} ExcludeArch: %{ix86}
%if %{with tests} %if %{with tests}
BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-bytestring-handle-devel BuildRequires: ghc-file-embed-devel
BuildRequires: ghc-bytestring-handle-prof BuildRequires: ghc-file-embed-prof
BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-prof BuildRequires: ghc-tasty-prof
BuildRequires: ghc-tasty-quickcheck-devel BuildRequires: ghc-tasty-quickcheck-devel
BuildRequires: ghc-tasty-quickcheck-prof BuildRequires: ghc-tasty-quickcheck-prof
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-temporary-prof
%endif %endif
%description %description
@ -117,7 +123,7 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%license LICENSE %license LICENSE
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%doc changelog.md %doc README.md changelog.md
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files %files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE %license LICENSE

View File

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

3
tar-0.6.3.0.tar.gz Normal file
View File

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

329
tar.cabal
View File

@ -1,182 +1,147 @@
cabal-version: 1.12 cabal-version: 2.2
name: tar name: tar
version: 0.5.1.1 version: 0.6.3.0
x-revision: 10 x-revision: 1
license: BSD-3-Clause
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: Bodigrim <andrew.lelechenko@gmail.com>
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:
extra-source-files: changelog.md test/data/long-filepath.tar
tested-with: GHC==7.0.4, GHC==7.2.2, GHC==7.4.2, GHC==7.6.3, test/data/long-symlink.tar
GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, test/data/symlink.tar
GHC==8.6.5, GHC==8.8.3, GHC==8.10.4, GHC==9.0.1 extra-doc-files: changelog.md
README.md
source-repository head tested-with: GHC==9.10.1, GHC==9.8.2, GHC==9.6.5, GHC==9.4.8, GHC==9.2.8, GHC==9.0.2,
type: git GHC==8.10.7, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4
location: https://github.com/haskell/tar.git
source-repository head
flag old-time type: git
default: False location: https://github.com/haskell/tar.git
flag old-bytestring library
default: False default-language: Haskell2010
build-depends: tar-internal
library
reexported-modules:
build-depends: base >= 4 && < 4.20, Codec.Archive.Tar,
filepath < 1.6, Codec.Archive.Tar.Entry,
array < 0.6, Codec.Archive.Tar.Check,
containers >= 0.2 && < 0.8, Codec.Archive.Tar.Index
deepseq >= 1.1 && < 1.6
library tar-internal
if flag(old-time) default-language: Haskell2010
build-depends: directory < 1.2, old-time < 1.2 build-depends: base >= 4.11 && < 5,
else array < 0.6,
build-depends: directory >= 1.2 && < 1.4, time < 1.13 bytestring >= 0.10 && < 0.13,
containers >= 0.2 && < 0.8,
if flag(old-bytestring) deepseq >= 1.1 && < 1.6,
build-depends: bytestring-builder >= 0.10.4.0.2 && < 0.11, bytestring == 0.9.* directory >= 1.3.1 && < 1.4,
else filepath < 1.6,
build-depends: bytestring >= 0.10 && < 0.13 os-string >= 2.0 && < 2.1,
time < 1.15,
if !impl(ghc >= 8.0) transformers < 0.7,
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.Check.Internal
Codec.Archive.Tar.Index Codec.Archive.Tar.Index
Codec.Archive.Tar.LongNames
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.PackAscii
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
Codec.Archive.Tar.Index.Internal
default-language: Haskell2010 Codec.Archive.Tar.Index.Utils
-- Previously, the package used GHC's default Haskell mode which implies
-- NDI; so we keep it transitionally enabled here until we've reviewed the other-extensions:
-- code to make sure there isn't any code relies on NDI and keeps compiling BangPatterns
-- albeit with different semantics even without NDI CPP
default-extensions: NondecreasingIndentation DeriveDataTypeable
GeneralizedNewtypeDeriving
other-extensions: PatternGuards
BangPatterns ScopedTypeVariables
CPP
DeriveDataTypeable ghc-options: -Wall -fno-warn-unused-imports
GeneralizedNewtypeDeriving
PatternGuards test-suite properties
ScopedTypeVariables type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends: base < 5,
ghc-options: -Wall -fno-warn-unused-imports array,
bytestring >= 0.10,
test-suite properties containers,
type: exitcode-stdio-1.0 deepseq,
build-depends: base, directory >= 1.2,
filepath, file-embed,
array, filepath,
containers, QuickCheck == 2.*,
deepseq, tar-internal,
bytestring-handle, tasty >= 0.10 && <1.6,
QuickCheck == 2.*, tasty-quickcheck >= 0.8 && <1,
tasty >= 0.10 && <1.6, temporary < 1.4,
tasty-quickcheck >= 0.8 && <0.11 time
if impl(ghc < 9.0)
if flag(old-time) build-depends: bytestring-handle < 0.2
build-depends: directory < 1.2, old-time
else hs-source-dirs: test
build-depends: directory >= 1.2, time
main-is: Properties.hs
if flag(old-bytestring)
build-depends: bytestring-builder, bytestring >= 0.9 && <0.10 other-modules:
else Codec.Archive.Tar.Tests
build-depends: bytestring >= 0.10 Codec.Archive.Tar.Index.Tests
Codec.Archive.Tar.Index.IntTrie.Tests
if !impl(ghc >= 8.0) Codec.Archive.Tar.Index.StringTable.Tests
build-depends: semigroups >= 0.18 && <0.20 Codec.Archive.Tar.Pack.Tests
Codec.Archive.Tar.Types.Tests
default-language: Haskell2010 Codec.Archive.Tar.Unpack.Tests
hs-source-dirs: . test other-extensions:
CPP
main-is: test/Properties.hs BangPatterns,
cpp-options: -DTESTS DeriveDataTypeable
ScopedTypeVariables
other-modules:
Codec.Archive.Tar.Index ghc-options: -fno-ignore-asserts
Codec.Archive.Tar.Index.StringTable
Codec.Archive.Tar.Index.IntTrie benchmark bench
type: exitcode-stdio-1.0
-- shared w/ lib:tar component default-language: Haskell2010
other-modules: hs-source-dirs: bench
Codec.Archive.Tar main-is: Main.hs
Codec.Archive.Tar.Check build-depends: base < 5,
Codec.Archive.Tar.Pack tar,
Codec.Archive.Tar.Read bytestring >= 0.10,
Codec.Archive.Tar.Types filepath,
Codec.Archive.Tar.Unpack directory >= 1.2,
Codec.Archive.Tar.Write array,
containers,
other-extensions: deepseq,
CPP temporary < 1.4,
BangPatterns, time,
DeriveDataTypeable tasty-bench < 0.4
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 && <0.20
default-language: Haskell2010
-- 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