From 112b840471707bd7b23121228e6bd653e54f1a53 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:31:46 +0800 Subject: [PATCH] BR prof for lib and static for executable --- ghc-shelly.spec | 48 ++++++++++++++++++++++-------------------------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/ghc-shelly.spec b/ghc-shelly.spec index 86d63d1..279e9e8 100644 --- a/ghc-shelly.spec +++ b/ghc-shelly.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 shelly @@ -26,33 +26,28 @@ Source2: https://hackage.haskell.org/package/%{constraints}/%{constraints # 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-async-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-enclosed-exceptions-prof +BuildRequires: ghc-exceptions-prof +#BuildRequires: ghc-lifted-async-prof +BuildRequires: ghc-lifted-base-prof +BuildRequires: ghc-monad-control-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-process-prof +BuildRequires: ghc-system-fileio-prof +BuildRequires: ghc-system-filepath-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-time-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-transformers-base-prof +BuildRequires: ghc-unix-prof +BuildRequires: ghc-unix-compat-prof BuildRequires: chrpath -BuildRequires: ghc-async-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-enclosed-exceptions-devel -BuildRequires: ghc-exceptions-devel -#BuildRequires: ghc-lifted-async-devel -BuildRequires: ghc-lifted-base-devel -BuildRequires: ghc-monad-control-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-process-devel -BuildRequires: ghc-system-fileio-devel -BuildRequires: ghc-system-filepath-devel -BuildRequires: ghc-text-devel -BuildRequires: ghc-time-devel -BuildRequires: ghc-transformers-base-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-unix-compat-devel -BuildRequires: ghc-unix-devel %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-filepath-devel @@ -85,6 +80,7 @@ An overview is available in the README: %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