From 7acc0cd2b4c3738cff694cc98ec0bda4aa652133 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Aug 05 2019 10:28:55 +0000 Subject: BR prof for lib and static for executable --- diff --git a/ghc-entropy.spec b/ghc-entropy.spec index 61e4dfe..0746589 100644 --- a/ghc-entropy.spec +++ b/ghc-entropy.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 entropy @@ -20,15 +20,10 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-process-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-unix-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-unix-prof # End cabal-rpm deps %description @@ -41,6 +36,7 @@ for cryptographically strong (number-theoretically sound) PRNGs should see the %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