From bdeb119daed80f4766751fbd80e30adcedd3ff98 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:29:56 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-http-client.spec | 50 ++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/ghc-http-client.spec b/ghc-http-client.spec index e106fd2..2353c59 100644 --- a/ghc-http-client.spec +++ b/ghc-http-client.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.0 +# generated by cabal-rpm-1.0.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name http-client @@ -21,33 +21,28 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-array-devel -BuildRequires: ghc-blaze-builder-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-case-insensitive-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-cookie-devel -BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-exceptions-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-http-types-devel -BuildRequires: ghc-memory-devel -BuildRequires: ghc-mime-types-devel -BuildRequires: ghc-network-devel -BuildRequires: ghc-network-uri-devel -BuildRequires: ghc-random-devel -BuildRequires: ghc-stm-devel -BuildRequires: ghc-streaming-commons-devel -BuildRequires: ghc-text-devel -BuildRequires: ghc-time-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-blaze-builder-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-case-insensitive-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-cookie-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-exceptions-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-http-types-prof +BuildRequires: ghc-memory-prof +BuildRequires: ghc-mime-types-prof +BuildRequires: ghc-network-prof +BuildRequires: ghc-network-uri-prof +BuildRequires: ghc-random-prof +BuildRequires: ghc-stm-prof +BuildRequires: ghc-streaming-commons-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-time-prof +BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-async-devel BuildRequires: ghc-directory-devel @@ -66,6 +61,7 @@ secure connections, you should use http-client-tls in addition to this library. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif