From 18952d8fd22b3a7eaa35e00cd64c8b75595fbde4a1deedc8e56e98c64318792b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:53 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-zip-archive revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zip-archive?expand=0&rev=78 --- ghc-zip-archive.changes | 13 +++++++++++ ghc-zip-archive.spec | 44 ++++++++++++++++++++++++++++++++++++-- zip-archive-0.4.2.2.tar.gz | 3 --- zip-archive-0.4.3.tar.gz | 3 +++ 4 files changed, 58 insertions(+), 5 deletions(-) delete mode 100644 zip-archive-0.4.2.2.tar.gz create mode 100644 zip-archive-0.4.3.tar.gz diff --git a/ghc-zip-archive.changes b/ghc-zip-archive.changes index 905a042..2b94f06 100644 --- a/ghc-zip-archive.changes +++ b/ghc-zip-archive.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Mar 4 06:27:44 UTC 2023 - Peter Simons + +- Update zip-archive to version 0.4.3. + zip-archive 0.4.3 + + * Improve code for retrieving compressed data of unknown length (#63). + Do not assume we'll have the signature 0x08074b50 that is + sometimes used for the data description, because it is not + in the spec and is not always used. + * Make some record fields strict. + * Require binary >= 0.7.2, remove some CPP + ------------------------------------------------------------------- Mon Sep 26 00:39:14 UTC 2022 - Peter Simons diff --git a/ghc-zip-archive.spec b/ghc-zip-archive.spec index 031eed0..884ae43 100644 --- a/ghc-zip-archive.spec +++ b/ghc-zip-archive.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-zip-archive # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,10 @@ %global pkg_name zip-archive +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.4.2.2 +Version: 0.4.3 Release: 0 Summary: Library for creating and modifying zip archives License: BSD-3-Clause @@ -27,24 +28,42 @@ URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-binary-devel +BuildRequires: ghc-binary-prof BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof BuildRequires: ghc-digest-devel +BuildRequires: ghc-digest-prof BuildRequires: ghc-directory-devel +BuildRequires: ghc-directory-prof BuildRequires: ghc-filepath-devel +BuildRequires: ghc-filepath-prof BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mtl-prof BuildRequires: ghc-pretty-devel +BuildRequires: ghc-pretty-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof BuildRequires: ghc-time-devel +BuildRequires: ghc-time-prof BuildRequires: ghc-unix-devel +BuildRequires: ghc-unix-prof BuildRequires: ghc-zlib-devel +BuildRequires: ghc-zlib-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-HUnit-prof BuildRequires: ghc-process-devel +BuildRequires: ghc-process-prof BuildRequires: ghc-temporary-devel +BuildRequires: ghc-temporary-prof %endif %description @@ -79,6 +98,22 @@ Requires(postun): ghc-compiler = %{ghc_version} %description devel This package provides the Haskell %{pkg_name} library development files. +%package -n ghc-%{pkg_name}-doc +Summary: Haskell %{pkg_name} library documentation +Requires: ghc-filesystem +BuildArch: noarch + +%description -n ghc-%{pkg_name}-doc +This package provides the Haskell %{pkg_name} library documentation. + +%package -n ghc-%{pkg_name}-prof +Summary: Haskell %{pkg_name} profiling library +Requires: ghc-%{pkg_name}-devel = %{version}-%{release} +Supplements: (ghc-%{pkg_name}-devel and ghc-prof) + +%description -n ghc-%{pkg_name}-prof +This package provides the Haskell %{pkg_name} profiling library. + %prep %autosetup -n %{pkg_name}-%{version} @@ -103,4 +138,9 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files %doc README.markdown changelog +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + %changelog diff --git a/zip-archive-0.4.2.2.tar.gz b/zip-archive-0.4.2.2.tar.gz deleted file mode 100644 index 93f3e3e..0000000 --- a/zip-archive-0.4.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4016b404356e5fe38a89fceb8c88b01251f7e3fe7832323a50a3f732a346709 -size 22296 diff --git a/zip-archive-0.4.3.tar.gz b/zip-archive-0.4.3.tar.gz new file mode 100644 index 0000000..a2324f9 --- /dev/null +++ b/zip-archive-0.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68050fa0f139848db0ea422ea9af1a65b652abf5168db7dafaf1bded5b045d05 +size 22161