From d179048923d1c2afc64ffcb79811820e29615cf9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:29:57 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-http-client-tls.spec | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/ghc-http-client-tls.spec b/ghc-http-client-tls.spec index 6199284..c57416d 100644 --- a/ghc-http-client-tls.spec +++ b/ghc-http-client-tls.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-tls @@ -20,28 +20,23 @@ 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-bytestring-devel -BuildRequires: ghc-case-insensitive-devel -BuildRequires: ghc-connection-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-cryptonite-devel -BuildRequires: ghc-data-default-class-devel -BuildRequires: ghc-exceptions-devel -BuildRequires: ghc-http-client-devel -BuildRequires: ghc-http-types-devel -BuildRequires: ghc-memory-devel -BuildRequires: ghc-network-devel -BuildRequires: ghc-network-uri-devel -BuildRequires: ghc-text-devel -BuildRequires: ghc-tls-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-case-insensitive-prof +BuildRequires: ghc-connection-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-cryptonite-prof +BuildRequires: ghc-data-default-class-prof +BuildRequires: ghc-exceptions-prof +BuildRequires: ghc-http-client-prof +BuildRequires: ghc-http-types-prof +BuildRequires: ghc-memory-prof +BuildRequires: ghc-network-prof +BuildRequires: ghc-network-uri-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-tls-prof +BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-hspec-devel %endif @@ -55,6 +50,7 @@ connections. Intended for use by higher-level libraries, such as http-conduit. %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