BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:29:51 +08:00
parent 1d483b2189
commit 1070cee64d

View File

@ -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