From e4ad98c29a92c5376cb2ed9372d5c284ab20d518d43330c6cb93b9d1d7b77e8b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:23 +0000 Subject: [PATCH 1/2] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-digest revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-digest?expand=0&rev=55 --- digest-0.0.1.5.tar.gz | 3 --- digest-0.0.1.7.tar.gz | 3 +++ ghc-digest.changes | 16 ++++++++++++++++ ghc-digest.spec | 27 ++++++++++++++++++++++++++- 4 files changed, 45 insertions(+), 4 deletions(-) delete mode 100644 digest-0.0.1.5.tar.gz create mode 100644 digest-0.0.1.7.tar.gz 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 From 34f81a6dc434a9111faeb37108bb4551f396a531d78ef2c685d35772ce2775ba Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:37 +0000 Subject: [PATCH 2/2] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-digest revision:8, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-digest?expand=0&rev=56 --- ghc-digest.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-digest.changes b/ghc-digest.changes index b7b728f..7c5dbf3 100644 --- a/ghc-digest.changes +++ b/ghc-digest.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:06:36 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Sun Mar 12 14:11:03 UTC 2023 - Peter Simons