From 5313d00d24fce3897e023cf5dede82c1760f3c3c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:33:19 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghcid.spec | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/ghcid.spec b/ghcid.spec index 543a853..00cc40a 100644 --- a/ghcid.spec +++ b/ghcid.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 ghcid @@ -19,24 +19,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-ansi-terminal-devel -BuildRequires: ghc-cmdargs-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-extra-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-fsnotify-devel -BuildRequires: ghc-process-devel -BuildRequires: ghc-terminal-size-devel -BuildRequires: ghc-time-devel -BuildRequires: ghc-unix-devel +BuildRequires: ghc-ansi-terminal-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-cmdargs-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-extra-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-fsnotify-prof +BuildRequires: ghc-process-prof +BuildRequires: ghc-terminal-size-prof +BuildRequires: ghc-time-prof +BuildRequires: ghc-unix-prof %if %{with tests} BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-hunit-devel @@ -63,6 +58,7 @@ This package provides the Haskell %{name} shared library. %package -n ghc-%{name}-devel Summary: Haskell %{name} library development files Provides: ghc-%{name}-static = %{version}-%{release} +Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif