From 789db848e3bbbd1a4346a9b9902adae99b9fdb708960e14f834eb32fce795889 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:23 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-fgl revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fgl?expand=0&rev=15 --- fgl-5.8.0.0.tar.gz | 3 +++ fgl-5.8.1.0.tar.gz | 3 --- ghc-fgl.changes | 12 ------------ ghc-fgl.spec | 34 ++++++++++++++++++++++++++++++++-- 4 files changed, 35 insertions(+), 17 deletions(-) create mode 100644 fgl-5.8.0.0.tar.gz delete mode 100644 fgl-5.8.1.0.tar.gz diff --git a/fgl-5.8.0.0.tar.gz b/fgl-5.8.0.0.tar.gz new file mode 100644 index 0000000..330f232 --- /dev/null +++ b/fgl-5.8.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d60ec09472f9bac0e54a3b55a274b5872ad28a048d5230e006a28c5adc8b8d09 +size 56445 diff --git a/fgl-5.8.1.0.tar.gz b/fgl-5.8.1.0.tar.gz deleted file mode 100644 index 413abdd..0000000 --- a/fgl-5.8.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ba1cbc5cbc409aa98815cf3b73b221da3d485fef57eda3765321d657e9fa368 -size 56680 diff --git a/ghc-fgl.changes b/ghc-fgl.changes index 2b2a8d4..704b4d4 100644 --- a/ghc-fgl.changes +++ b/ghc-fgl.changes @@ -1,15 +1,3 @@ -------------------------------------------------------------------- -Thu Jan 26 21:28:27 UTC 2023 - Peter Simons - -- Update fgl to version 5.8.1.0. - 5.8.1.0 - ------- - - * Data.Graph.Inductive.PatriciaTree.Gr and - Data.Graph.Inductive.Tree.Gr now have Functor instances. - - * 'Gr a' is now an instance of Functor. - ------------------------------------------------------------------- Sat Sep 24 07:24:12 UTC 2022 - Peter Simons diff --git a/ghc-fgl.spec b/ghc-fgl.spec index af48fcc..4dacb40 100644 --- a/ghc-fgl.spec +++ b/ghc-fgl.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-fgl # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2022 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 fgl +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 5.8.1.0 +Version: 5.8.0.0 Release: 0 Summary: Martin Erwig's Functional Graph Library License: BSD-3-Clause @@ -27,14 +28,22 @@ 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-containers-devel +BuildRequires: ghc-containers-prof BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-deepseq-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-prof %endif %description @@ -53,6 +62,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} @@ -77,4 +102,9 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files %doc 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