BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:29:57 +08:00
parent 3d860f06f0
commit d179048923

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-client-tls
@ -20,28 +20,23 @@ 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-bytestring-devel
BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-connection-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-cryptonite-devel
BuildRequires: ghc-data-default-class-devel
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-http-client-devel
BuildRequires: ghc-http-types-devel
BuildRequires: ghc-memory-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-tls-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-case-insensitive-prof
BuildRequires: ghc-connection-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-cryptonite-prof
BuildRequires: ghc-data-default-class-prof
BuildRequires: ghc-exceptions-prof
BuildRequires: ghc-http-client-prof
BuildRequires: ghc-http-types-prof
BuildRequires: ghc-memory-prof
BuildRequires: ghc-network-prof
BuildRequires: ghc-network-uri-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-tls-prof
BuildRequires: ghc-transformers-prof
%if %{with tests}
BuildRequires: ghc-hspec-devel
%endif
@ -55,6 +50,7 @@ connections. Intended for use by higher-level libraries, such as http-conduit.
%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