BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:32:50 +08:00
parent 5193863906
commit 71ffe6264c

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 # https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name vty %global pkg_name vty
@ -19,33 +19,28 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel 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-rpm-macros
BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-blaze-builder-prof
BuildRequires: ghc-containers-devel BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-deepseq-devel BuildRequires: ghc-containers-prof
BuildRequires: ghc-directory-devel BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-filepath-devel BuildRequires: ghc-directory-prof
BuildRequires: ghc-hashable-devel BuildRequires: ghc-filepath-prof
BuildRequires: ghc-microlens-devel BuildRequires: ghc-hashable-prof
BuildRequires: ghc-microlens-mtl-devel BuildRequires: ghc-microlens-prof
BuildRequires: ghc-microlens-th-devel BuildRequires: ghc-microlens-mtl-prof
BuildRequires: ghc-mtl-devel BuildRequires: ghc-microlens-th-prof
BuildRequires: ghc-parallel-devel BuildRequires: ghc-mtl-prof
BuildRequires: ghc-parsec-devel BuildRequires: ghc-parallel-prof
BuildRequires: ghc-stm-devel BuildRequires: ghc-parsec-prof
BuildRequires: ghc-terminfo-devel BuildRequires: ghc-stm-prof
BuildRequires: ghc-text-devel BuildRequires: ghc-terminfo-prof
BuildRequires: ghc-transformers-devel BuildRequires: ghc-text-prof
BuildRequires: ghc-unix-devel BuildRequires: ghc-transformers-prof
BuildRequires: ghc-utf8-string-devel BuildRequires: ghc-unix-prof
BuildRequires: ghc-vector-devel BuildRequires: ghc-utf8-string-prof
BuildRequires: ghc-vector-prof
%if %{with tests} %if %{with tests}
BuildRequires: ghc-HUnit-devel BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-QuickCheck-devel
@ -75,6 +70,7 @@ the library.
%package devel %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release} Provides: %{name}-static = %{version}-%{release}
Provides: %{name}-static%{?_isa} = %{version}-%{release}
%if %{defined ghc_version} %if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version} Requires: ghc-compiler = %{ghc_version}
%endif %endif