From eace95bb15633458a91608ca471c65d38873cb50d4adaf470847e4ad888b11a3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:27 +0000 Subject: [PATCH 1/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-lucid revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lucid?expand=0&rev=19 --- ghc-lucid.spec | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/ghc-lucid.spec b/ghc-lucid.spec index 513e2a0..05c089f 100644 --- a/ghc-lucid.spec +++ b/ghc-lucid.spec @@ -17,6 +17,7 @@ %global pkg_name lucid +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} Version: 2.11.1 @@ -27,21 +28,35 @@ URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-blaze-builder-devel +BuildRequires: ghc-blaze-builder-prof BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof BuildRequires: ghc-hashable-devel +BuildRequires: ghc-hashable-prof BuildRequires: ghc-mmorph-devel +BuildRequires: ghc-mmorph-prof BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mtl-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-HUnit-prof BuildRequires: ghc-bifunctors-devel +BuildRequires: ghc-bifunctors-prof BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-prof BuildRequires: ghc-parsec-devel +BuildRequires: ghc-parsec-prof %endif %description @@ -67,6 +82,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} cp -p %{SOURCE1} %{pkg_name}.cabal @@ -92,4 +123,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files devel -f %{name}-devel.files %doc CHANGELOG.md README.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 a0aad46b153c60f6376896311929273c4fac2ab5df5a37e7b75e66e560bf7b63 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:44 +0000 Subject: [PATCH 2/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-lucid revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lucid?expand=0&rev=20 --- ghc-lucid.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-lucid.changes b/ghc-lucid.changes index 687763a..b128a75 100644 --- a/ghc-lucid.changes +++ b/ghc-lucid.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:07:26 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Tue Sep 27 20:18:07 UTC 2022 - Peter Simons From 8192f1e16cdbcf809854b58ff0eef158b412923a7928f5bc3e4458e01b892972 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:51:42 +0000 Subject: [PATCH 3/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-lucid revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lucid?expand=0&rev=21 --- ghc-lucid.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-lucid.spec b/ghc-lucid.spec index 05c089f..ff0530c 100644 --- a/ghc-lucid.spec +++ b/ghc-lucid.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-lucid # -# 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