BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:29:32 +08:00
parent 48feb11ba4
commit c92127f89c
1 changed files with 36 additions and 40 deletions

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 happstack-server
@ -19,46 +19,41 @@ 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-base64-bytestring-devel
BuildRequires: ghc-blaze-html-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-extensible-exceptions-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-hslogger-devel
BuildRequires: ghc-html-devel
BuildRequires: ghc-monad-control-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-semigroups-devel
BuildRequires: ghc-sendfile-devel
BuildRequires: ghc-syb-devel
BuildRequires: ghc-system-filepath-devel
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-threads-devel
BuildRequires: ghc-time-compat-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-compat-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unix-devel
BuildRequires: ghc-utf8-string-devel
BuildRequires: ghc-xhtml-devel
BuildRequires: ghc-zlib-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-base64-bytestring-prof
BuildRequires: ghc-blaze-html-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-exceptions-prof
BuildRequires: ghc-extensible-exceptions-prof
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-hslogger-prof
BuildRequires: ghc-html-prof
BuildRequires: ghc-monad-control-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-network-prof
BuildRequires: ghc-network-uri-prof
BuildRequires: ghc-old-locale-prof
BuildRequires: ghc-parsec-prof
BuildRequires: ghc-process-prof
BuildRequires: ghc-semigroups-prof
BuildRequires: ghc-sendfile-prof
BuildRequires: ghc-syb-prof
BuildRequires: ghc-system-filepath-prof
BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-threads-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-time-compat-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-transformers-base-prof
BuildRequires: ghc-transformers-compat-prof
BuildRequires: ghc-unix-prof
BuildRequires: ghc-utf8-string-prof
BuildRequires: ghc-xhtml-prof
BuildRequires: ghc-zlib-prof
%if %{with tests}
BuildRequires: ghc-HUnit-devel
%endif
@ -74,6 +69,7 @@ Crash Course <http://happstack.com/docs/crashcourse/index.html>.
%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