From 277035c1940bce7dc6c4955722b27fb75d1ba3cb2e78ba612ecd2c220ecde883 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-client-tls revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-client-tls?expand=0&rev=67 --- ghc-http-client-tls.spec | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/ghc-http-client-tls.spec b/ghc-http-client-tls.spec index 4b9b1d0..94ddc3d 100644 --- a/ghc-http-client-tls.spec +++ b/ghc-http-client-tls.spec @@ -17,6 +17,7 @@ %global pkg_name http-client-tls +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} Version: 0.3.6.1 @@ -26,25 +27,43 @@ License: MIT 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-bytestring-devel +BuildRequires: ghc-bytestring-prof BuildRequires: ghc-case-insensitive-devel +BuildRequires: ghc-case-insensitive-prof BuildRequires: ghc-connection-devel +BuildRequires: ghc-connection-prof BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof BuildRequires: ghc-cryptonite-devel +BuildRequires: ghc-cryptonite-prof BuildRequires: ghc-data-default-class-devel +BuildRequires: ghc-data-default-class-prof BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-exceptions-prof BuildRequires: ghc-http-client-devel +BuildRequires: ghc-http-client-prof BuildRequires: ghc-http-types-devel +BuildRequires: ghc-http-types-prof BuildRequires: ghc-memory-devel +BuildRequires: ghc-memory-prof BuildRequires: ghc-network-devel +BuildRequires: ghc-network-prof BuildRequires: ghc-network-uri-devel +BuildRequires: ghc-network-uri-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof BuildRequires: ghc-tls-devel +BuildRequires: ghc-tls-prof BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-prof %endif %description @@ -62,6 +81,22 @@ Requires(postun): ghc-compiler = %{ghc_version} 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} @@ -86,4 +121,9 @@ 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 bc6ee6d9a5d6a7b7a50c0fbd038ae783226a761a8414e6742b9544bda5cc662c 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-client-tls revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-client-tls?expand=0&rev=68 --- ghc-http-client-tls.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-http-client-tls.changes b/ghc-http-client-tls.changes index 5985698..c161c57 100644 --- a/ghc-http-client-tls.changes +++ b/ghc-http-client-tls.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:07:10 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Fri Feb 11 03:01:27 UTC 2022 - Peter Simons From c0ef7d4b8f3c6d100caa9f007c190d8fe5122b906ad56a5fbd5e58c3037e4e9f 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-client-tls revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-client-tls?expand=0&rev=69 --- ghc-http-client-tls.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-http-client-tls.spec b/ghc-http-client-tls.spec index 94ddc3d..6d9ae38 100644 --- a/ghc-http-client-tls.spec +++ b/ghc-http-client-tls.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-http-client-tls # -# 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