BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:33:22 +08:00
parent eaa4d6ca90
commit 924b48f764
1 changed files with 43 additions and 48 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 hledger
@ -28,61 +28,55 @@ Source3: https://hackage.haskell.org/package/%{lucid}/%{lucid}.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-extra
BuildRequires: chrpath
BuildRequires: ghc-Decimal-devel
BuildRequires: ghc-Diff-devel
BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-base-compat-batteries-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-cmdargs-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-data-default-devel
BuildRequires: ghc-directory-devel
#BuildRequires: ghc-easytest-devel
BuildRequires: ghc-file-embed-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-haskeline-devel
#BuildRequires: ghc-here-devel
BuildRequires: ghc-hledger-lib-devel
#BuildRequires: ghc-lucid-devel
BuildRequires: ghc-math-functions-devel
BuildRequires: ghc-megaparsec-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-old-time-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-pretty-show-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-regex-tdfa-devel
BuildRequires: ghc-safe-devel
BuildRequires: ghc-shakespeare-devel
BuildRequires: ghc-split-devel
BuildRequires: ghc-tabular-devel
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-terminfo-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-utf8-string-devel
#BuildRequires: ghc-utility-ht-devel
BuildRequires: ghc-wizards-devel
BuildRequires: ghc-Decimal-prof
BuildRequires: ghc-Diff-prof
BuildRequires: ghc-ansi-terminal-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-base-compat-batteries-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-cmdargs-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-data-default-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-easytest-prof
BuildRequires: ghc-file-embed-prof
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-hashable-prof
BuildRequires: ghc-haskeline-prof
#BuildRequires: ghc-here-prof
BuildRequires: ghc-hledger-lib-prof
#BuildRequires: ghc-lucid-prof
BuildRequires: ghc-math-functions-prof
BuildRequires: ghc-megaparsec-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-old-time-prof
BuildRequires: ghc-parsec-prof
BuildRequires: ghc-pretty-show-prof
BuildRequires: ghc-process-prof
BuildRequires: ghc-regex-tdfa-prof
BuildRequires: ghc-safe-prof
BuildRequires: ghc-shakespeare-prof
BuildRequires: ghc-split-prof
BuildRequires: ghc-tabular-prof
BuildRequires: ghc-temporary-prof
BuildRequires: ghc-terminfo-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-utf8-string-prof
#BuildRequires: ghc-utility-ht-prof
BuildRequires: ghc-wizards-prof
%if %{with tests}
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
%endif
# End cabal-rpm deps
# here
BuildRequires: ghc-haskell-src-meta-devel
BuildRequires: ghc-haskell-src-meta-prof
# lucid:
BuildRequires: ghc-mmorph-devel
BuildRequires: ghc-mmorph-prof
%description
This is hledger's command-line interface. Its basic function is to read a plain
@ -105,6 +99,7 @@ This package provides the Haskell %{name} shared library.
%package -n ghc-%{name}-devel
Summary: Haskell %{name} library development files
Provides: ghc-%{name}-static = %{version}-%{release}
Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version}
%endif