diff --git a/digest-0.0.1.5.tar.gz b/digest-0.0.1.5.tar.gz deleted file mode 100644 index 7cc90be..0000000 --- a/digest-0.0.1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7bdb5dd1ae1f86cd77c6a9bbc4a5f9f5eda4daf1815dddb3801ebdafa009f2d2 -size 3914 diff --git a/digest-0.0.1.7.tar.gz b/digest-0.0.1.7.tar.gz new file mode 100644 index 0000000..262e8b1 --- /dev/null +++ b/digest-0.0.1.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b23d6c804e6fed0ac9bb0d35b7aed5785330d63efebe296cf0073dab17e05f0a +size 4067 diff --git a/ghc-digest.changes b/ghc-digest.changes index c47b9e7..b7b728f 100644 --- a/ghc-digest.changes +++ b/ghc-digest.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sun Mar 12 14:11:03 UTC 2023 - Peter Simons + +- 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): + +------------------------------------------------------------------- +Sun Mar 5 21:35:54 UTC 2023 - Peter Simons + +- Update digest to version 0.0.1.6. + ## 0.0.1.6 — 5th March 2023 + + - Introduce 'pkg-config' cabal flag (Thanks to @jonathanlking): + ------------------------------------------------------------------- Tue Jan 24 15:49:59 UTC 2023 - Peter Simons diff --git a/ghc-digest.spec b/ghc-digest.spec index 72d51ec..3853319 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -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