From 163c1b65bde62f6b51fd8d619a357fea74d7acd0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:27:00 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-HSH.spec | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/ghc-HSH.spec b/ghc-HSH.spec index eb0fcb1..712355b 100644 --- a/ghc-HSH.spec +++ b/ghc-HSH.spec @@ -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 HSH @@ -17,24 +17,19 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # 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-MissingH-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-hslogger-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-process-devel -BuildRequires: ghc-regex-base-devel -BuildRequires: ghc-regex-compat-devel -BuildRequires: ghc-regex-posix-devel -BuildRequires: ghc-unix-devel +BuildRequires: ghc-MissingH-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-hslogger-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-process-prof +BuildRequires: ghc-regex-base-prof +BuildRequires: ghc-regex-compat-prof +BuildRequires: ghc-regex-posix-prof +BuildRequires: ghc-unix-prof # End cabal-rpm deps %description @@ -47,6 +42,7 @@ and arbitrary Haskell functions at will. %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