BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:29:56 +08:00
parent e1236c9d16
commit bdeb119dae

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 http-client %global pkg_name http-client
@ -21,33 +21,28 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
# 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-array-devel BuildRequires: ghc-array-prof
BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-blaze-builder-prof
BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-devel BuildRequires: ghc-case-insensitive-prof
BuildRequires: ghc-cookie-devel BuildRequires: ghc-containers-prof
BuildRequires: ghc-deepseq-devel BuildRequires: ghc-cookie-prof
BuildRequires: ghc-exceptions-devel BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-filepath-devel BuildRequires: ghc-exceptions-prof
BuildRequires: ghc-http-types-devel BuildRequires: ghc-filepath-prof
BuildRequires: ghc-memory-devel BuildRequires: ghc-http-types-prof
BuildRequires: ghc-mime-types-devel BuildRequires: ghc-memory-prof
BuildRequires: ghc-network-devel BuildRequires: ghc-mime-types-prof
BuildRequires: ghc-network-uri-devel BuildRequires: ghc-network-prof
BuildRequires: ghc-random-devel BuildRequires: ghc-network-uri-prof
BuildRequires: ghc-stm-devel BuildRequires: ghc-random-prof
BuildRequires: ghc-streaming-commons-devel BuildRequires: ghc-stm-prof
BuildRequires: ghc-text-devel BuildRequires: ghc-streaming-commons-prof
BuildRequires: ghc-time-devel BuildRequires: ghc-text-prof
BuildRequires: ghc-transformers-devel BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-prof
%if %{with tests} %if %{with tests}
BuildRequires: ghc-async-devel BuildRequires: ghc-async-devel
BuildRequires: ghc-directory-devel BuildRequires: ghc-directory-devel
@ -66,6 +61,7 @@ secure connections, you should use http-client-tls in addition to this 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