From c3d92bf2749f1543c33a8dcba753ed2ecdeeea13 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:31:29 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-resourcet.spec | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/ghc-resourcet.spec b/ghc-resourcet.spec index ec5da2c..5ff598e 100644 --- a/ghc-resourcet.spec +++ b/ghc-resourcet.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 resourcet @@ -19,19 +19,14 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # 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-containers-devel -BuildRequires: ghc-exceptions-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-primitive-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-unliftio-core-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-exceptions-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-primitive-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-unliftio-core-prof %if %{with tests} BuildRequires: ghc-hspec-devel %endif @@ -46,6 +41,7 @@ This allows both more efficient code, and for monads to be transformed. %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