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
This commit is contained in:
Peter Simons 2023-03-30 08:26:53 +00:00 committed by Git OBS Bridge
parent 5d6b0347d0
commit 18952d8fd2
4 changed files with 58 additions and 5 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Mar 4 06:27:44 UTC 2023 - Peter Simons <psimons@suse.com>
- 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 <psimons@suse.com>

View File

@ -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

View File

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

3
zip-archive-0.4.3.tar.gz Normal file
View File

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