From c187e7c158575d216d11b2be6ef351546ac3207b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:26:53 +0800 Subject: [PATCH] BR prof for lib and static for executable --- cabal-rpm.spec | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/cabal-rpm.spec b/cabal-rpm.spec index d689f09..8b93424 100644 --- a/cabal-rpm.spec +++ b/cabal-rpm.spec @@ -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}