From 511429ea70dd0febf1034a031a6648820b9c7f32 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:27:55 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-cabal-file-th.spec | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/ghc-cabal-file-th.spec b/ghc-cabal-file-th.spec index c859294..bccd672 100644 --- a/ghc-cabal-file-th.spec +++ b/ghc-cabal-file-th.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 cabal-file-th @@ -16,17 +16,12 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # End cabal-rpm sources # Begin cabal-rpm deps: -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-pretty-devel -BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-Cabal-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-pretty-prof +BuildRequires: ghc-template-haskell-prof # End cabal-rpm deps %description @@ -36,6 +31,7 @@ Template Haskell expressions for reading fields from a project's cabal file. %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