From 1070cee64d0361165474ff6bfc395f01998262fb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Aug 05 2019 10:29:51 +0000 Subject: BR prof for lib and static for executable --- diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index bbec168..80934de 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.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 hspec-core @@ -19,29 +19,24 @@ 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-HUnit-devel -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-ansi-terminal-devel -BuildRequires: ghc-array-devel -BuildRequires: ghc-call-stack-devel -BuildRequires: ghc-clock-devel -BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-hspec-expectations-devel -BuildRequires: ghc-quickcheck-io-devel -BuildRequires: ghc-random-devel -BuildRequires: ghc-setenv-devel -BuildRequires: ghc-stm-devel -BuildRequires: ghc-tf-random-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-HUnit-prof +BuildRequires: ghc-QuickCheck-prof +BuildRequires: ghc-ansi-terminal-prof +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-call-stack-prof +BuildRequires: ghc-clock-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-hspec-expectations-prof +BuildRequires: ghc-quickcheck-io-prof +BuildRequires: ghc-random-prof +BuildRequires: ghc-setenv-prof +BuildRequires: ghc-stm-prof +BuildRequires: ghc-tf-random-prof +BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-hspec-meta-devel BuildRequires: ghc-process-devel @@ -58,6 +53,7 @@ Hspec's functionality. %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