BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:31:46 +08:00
parent 5718b11f54
commit 112b840471
1 changed files with 22 additions and 26 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 shelly
@ -26,33 +26,28 @@ Source2: https://hackage.haskell.org/package/%{constraints}/%{constraints
# 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-async-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-enclosed-exceptions-prof
BuildRequires: ghc-exceptions-prof
#BuildRequires: ghc-lifted-async-prof
BuildRequires: ghc-lifted-base-prof
BuildRequires: ghc-monad-control-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-process-prof
BuildRequires: ghc-system-fileio-prof
BuildRequires: ghc-system-filepath-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-transformers-base-prof
BuildRequires: ghc-unix-prof
BuildRequires: ghc-unix-compat-prof
BuildRequires: chrpath
BuildRequires: ghc-async-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-enclosed-exceptions-devel
BuildRequires: ghc-exceptions-devel
#BuildRequires: ghc-lifted-async-devel
BuildRequires: ghc-lifted-base-devel
BuildRequires: ghc-monad-control-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-system-fileio-devel
BuildRequires: ghc-system-filepath-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unix-compat-devel
BuildRequires: ghc-unix-devel
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-filepath-devel
@ -85,6 +80,7 @@ An overview is available in the README:
%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