From 2d7dae246f9c9cf99d6372c0f8412031af802a09672e9191323acfcc2a10c0c0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:25 +0000 Subject: [PATCH 1/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-http-date revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-date?expand=0&rev=15 --- ghc-http-date.spec | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/ghc-http-date.spec b/ghc-http-date.spec index 114aae6..666ebab 100644 --- a/ghc-http-date.spec +++ b/ghc-http-date.spec @@ -17,6 +17,7 @@ %global pkg_name http-date +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} Version: 0.0.11 @@ -27,15 +28,24 @@ 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-attoparsec-devel +BuildRequires: ghc-attoparsec-prof +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-time-devel +BuildRequires: ghc-time-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-doctest-devel +BuildRequires: ghc-doctest-prof BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-prof BuildRequires: ghc-old-locale-devel +BuildRequires: ghc-old-locale-prof %endif %description @@ -51,6 +61,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} @@ -74,4 +100,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 LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + %changelog From 72ce22590cdf5a3ce63e8d2ba8797baaae4a987b4852701f035df02bbfe236e1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:42 +0000 Subject: [PATCH 2/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-http-date revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-date?expand=0&rev=16 --- ghc-http-date.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-http-date.changes b/ghc-http-date.changes index d67e109..7144d91 100644 --- a/ghc-http-date.changes +++ b/ghc-http-date.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:07:12 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Wed Feb 24 18:10:52 UTC 2021 - psimons@suse.com From b8f12643fa1b93af25a02a2bf2bd46ca345d1c2152479254808ac5e4ca04818b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:51:41 +0000 Subject: [PATCH 3/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-http-date revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-date?expand=0&rev=17 --- ghc-http-date.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-http-date.spec b/ghc-http-date.spec index 666ebab..9e0ccf1 100644 --- a/ghc-http-date.spec +++ b/ghc-http-date.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-http-date # -# 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