From f0e363569bb4287d875e9b838b1b71b53aff0e9da67bca796d26c2c9b462ee01 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:28 +0000 Subject: [PATCH 1/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-network-uri revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network-uri?expand=0&rev=56 --- ghc-network-uri.spec | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/ghc-network-uri.spec b/ghc-network-uri.spec index 9342dd1..dd2efdd 100644 --- a/ghc-network-uri.spec +++ b/ghc-network-uri.spec @@ -17,6 +17,7 @@ %global pkg_name network-uri +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} Version: 2.6.4.2 @@ -26,18 +27,29 @@ 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-deepseq-devel +BuildRequires: ghc-deepseq-prof BuildRequires: ghc-parsec-devel +BuildRequires: ghc-parsec-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-th-compat-devel +BuildRequires: ghc-th-compat-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-HUnit-prof BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-hunit-prof +BuildRequires: ghc-tasty-prof BuildRequires: ghc-tasty-quickcheck-devel +BuildRequires: ghc-tasty-quickcheck-prof %endif %description @@ -77,6 +89,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} @@ -101,4 +129,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 3b662fa8336be3cc63943e12b8160eee295ac187a50f16942e5cdf6e065237d0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:46 +0000 Subject: [PATCH 2/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-network-uri revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network-uri?expand=0&rev=57 --- ghc-network-uri.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-network-uri.changes b/ghc-network-uri.changes index e334c6d..d47e460 100644 --- a/ghc-network-uri.changes +++ b/ghc-network-uri.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:07:42 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Tue Dec 27 01:43:08 UTC 2022 - Peter Simons From 854be41dbc771b4f26472c5ee878712acab5b551bc70f644abf38482f3ca1e7b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:51:44 +0000 Subject: [PATCH 3/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-network-uri revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network-uri?expand=0&rev=58 --- ghc-network-uri.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-network-uri.spec b/ghc-network-uri.spec index dd2efdd..3dca9c9 100644 --- a/ghc-network-uri.spec +++ b/ghc-network-uri.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-network-uri # -# 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