BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:33:19 +08:00
parent acc72f4935
commit 5313d00d24

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 ghcid %global pkg_name ghcid
@ -19,24 +19,19 @@ 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-ansi-terminal-devel BuildRequires: ghc-ansi-terminal-prof
BuildRequires: ghc-cmdargs-devel BuildRequires: ghc-base-prof
BuildRequires: ghc-containers-devel BuildRequires: ghc-cmdargs-prof
BuildRequires: ghc-directory-devel BuildRequires: ghc-containers-prof
BuildRequires: ghc-extra-devel BuildRequires: ghc-directory-prof
BuildRequires: ghc-filepath-devel BuildRequires: ghc-extra-prof
BuildRequires: ghc-fsnotify-devel BuildRequires: ghc-filepath-prof
BuildRequires: ghc-process-devel BuildRequires: ghc-fsnotify-prof
BuildRequires: ghc-terminal-size-devel BuildRequires: ghc-process-prof
BuildRequires: ghc-time-devel BuildRequires: ghc-terminal-size-prof
BuildRequires: ghc-unix-devel BuildRequires: ghc-time-prof
BuildRequires: ghc-unix-prof
%if %{with tests} %if %{with tests}
BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel BuildRequires: ghc-tasty-hunit-devel
@ -63,6 +58,7 @@ This package provides the Haskell %{name} shared library.
%package -n ghc-%{name}-devel %package -n ghc-%{name}-devel
Summary: Haskell %{name} library development files Summary: Haskell %{name} library development files
Provides: ghc-%{name}-static = %{version}-%{release} Provides: ghc-%{name}-static = %{version}-%{release}
Provides: ghc-%{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