From 71ffe6264c987da02cc0a301d0d2d818e6d84c2e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:32:50 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-vty.spec | 50 +++++++++++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/ghc-vty.spec b/ghc-vty.spec index 0cc9754..2a080aa 100644 --- a/ghc-vty.spec +++ b/ghc-vty.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 vty @@ -19,33 +19,28 @@ 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-blaze-builder-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-hashable-devel -BuildRequires: ghc-microlens-devel -BuildRequires: ghc-microlens-mtl-devel -BuildRequires: ghc-microlens-th-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-parallel-devel -BuildRequires: ghc-parsec-devel -BuildRequires: ghc-stm-devel -BuildRequires: ghc-terminfo-devel -BuildRequires: ghc-text-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-unix-devel -BuildRequires: ghc-utf8-string-devel -BuildRequires: ghc-vector-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-blaze-builder-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-hashable-prof +BuildRequires: ghc-microlens-prof +BuildRequires: ghc-microlens-mtl-prof +BuildRequires: ghc-microlens-th-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-parallel-prof +BuildRequires: ghc-parsec-prof +BuildRequires: ghc-stm-prof +BuildRequires: ghc-terminfo-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-unix-prof +BuildRequires: ghc-utf8-string-prof +BuildRequires: ghc-vector-prof %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -75,6 +70,7 @@ the library. %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