BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:32:10 +08:00
parent 43dae28a76
commit 169ce0b4b8
1 changed files with 14 additions and 18 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 tasty
@ -22,25 +22,20 @@ Source1: https://hackage.haskell.org/package/%{wcwidth}/%{wcwidth}.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: ghc-ansi-terminal-prof
BuildRequires: ghc-async-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-clock-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-optparse-applicative-prof
BuildRequires: ghc-stm-prof
BuildRequires: ghc-tagged-prof
BuildRequires: ghc-unbounded-delays-prof
BuildRequires: ghc-unix-prof
#BuildRequires: ghc-wcwidth-prof
BuildRequires: chrpath
BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-async-devel
BuildRequires: ghc-clock-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-optparse-applicative-devel
BuildRequires: ghc-stm-devel
BuildRequires: ghc-tagged-devel
BuildRequires: ghc-unbounded-delays-devel
BuildRequires: ghc-unix-devel
#BuildRequires: ghc-wcwidth-devel
# End cabal-rpm deps
%description
@ -52,6 +47,7 @@ tests into a single test suite.
%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