BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:26:53 +08:00
parent 1335074b1d
commit c187e7c158

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-0.13.2
# generated by cabal-rpm-1.0.1
# https://fedoraproject.org/wiki/Packaging:Haskell
%if 0%{?fedora} >= 27
@ -20,24 +20,25 @@ Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%
Source1: cblrpm.1
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-Cabal-static
BuildRequires: ghc-base-static
%if %{with https}
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-static
%endif
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-directory-static
BuildRequires: ghc-filepath-static
%if %{with https}
BuildRequires: ghc-http-client-devel
BuildRequires: ghc-http-client-tls-devel
BuildRequires: ghc-http-conduit-devel
BuildRequires: ghc-http-client-static
BuildRequires: ghc-http-client-tls-static
BuildRequires: ghc-http-conduit-static
%else
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-old-locale-static
%endif
BuildRequires: ghc-process-devel
BuildRequires: ghc-simple-cmd-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-unix-devel
BuildRequires: ghc-process-static
BuildRequires: ghc-simple-cmd-static
BuildRequires: ghc-time-static
BuildRequires: ghc-unix-static
# End cabal-rpm deps
Obsoletes: cabal2spec < 0.26
Provides: cblrpm = %{version}-%{release}