From 169ce0b4b8e9d6d879ff055d53e40d684df655c0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:32:10 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-tasty.spec | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/ghc-tasty.spec b/ghc-tasty.spec index 6f858fa..cf8c2f3 100644 --- a/ghc-tasty.spec +++ b/ghc-tasty.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.0 --subpackage +# generated by cabal-rpm-1.0.1 --subpackage # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name tasty @@ -22,25 +22,20 @@ Source1: https://hackage.haskell.org/package/%{wcwidth}/%{wcwidth}.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-extra +BuildRequires: ghc-ansi-terminal-prof +BuildRequires: ghc-async-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-clock-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-optparse-applicative-prof +BuildRequires: ghc-stm-prof +BuildRequires: ghc-tagged-prof +BuildRequires: ghc-unbounded-delays-prof +BuildRequires: ghc-unix-prof +#BuildRequires: ghc-wcwidth-prof BuildRequires: chrpath -BuildRequires: ghc-ansi-terminal-devel -BuildRequires: ghc-async-devel -BuildRequires: ghc-clock-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-optparse-applicative-devel -BuildRequires: ghc-stm-devel -BuildRequires: ghc-tagged-devel -BuildRequires: ghc-unbounded-delays-devel -BuildRequires: ghc-unix-devel -#BuildRequires: ghc-wcwidth-devel # End cabal-rpm deps %description @@ -52,6 +47,7 @@ tests into a single test suite. %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