BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:29:58 +08:00
parent e2efa43d6b
commit 30138f7650
1 changed files with 15 additions and 19 deletions

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
%global pkg_name http-conduit
@ -20,25 +20,20 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
# 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
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-conduit-devel
BuildRequires: ghc-conduit-extra-devel
BuildRequires: ghc-http-client-devel
BuildRequires: ghc-http-client-tls-devel
BuildRequires: ghc-http-types-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-resourcet-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unliftio-core-devel
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-conduit-prof
BuildRequires: ghc-conduit-extra-prof
BuildRequires: ghc-http-client-prof
BuildRequires: ghc-http-client-tls-prof
BuildRequires: ghc-http-types-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-resourcet-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unliftio-core-prof
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-blaze-builder-devel
@ -74,6 +69,7 @@ The 'Network.HTTP.Conduit.Browser' module has been moved to
%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