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