8 Commits

Author SHA256 Message Date
efade13e14 Accepting request 1297800 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1297800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-tar?expand=0&rev=28
2025-08-06 12:34:00 +00:00
55ad8687e5 osc copypac from project:devel:languages:haskell:ghc-9.12.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=80
2025-08-05 16:03:08 +00:00
48af408919 Accepting request 1251461 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1251461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-tar?expand=0&rev=27
2025-03-10 17:04:16 +00:00
59433138ef osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-tar revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tar?expand=0&rev=78
2025-03-02 22:00:45 +00:00
1f7c3fccb2 Accepting request 1240771 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1240771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-tar?expand=0&rev=26
2025-01-28 15:41:02 +00:00
2fedd0cef8 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-tar revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tar?expand=0&rev=76
2025-01-17 22:01:34 +00:00
9baa9509f5 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
2024-12-20 22:10:58 +00:00
60ae8b9637 osc copypac from project:devel:languages:haskell:ghc-9.10.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=74
2024-12-10 11:25:56 +00:00
5 changed files with 118 additions and 109 deletions

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Mon Aug 4 20:52:10 UTC 2025 - Peter Simons <psimons@suse.com>
- Update tar to version 0.6.4.0 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Mar 1 15:08:00 UTC 2025 - Peter Simons <psimons@suse.com>
- Update tar to version 0.6.4.0 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Jan 4 19:06:08 UTC 2025 - Peter Simons <psimons@suse.com>
- Update tar to version 0.6.4.0.
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.4.0/src/changelog.md
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-tar
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,13 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.5.1.1
Version: 0.6.4.0
Release: 0
Summary: Reading, writing and manipulating ".tar" archive files
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
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/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-array-prof
@@ -39,22 +39,32 @@ BuildRequires: ghc-containers-prof
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-directory-devel
BuildRequires: ghc-directory-ospath-streaming-devel
BuildRequires: ghc-directory-ospath-streaming-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-file-io-devel
BuildRequires: ghc-file-io-prof
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-os-string-devel
BuildRequires: ghc-os-string-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-time-devel
BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-bytestring-handle-devel
BuildRequires: ghc-bytestring-handle-prof
BuildRequires: ghc-file-embed-devel
BuildRequires: ghc-file-embed-prof
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-prof
BuildRequires: ghc-tasty-quickcheck-devel
BuildRequires: ghc-tasty-quickcheck-prof
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-temporary-prof
%endif
%description
@@ -117,7 +127,7 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%license LICENSE
%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
%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.4.0.tar.gz Normal file
View File

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

169
tar.cabal
View File

@@ -1,13 +1,12 @@
cabal-version: 1.12
cabal-version: 2.2
name: tar
version: 0.5.1.1
x-revision: 10
license: BSD3
version: 0.6.4.0
x-revision: 2
license: BSD-3-Clause
license-file: LICENSE
author: Duncan Coutts <duncan@community.haskell.org>
Bjorn Bringert <bjorn@bringert.net>
maintainer: Duncan Coutts <duncan@community.haskell.org>
maintainer: Bodigrim <andrew.lelechenko@gmail.com>
bug-reports: https://github.com/haskell/tar/issues
copyright: 2007 Bjorn Bringert <bjorn@bringert.net>
2008-2016 Duncan Coutts <duncan@community.haskell.org>
@@ -25,63 +24,62 @@ description: This library is for working with \"@.tar@\" archive files. It
It also provides features for random access to archive
content using an index.
build-type: Simple
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.4,
GHC==8.6.5, GHC==8.8.3, GHC==8.10.4, GHC==9.0.1
extra-source-files:
test/data/long-filepath.tar
test/data/long-symlink.tar
test/data/symlink.tar
extra-doc-files: changelog.md
README.md
tested-with: GHC==9.12.1, GHC==9.10.1, GHC==9.8.4,
GHC==9.6.5, GHC==9.4.8, GHC==9.2.8, GHC==9.0.2,
GHC==8.10.7, GHC==8.8.4, GHC==8.6.5
source-repository head
type: git
location: https://github.com/haskell/tar.git
flag old-time
default: False
flag old-bytestring
default: False
library
default-language: Haskell2010
build-depends: tar-internal
build-depends: base >= 4 && < 4.20,
filepath < 1.6,
array < 0.6,
containers >= 0.2 && < 0.8,
deepseq >= 1.1 && < 1.6
reexported-modules:
Codec.Archive.Tar,
Codec.Archive.Tar.Entry,
Codec.Archive.Tar.Check,
Codec.Archive.Tar.Index
if flag(old-time)
build-depends: directory < 1.2, old-time < 1.2
else
build-depends: directory >= 1.2 && < 1.4, time < 1.13
if flag(old-bytestring)
build-depends: bytestring-builder >= 0.10.4.0.2 && < 0.11, bytestring == 0.9.*
else
build-depends: bytestring >= 0.10 && < 0.13
if !impl(ghc >= 8.0)
build-depends: semigroups >= 0.18 && < 0.20
library tar-internal
default-language: Haskell2010
build-depends: base >= 4.12 && < 5,
array < 0.6,
bytestring >= 0.10 && < 0.13,
containers >= 0.2 && < 0.9,
deepseq >= 1.1 && < 1.6,
directory >= 1.3.1 && < 1.4,
directory-ospath-streaming >= 0.2.1 && < 0.3,
file-io < 0.2,
filepath >= 1.4.100 && < 1.6,
os-string >= 2.0 && < 2.1,
time < 1.16,
transformers < 0.7,
exposed-modules:
Codec.Archive.Tar
Codec.Archive.Tar.Entry
Codec.Archive.Tar.Check
Codec.Archive.Tar.Check.Internal
Codec.Archive.Tar.Index
other-modules:
Codec.Archive.Tar.LongNames
Codec.Archive.Tar.Types
Codec.Archive.Tar.Read
Codec.Archive.Tar.Write
Codec.Archive.Tar.Pack
Codec.Archive.Tar.PackAscii
Codec.Archive.Tar.Unpack
Codec.Archive.Tar.Index.StringTable
Codec.Archive.Tar.Index.IntTrie
default-language: Haskell2010
-- Previously, the package used GHC's default Haskell mode which implies
-- 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
-- albeit with different semantics even without NDI
default-extensions: NondecreasingIndentation
Codec.Archive.Tar.Index.Internal
Codec.Archive.Tar.Index.Utils
other-extensions:
BangPatterns
@@ -91,55 +89,41 @@ library
PatternGuards
ScopedTypeVariables
ghc-options: -Wall -fno-warn-unused-imports
test-suite properties
type: exitcode-stdio-1.0
build-depends: base,
filepath,
default-language: Haskell2010
build-depends: base < 5,
array,
bytestring >= 0.10,
containers,
deepseq,
bytestring-handle,
directory >= 1.2,
directory-ospath-streaming,
file-embed,
filepath,
QuickCheck == 2.*,
tar-internal,
tasty >= 0.10 && <1.6,
tasty-quickcheck >= 0.8 && <0.11
tasty-quickcheck >= 0.8 && <1,
temporary < 1.4,
time
if impl(ghc < 9.0)
build-depends: bytestring-handle < 0.2
if flag(old-time)
build-depends: directory < 1.2, old-time
else
build-depends: directory >= 1.2, time
hs-source-dirs: test
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 && <0.20
default-language: Haskell2010
hs-source-dirs: . test
main-is: test/Properties.hs
cpp-options: -DTESTS
main-is: Properties.hs
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
Codec.Archive.Tar.Tests
Codec.Archive.Tar.Index.Tests
Codec.Archive.Tar.Index.IntTrie.Tests
Codec.Archive.Tar.Index.StringTable.Tests
Codec.Archive.Tar.Pack.Tests
Codec.Archive.Tar.Types.Tests
Codec.Archive.Tar.Unpack.Tests
other-extensions:
CPP
@@ -151,32 +135,17 @@ test-suite properties
benchmark bench
type: exitcode-stdio-1.0
hs-source-dirs: . bench
main-is: bench/Main.hs
build-depends: base,
default-language: Haskell2010
hs-source-dirs: bench
main-is: Main.hs
build-depends: base < 5,
tar,
bytestring >= 0.10,
filepath,
directory >= 1.2,
array,
containers,
deepseq,
temporary < 1.4,
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
tasty-bench >= 0.4 && < 0.5