From 287bad53198bb5088a9b97ad7148ea1c79ba7f60 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Aug 05 2019 10:28:11 +0000 Subject: BR prof for lib and static for executable --- diff --git a/ghc-comonad.spec b/ghc-comonad.spec index d0c1758..8f52c75 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.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 comonad @@ -20,18 +20,13 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-cabal-doctest-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-distributive-devel -BuildRequires: ghc-tagged-devel -BuildRequires: ghc-transformers-compat-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-distributive-prof +BuildRequires: ghc-tagged-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-transformers-compat-prof %if %{with tests} BuildRequires: ghc-doctest-devel %endif @@ -44,6 +39,7 @@ This package provides comonads, the categorical dual of monads. %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