Accepting request 1075855 from devel:languages:haskell

update for ghc-9.4.4

OBS-URL: https://build.opensuse.org/request/show/1075855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-digest?expand=0&rev=15
This commit is contained in:
2023-04-04 19:19:44 +00:00
committed by Git OBS Bridge
4 changed files with 50 additions and 4 deletions

View File

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

3
digest-0.0.1.7.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Thu Mar 30 17:06:36 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Sun Mar 12 14:11:03 UTC 2023 - Peter Simons <psimons@suse.com>
- Update digest to version 0.0.1.7.
## 0.0.1.7 — 5th March 2023
- Don't use 'pkg-config' to locate zlib on FreeBSD (Thanks to @arrowd): <https://github.com/TeofilC/digest/pull/13>
-------------------------------------------------------------------
Sun Mar 5 21:35:54 UTC 2023 - Peter Simons <psimons@suse.com>
- Update digest to version 0.0.1.6.
## 0.0.1.6 — 5th March 2023
- Introduce 'pkg-config' cabal flag (Thanks to @jonathanlking): <https://github.com/TeofilC/digest/pull/11>
-------------------------------------------------------------------
Tue Jan 24 15:49:59 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@@ -17,15 +17,19 @@
%global pkg_name digest
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 0.0.1.5
Version: 0.0.1.7
Release: 0
Summary: Various hashes for bytestrings; CRC32 and Adler32 for now
License: BSD-2-Clause
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-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-rpm-macros
BuildRequires: pkgconfig
BuildRequires: pkgconfig(zlib)
@@ -48,6 +52,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}
@@ -69,4 +89,9 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files
%doc CHANGELOG.md
%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