From 9860dc2d6f3965859cd55c2275d0d7edfec7fd65573e2dffb92a5bf203aadaeb Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:23 +0000 Subject: [PATCH 1/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-echo revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-echo?expand=0&rev=46 --- ghc-echo.spec | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/ghc-echo.spec b/ghc-echo.spec index 503aa15..9d69e92 100644 --- a/ghc-echo.spec +++ b/ghc-echo.spec @@ -17,6 +17,7 @@ %global pkg_name echo +%global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} Version: 0.1.4 Release: 0 @@ -25,7 +26,10 @@ 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-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-process-devel +BuildRequires: ghc-process-prof BuildRequires: ghc-rpm-macros ExcludeArch: %{ix86} @@ -51,6 +55,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} @@ -72,4 +92,9 @@ This package provides the Haskell %{pkg_name} library development files. %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 53fecce2deaf30986e1eb669c507e135bfeb3fbcf24dc700295367d56223f9d6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:37 +0000 Subject: [PATCH 2/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-echo revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-echo?expand=0&rev=47 --- ghc-echo.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-echo.changes b/ghc-echo.changes index a068541..7ea45ac 100644 --- a/ghc-echo.changes +++ b/ghc-echo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:06:40 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Sat Feb 20 00:08:00 UTC 2021 - psimons@suse.com From 52e7bbfbff2c706352b9dd8cfc9aa4eaf9e0f602ed5144cc9b6877e7eea70807 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:51:38 +0000 Subject: [PATCH 3/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-echo revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-echo?expand=0&rev=48 --- ghc-echo.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-echo.spec b/ghc-echo.spec index 9d69e92..e5905e4 100644 --- a/ghc-echo.spec +++ b/ghc-echo.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-echo # -# Copyright (c) 2021 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