From 144b41350d3122b9572f74d3d6890b471e644fc58bd7e0387f783f1165192979 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 2 Feb 2023 13:42:06 +0000 Subject: [PATCH 1/5] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-cairo revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cairo?expand=0&rev=3 --- ghc-cairo.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ghc-cairo.spec b/ghc-cairo.spec index 7389ae0..90c4b40 100644 --- a/ghc-cairo.spec +++ b/ghc-cairo.spec @@ -61,6 +61,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} +cabal-tweak-dep-ver text '>= 1.0.0.0 && < 1.3' '< 5' %build %ghc_lib_build From ba2744e200f90a21e3c571d095ea1a82a6fdabdc64d607c15c15d3f3a7bffbb0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 3 Feb 2023 09:19:02 +0000 Subject: [PATCH 2/5] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-cairo revision:1, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cairo?expand=0&rev=4 --- ghc-cairo.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/ghc-cairo.spec b/ghc-cairo.spec index 90c4b40..7389ae0 100644 --- a/ghc-cairo.spec +++ b/ghc-cairo.spec @@ -61,7 +61,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} -cabal-tweak-dep-ver text '>= 1.0.0.0 && < 1.3' '< 5' %build %ghc_lib_build From 8fbd1a498aaf6fa8f01a720ead210b6ee25695c229a73fd3088ae4564425c281 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:20 +0000 Subject: [PATCH 3/5] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-cairo revision:10, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cairo?expand=0&rev=5 --- ghc-cairo.spec | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/ghc-cairo.spec b/ghc-cairo.spec index 7389ae0..ae99bf2 100644 --- a/ghc-cairo.spec +++ b/ghc-cairo.spec @@ -17,6 +17,7 @@ %global pkg_name cairo +%global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} Version: 0.13.8.2 Release: 0 @@ -25,13 +26,22 @@ License: BSD-3-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-Cabal-prof BuildRequires: ghc-array-devel +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof BuildRequires: ghc-gtk2hs-buildtools-devel +BuildRequires: ghc-gtk2hs-buildtools-prof BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mtl-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof BuildRequires: ghc-utf8-string-devel +BuildRequires: ghc-utf8-string-prof BuildRequires: pkgconfig BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo-pdf) @@ -59,8 +69,25 @@ 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} +cabal-tweak-dep-ver text '>= 1.0.0.0 && < 1.3' '< 5' %build %ghc_lib_build @@ -99,4 +126,9 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license COPYRIGHT + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + %changelog From 1c1d31059498ee8fef79c08b603ed1120629d25b8219ebf43cbb96af4af51ccb Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:30 +0000 Subject: [PATCH 4/5] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-cairo revision:11, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cairo?expand=0&rev=6 --- ghc-cairo.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-cairo.changes b/ghc-cairo.changes index cbc0f7b..5239b91 100644 --- a/ghc-cairo.changes +++ b/ghc-cairo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:06:07 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Thu Mar 24 09:06:48 UTC 2022 - Peter Simons From 516572d3c64c76dfe32e595a4b91bf4fa1ce8646e647c97db5338c4137755289 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:51:34 +0000 Subject: [PATCH 5/5] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-cairo revision:12, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cairo?expand=0&rev=7 --- ghc-cairo.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-cairo.spec b/ghc-cairo.spec index ae99bf2..daa2267 100644 --- a/ghc-cairo.spec +++ b/ghc-cairo.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-cairo # -# 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