BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:31:54 +08:00
parent e80e667897
commit cffd56b59f
1 changed files with 28 additions and 32 deletions

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-1.0.0 --subpackage
# generated by cabal-rpm-1.0.1 --subpackage
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name snap-core
@ -25,39 +25,34 @@ Patch1: snap-core-0.9.2.2-portable-flag.patch
# 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-extra
BuildRequires: ghc-HUnit-prof
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-case-insensitive-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-hashable-prof
BuildRequires: ghc-io-streams-prof
BuildRequires: ghc-lifted-base-prof
BuildRequires: ghc-monad-control-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-network-prof
BuildRequires: ghc-network-uri-prof
BuildRequires: ghc-random-prof
#BuildRequires: ghc-readable-prof
BuildRequires: ghc-regex-posix-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-time-locale-compat-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-transformers-base-prof
BuildRequires: ghc-unix-compat-prof
BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-vector-prof
BuildRequires: chrpath
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-io-streams-devel
BuildRequires: ghc-lifted-base-devel
BuildRequires: ghc-monad-control-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-random-devel
#BuildRequires: ghc-readable-devel
BuildRequires: ghc-regex-posix-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-time-locale-compat-devel
BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unix-compat-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-vector-devel
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-deepseq-devel
@ -78,6 +73,7 @@ the Snap framework.
%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